mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 01:55:20 +00:00
6d159d4046
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
15 lines
577 B
Plaintext
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",
|
|
])
|