osquery-1/specs/darwin/package_receipts.table
Teddy Reed a105924804 Move specs to a top-level path, add query examples
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.
2015-06-03 10:39:05 -07:00

17 lines
723 B
Plaintext

table_name("package_receipts")
description("OS X package receipt details.")
schema([
Column("package_id", TEXT, "Package domain identifier"),
Column("package_filename", TEXT, "Filename of original .pkg file"),
Column("version", TEXT, "Installed package version"),
Column("location", TEXT, "Optional relative install path on volume"),
Column("install_time", INTEGER, "Timestamp of install time"),
Column("installer_name", TEXT, "Name of installer process"),
Column("path", TEXT, "Path of receipt plist",
index=True, additional=True),
])
implementation("packages@genPackageReceipts")
examples([
"select * from package_bom where path = '/var/db/receipts/com.apple.pkg.MobileDevice.bom'"
])