{{{ oval_metadata("Ensure the system is not configured to use a boot loader on removable media.") }}} {{{ oval_file_absent_criterion(grub2_uefi_boot_path ~ "/grub.cfg") }}}
{{{ grub2_uefi_boot_path }}}/grub.cfg
^[ \t]*set root=(.+?)[ \t]*(?:$|#)
1
{{{ grub2_uefi_boot_path }}}/grub.cfg
^menuentry
1
var_uefi_menuentry_count
^['|\(](?!fd)(?!cd)(?!usb).*['|\)]$

{{{ oval_file_absent(grub2_uefi_boot_path ~ "/grub.cfg") }}}