I was curious about some of the available tables I can see when I run osqueryi.exe.
I have these tables.
osquery> .tables
=> appcompat_shims
=> arp_cache
=> authenticode
=> autoexec
=> bitlocker_info
=> carbon_black_info
=> carves
=> certificates
=> chocolatey_packages
...
Then I was wondering about some of them for example I looked up the source for the processes table here.
There is a bunch of descriptions in there that the schema command doesn't show... the question is ... is there a way to review the meta data that seems to be in the source code?
osquery> .schema processes
CREATE TABLE processes(`pid` BIGINT,
`name` TEXT,
`path` TEXT,
`cmdline` TEXT,
`state` TEXT,
`cwd` TEXT,
`root` TEXT,
`uid` BIGINT,
`gid` BIGINT,
`euid` BIGINT,
`egid` BIGINT,
`suid` BIGINT,
`sgid` BIGINT,
`on_disk` INTEGER,
`wired_size` BIGINT,
`resident_size` BIGINT,
`total_size` BIGINT,
`user_time` BIGINT,
`system_time` BIGINT,
`disk_bytes_read` BIGINT,
`disk_bytes_written` BIGINT,
`start_time` BIGINT,
`parent` BIGINT,
`pgroup` BIGINT,
`threads` INTEGER,
`nice` INTEGER,
`is_elevated_token` INTEGER,
`elapsed_time` BIGINT,
`handle_count` BIGINT,
`percent_processor_time` BIGINT,
`upid` BIGINT HIDDEN,
`uppid` BIGINT HIDDEN,
`cpu_type` INTEGER HIDDEN,
`cpu_subtype` INTEGER HIDDEN,
`phys_footprint` BIGINT HIDDEN,
PRIMARY KEY (`pid`)) WITHOUT ROWID;