aboutsummaryrefslogtreecommitdiff
path: root/manual/se/lynis.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'manual/se/lynis.yaml')
-rw-r--r--manual/se/lynis.yaml33
1 files changed, 33 insertions, 0 deletions
diff --git a/manual/se/lynis.yaml b/manual/se/lynis.yaml
new file mode 100644
index 0000000..04a6d91
--- /dev/null
+++ b/manual/se/lynis.yaml
@@ -0,0 +1,33 @@
+metadata:
+ name: Lynis
+ format: "Manual Test Definition 1.0"
+ description: "Generate Lynis report"
+ maintainer:
+ - ryan.harkin@linaro.org
+ os:
+ - openembedded
+ scope:
+ - functional
+ devices:
+ - lces2
+ - soca9
+ environment:
+ - manual-test
+
+run:
+ steps:
+ - "lynis audit system"
+ - "Check the output of the commands"
+ - "Save the logs and add to the release bundle and report"
+ - "/var/log/lynis.log"
+ - "/var/log/lynis-report.dat"
+ - "BOARD=soca9"
+ - "BOARD=lces2"
+ - "KERNEL_VERSION=4.9"
+ - "KERNEL_VERSION=4.19"
+ - "scp /var/log/lynis.log ryan@192.168.1.11:/linaro/schneider/release/2019.09-warrior.2/logs/lynis.log.${BOARD}-${KERNEL_VERSION}"
+ - "scp /var/log/lynis-report.dat ryan@192.168.1.11:/linaro/schneider/release/2019.09-warrior.2/logs/lynis-report.dat.${BOARD}-${KERNEL_VERSION}"
+
+ expected:
+ - "Log files are generated and saved for the release report."
+