osquery-1/specs/centos/rpm_packages.table
Teddy Reed b28c4d8d0f Introduce table options (#2101)
Table options includes a change to the Registry::call API for TablePlugins.
When requesting route information or the 'columns' action, a new 'op' key is included.
2016-05-18 12:23:52 -07:00

14 lines
556 B
Plaintext

table_name("rpm_packages")
description("RPM packages that are currently installed on the host system.")
schema([
Column("name", TEXT, "RPM package name"),
Column("version", TEXT, "Package version"),
Column("release", TEXT, "Package release"),
Column("source", TEXT, "Source RPM package name (optional)"),
Column("size", BIGINT, "Package size in bytes"),
Column("sha1", TEXT, "SHA1 hash of the package contents"),
Column("arch", TEXT, "Architecture(s) supported"),
])
attributes(cacheable=True)
implementation("@genRpmPackages")