summaryrefslogtreecommitdiff
diff options
-rw-r--r--units/info/jobs.pxu12
-rw-r--r--units/info/test-plan.pxu2
2 files changed, 14 insertions, 0 deletions
diff --git a/units/info/jobs.pxu b/units/info/jobs.pxu
index f149eb6..ebc125b 100644
--- a/units/info/jobs.pxu
+++ b/units/info/jobs.pxu
@@ -502,3 +502,15 @@ environ: SNAP CHECKBOX_RUNTIME
user: root
estimated_duration: 0.02
_summary: Attaches an information about all parts that constituted this snap
+
+id: info/secure-boot-check
+plugin: attachment
+category_id: com.canonical.plainbox::info
+estimated_duration: 0.2
+requires:
+ package.name == 'mokutil'
+command:
+ mokutil --sb-state
+_summary: Check secure boot state
+_description:
+ Output secure boot is enabled or disabled
diff --git a/units/info/test-plan.pxu b/units/info/test-plan.pxu
index 598d317..5f5fcfb 100644
--- a/units/info/test-plan.pxu
+++ b/units/info/test-plan.pxu
@@ -53,6 +53,7 @@ include:
sysfs_attachment
udev_attachment
firmware/fwts_dump_acpi_attachment.gz
+ info/secure-boot-check
bootstrap_include:
device
@@ -91,6 +92,7 @@ include:
sysfs_attachment
udev_attachment
udev-summary_attachment
+ info/secure-boot-check
bootstrap_include:
device
fwts