mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 18:08:53 +00:00
a105924804
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.
12 lines
411 B
Plaintext
12 lines
411 B
Plaintext
table_name("process_open_files")
|
|
description("File descriptors for each process.")
|
|
schema([
|
|
Column("pid", BIGINT, "Process (or thread) ID", index=True),
|
|
Column("fd", BIGINT, "Process-specific file descriptor number"),
|
|
Column("path", TEXT, "Filesystem path of descriptor"),
|
|
])
|
|
implementation("system/process_open_files@genOpenFiles")
|
|
examples([
|
|
"select * from process_open_files where pid = 1",
|
|
])
|