osquery-1/specs/disk_encryption.table
Sharvil Shah daf7777b54 [#1800] Adds uuid and user_uuid columns to the users table and
`disk_encryption` table on Darwin, respectively.
2016-02-10 13:12:43 -08:00

14 lines
655 B
Plaintext

table_name("disk_encryption")
description("Disk Encryption")
schema([
Column("name", TEXT, "Disk name"),
Column("uuid", TEXT, "Disk Universally Unique Identifier"),
Column("encrypted", INTEGER, "1 If encrypted: true (disk is encrypted), else 0"),
Column("type", TEXT, "Description of cipher type and mode if available"),
Column("uid", TEXT, "Currently authenticated user if available (Apple)"),
Column("user_uuid", TEXT, "UUID of authenticated user if available (Apple)"),
ForeignKey(column="name", table="block_devices"),
ForeignKey(column="uuid", table="block_devices"),
])
implementation("disk_encryption@genFDEStatus")