osquery-1/specs/magic.table

10 lines
399 B
Plaintext
Raw Normal View History

table_name("magic")
description("Magic number recognition library table.")
schema([
Column("path", TEXT, "Absolute path to target file", required=True),
Column("data", TEXT, "Magic number data from libmagic"),
Column("mime_type", TEXT, "MIME type data from libmagic"),
Column("mime_encoding", TEXT, "MIME encoding data from libmagic"),
])
implementation("system/magic@genMagicData")