Extend product-in sed to cover shared/, not-in, and single quotes #1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "swoutersup/scap-security-guide:fix/product-in-sed-coverage"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
The
if product insed replacement in section 5 ofadd-almalinux10-support.shhad three gaps:linux_os/, missing rules inshared/(e.g. PAM OVAL checks that gate on product to select the correct PAM file paths)if product not in [...]exclusion lists at allChanges
findpath from./linux_osto./linux_os ./sharedif product inif product not inTesting
Verified by building
ssg-almalinux10-ds.xmlagainst ComplianceAsCode/content master.Without this fix, rules such as
accounts_password_pam_unix_authtokandsysctl_kernel_kptr_restrictproduced incorrect OVAL checks for AlmaLinux 10.