osquery-1/specs/process_envs.table
Teddy Reed a105924804 Move specs to a top-level path, add query examples
1. Example queries will run with an (optional) integration test.
2. Fix bad accesses with OS X package BOMs
3. Move spec files from ./osquery/tables/specs to ./specs
4. Remove server parsers (netlib) from client builds.
2015-06-03 10:39:05 -07:00

15 lines
513 B
Plaintext

table_name("process_envs")
description("A key/value table of environment variables for each process.")
schema([
Column("pid", INTEGER, "Process (or thread) ID", index=True),
Column("key", TEXT, "Environment variable name"),
Column("value", TEXT, "Environment variable value"),
])
implementation("system/processes@genProcessEnvs")
examples([
"select * from process_envs where pid = 1",
'''select pe.*
from process_envs pe, (select * from processes limit 10) p
where p.pid = pe.pid;'''
])