2015-06-22 18:09:15 +00:00
|
|
|
table_name("disk_events")
|
|
|
|
description("Track DMG disk image events (appearance/disappearance) when opened.")
|
|
|
|
schema([
|
|
|
|
Column("action", TEXT, "Appear or disappear"),
|
|
|
|
Column("path", TEXT, "Path of the DMG file accessed"),
|
2015-07-16 06:23:42 +00:00
|
|
|
Column("name", TEXT, "Disk event name"),
|
|
|
|
Column("bsd_name", TEXT, "Disk event BSD name"),
|
2015-06-22 18:09:15 +00:00
|
|
|
Column("uuid", TEXT, "UUID of the volume inside DMG if available"),
|
|
|
|
Column("size", INTEGER, "Size of partition in bytes"),
|
|
|
|
Column("ejectable", INTEGER, "1 if ejectable, 0 if not"),
|
|
|
|
Column("mountable", INTEGER, "1 if mountable, 0 if not"),
|
|
|
|
Column("writable", INTEGER, "1 if writable, 0 if not"),
|
2015-07-16 06:23:42 +00:00
|
|
|
Column("content", TEXT, "Disk event content"),
|
|
|
|
Column("media_name", TEXT, "Disk event media name string"),
|
|
|
|
Column("vendor", TEXT, "Disk event vendor string"),
|
2015-06-22 18:09:15 +00:00
|
|
|
Column("filesystem", TEXT, "Filesystem if available"),
|
|
|
|
Column("checksum", TEXT, "UDIF Master checksum if available (CRC32)"),
|
2015-07-06 07:04:37 +00:00
|
|
|
Column("time", BIGINT, "Time of appearance/disappearance in UNIX time"),
|
2015-06-22 18:09:15 +00:00
|
|
|
])
|
|
|
|
attributes(event_subscriber=True)
|
|
|
|
implementation("events/darwin/disk_events@disk_events::genTable")
|