osquery-1/specs/linux/rpm_packages.table
micheal-o 6fe7b4cbc2 Epoch in rpm_packages table (#5248)
Summary:
code for issue: #5202
Pull Request resolved: https://github.com/facebook/osquery/pull/5248

Differential Revision: D13677333

Pulled By: fmanco

fbshipit-source-id: e245c3733bb73a1d4d6ab61e007c1cf274c29e59
2019-01-15 16:53:35 -08:00

15 lines
609 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"),
Column("epoch", INTEGER, "Package epoch value"),
])
attributes(cacheable=True)
implementation("@genRpmPackages")