|
|
f8899d |
From 0df80531afcfe73d0025dac31f259bdf38c37cc0 Mon Sep 17 00:00:00 2001
|
|
|
f8899d |
From: Vojtech Polasek <vpolasek@redhat.com>
|
|
|
f8899d |
Date: Tue, 1 Dec 2020 13:48:37 +0100
|
|
|
f8899d |
Subject: [PATCH] fix wrong rule name in oval and change platform to machine
|
|
|
f8899d |
|
|
|
f8899d |
---
|
|
|
f8899d |
.../bootloader-grub2/grub2_kernel_trust_cpu_rng/oval/shared.xml | 2 +-
|
|
|
f8899d |
.../system/bootloader-grub2/grub2_kernel_trust_cpu_rng/rule.yml | 2 +-
|
|
|
f8899d |
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
f8899d |
|
|
|
f8899d |
diff --git a/linux_os/guide/system/bootloader-grub2/grub2_kernel_trust_cpu_rng/oval/shared.xml b/linux_os/guide/system/bootloader-grub2/grub2_kernel_trust_cpu_rng/oval/shared.xml
|
|
|
f8899d |
index a3e9b616a3..8d7197faed 100644
|
|
|
f8899d |
--- a/linux_os/guide/system/bootloader-grub2/grub2_kernel_trust_cpu_rng/oval/shared.xml
|
|
|
f8899d |
+++ b/linux_os/guide/system/bootloader-grub2/grub2_kernel_trust_cpu_rng/oval/shared.xml
|
|
|
f8899d |
@@ -1,5 +1,5 @@
|
|
|
f8899d |
<def-group>
|
|
|
f8899d |
- <definition class="compliance" id="kernel_trust_cpu_rng" version="1">
|
|
|
f8899d |
+ <definition class="compliance" id="grub2_kernel_trust_cpu_rng" version="1">
|
|
|
f8899d |
{{{ oval_metadata("Ensure the kernel is configured to trust the CPU hardware random number generator.") }}}
|
|
|
f8899d |
<criteria operator="OR" >
|
|
|
f8899d |
<criteria operator="AND">
|
|
|
f8899d |
diff --git a/linux_os/guide/system/bootloader-grub2/grub2_kernel_trust_cpu_rng/rule.yml b/linux_os/guide/system/bootloader-grub2/grub2_kernel_trust_cpu_rng/rule.yml
|
|
|
f8899d |
index 3df57621a3..89ffe074e0 100644
|
|
|
f8899d |
--- a/linux_os/guide/system/bootloader-grub2/grub2_kernel_trust_cpu_rng/rule.yml
|
|
|
f8899d |
+++ b/linux_os/guide/system/bootloader-grub2/grub2_kernel_trust_cpu_rng/rule.yml
|
|
|
f8899d |
@@ -49,7 +49,7 @@ ocil: |-
|
|
|
f8899d |
If the command does not return any output, then the boot parameter is
|
|
|
f8899d |
missing.
|
|
|
f8899d |
|
|
|
f8899d |
-platform: grub2
|
|
|
f8899d |
+platform: machine
|
|
|
f8899d |
|
|
|
f8899d |
template:
|
|
|
f8899d |
name: grub2_bootloader_argument
|