osquery-1/specs/posix/system_controls.table
2019-10-28 20:27:06 -04:00

22 lines
719 B
Plaintext

table_name("system_controls")
description("sysctl names, values, and settings information.")
schema([
Column("name", TEXT, "Full sysctl MIB name", index=True),
Column("oid", TEXT, "Control MIB", additional=True),
Column("subsystem", TEXT, "Subsystem ID, control type", additional=True),
Column("current_value", TEXT, "Value of setting"),
Column("config_value", TEXT, "The MIB value set in /etc/sysctl.conf"),
Column("type", TEXT, "Data type"),
])
extended_schema(DARWIN, [
Column("field_name", TEXT, "Specific attribute of opaque type"),
])
implementation("system_controls@genSystemControls")
fuzz_paths([
"/run/sysctl.d/",
"/usr/lib/sysctl.d/",
"/lib/sysctl.d/",
"/sys"
])