Skip to content

Commit

Permalink
updated tests (#44)
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
  • Loading branch information
uk-bolly authored May 24, 2024
1 parent 060c55b commit 2b56b6d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion cat_1/RHEL-08-010140.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{{ if not .Vars.legacy_boot }}
{{ if .Vars.RHEL_08_010140 }}
file:
{{ .Vars.rhel8stig_bootloader_path }}/user.cfg:
grub_user_password_efi:
title: RHEL-08-010140 | RHEL 8 operating systems booted with United Extensible Firmware Interface (UEFI) implemented must require authentication upon booting into single-user mode and maintenance. | user_cfg
exists: true
path: {{ .Vars.rhel8stig_bootloader_path }}/user.cfg
contents:
- '/^GRUB2_PASSWORD={{ .Vars.rhel8stig_password_hash }}/'
- '/^GRUB2_PASSWORD=grub.pbkdf2.sha512/'
Expand Down
3 changes: 2 additions & 1 deletion cat_1/RHEL-08-010150.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{{ if .Vars.legacy_boot }}
{{ if .Vars.RHEL_08_010150 }}
file:
{{ .Vars.rhel8stig_bootloader_path }}/user.cfg:
grub_user_password_bios:
title: RHEL-08-010150 | RHEL 8 operating systems booted with United Extensible Firmware Interface (UEFI) implemented must require authentication upon booting into single-user mode and maintenance. | user_cfg
exists: true
path: {{ .Vars.rhel8stig_bootloader_path }}/user.cfg
contents:
- '/^GRUB2_PASSWORD={{ .Vars.rhel8stig_password_hash }}/'
meta:
Expand Down
3 changes: 2 additions & 1 deletion cat_2/RHEL-08-010000_010830/RHEL-08-010141.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{{ if not .Vars.legacy_boot }}
{{ if .Vars.RHEL_08_010141 }}
file:
{{ .Vars.rhel8stig_bootloader_path }}/user.cfg:
grub_user_passwd_efi_user:
title: RHEL-08-010141 | RHEL 8 operating systems booted with United Extensible Firmware Interface (UEFI) implemented must require authentication upon booting into single-user mode and maintenance. | grub_cfg
exists: true
path: {{ .Vars.rhel8stig_bootloader_path }}/user.cfg
contents:
- '/^GRUB2_PASSWORD=grub.pbkdf2.sha512.*/'
meta:
Expand Down

0 comments on commit 2b56b6d

Please sign in to comment.