From a06844f2badc6d020b4e1bdcd1669307e5d8d0a6 Mon Sep 17 00:00:00 2001 From: Jonathan Cave Date: Mon, 18 Jun 2018 12:53:05 +0100 Subject: Add disk encryption test --- units/disk/encryption.pxu | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 units/disk/encryption.pxu (limited to 'units') diff --git a/units/disk/encryption.pxu b/units/disk/encryption.pxu new file mode 100644 index 0000000..b7d41c8 --- /dev/null +++ b/units/disk/encryption.pxu @@ -0,0 +1,21 @@ + +id: disk/encryption/detect +category_id: com.canonical.plainbox::disk +plugin: shell +template-engine: jinja2 +user: root +requires: + executable.name == 'lsblk' + executable.name == 'dmsetup' + executable.name == 'cryptsetup' +_summary: Test that Full Disk Encryption is in use +_description: + Examine the system to detect if one of the standard full disk encryption + implementations is in use +command: + {%- if __on_ubuntucore__ %} + fde_tests.py + {%- else %} + fde_tests.py desktop + {% endif -%} +estimated_duration: 2.0 \ No newline at end of file -- cgit v1.2.3