Skip to content

Commit

Permalink
Change CPE platform
Browse files Browse the repository at this point in the history
This commit changes CPE platform to `system_with_kernel` in all rules
that use the `grub2_bootloader_argument_absent`. These rules configure
kernel arguments, therefore it makes sense to have them applicable on
systems that contain kernel, including bootable containers.
  • Loading branch information
jan-cerny committed Dec 3, 2024
1 parent 5ce02e2 commit 26a9cb7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ references:
srg: SRG-OS-000480-GPOS-00227
stigid@ol8: OL08-00-010424

platform: grub2
platform: system_with_kernel

ocil_clause: 'mitigations is set to off'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ ocil: |-
<pre>grep -q nosmap /boot/config-`uname -r`</pre>
If the command returns a line, it means that SMAP is being disabled.
platform: machine
platform: system_with_kernel

template:
name: grub2_bootloader_argument_absent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ ocil: |-
<pre>grep -q nosmep /boot/config-`uname -r`</pre>
If the command returns a line, it means that SMEP is being disabled.
platform: machine
platform: system_with_kernel

template:
name: grub2_bootloader_argument_absent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ ocil: |-
fixtext: |-
{{{ fixtext_grub2_bootloader_argument_absent("debug-shell") | indent(4) }}}
platform: machine
platform: system_with_kernel

template:
name: grub2_bootloader_argument_absent
Expand Down

0 comments on commit 26a9cb7

Please sign in to comment.