osquery-1/specs/yara.table
2016-02-21 22:40:37 -08:00

18 lines
678 B
Plaintext

table_name("yara")
description("Track YARA matches for files or PIDs.")
schema([
Column("path", TEXT, "The path scanned"),
Column("matches", TEXT, "List of YARA matches"),
Column("count", INTEGER, "Number of YARA matches"),
Column("sig_group", TEXT, "Signature group used"),
Column("sigfile", TEXT, "Signature file used"),
Column("strings", TEXT, "Matching strings"),
Column("tags", TEXT, "Matching tags"),
])
implementation("yara@genYara")
examples([
"select * from yara where path = '/etc/passwd'",
"select * from yara where path LIKE '/etc/%'",
"select * from yara where path = '/etc/passwd' and sigfile = '/etc/osquery/yara/test.yara'",
])