osquery-1/specs/atom_packages.table
Filip Hrenić 6d159d4046 Osquery support for atom packages
Summary:
Add support for listing atom packages on Linux and Mac. Shouldn't be a problem adding support for Windows, but have no way to test it right now.
Lists package name, version, description, package path, license and homepage (see test).

Reviewed By: fiorix

Differential Revision: D13636097

fbshipit-source-id: f38a57128cedde2d027a0205588c8b563e2b188c
2019-01-16 03:12:54 -08:00

15 lines
577 B
Plaintext

table_name("atom_packages")
description("Lists all atom packages in a directory or globally installed in a system.")
schema([
Column("name", TEXT, "Package display name"),
Column("version", TEXT, "Package supplied version"),
Column("description", TEXT, "Package supplied description"),
Column("path", TEXT, "Package's package.json path"),
Column("license", TEXT, "License for package"),
Column("homepage", TEXT, "Package supplied homepage"),
])
implementation("applications/atom_packages@genAtomPackages")
examples([
"select * from atom_packages",
])