Commit Graph

13 Commits

Author SHA1 Message Date
Sam Wouters
ffd4988f29 Remove only duplicate product-level controls, keep BSI and others 2026-07-17 17:51:05 +02:00
Sam Wouters
bde35ea0a6 Merge fix/product-in-sed-coverage-a9 2026-07-17 17:49:30 +02:00
Sam Wouters
715f134d90 Remove product-level controls copy to avoid overriding upstream CIS file
Upstream CaC ships a maintained controls/cis_almalinux9.yml with
AlmaLinux-specific adjustments (correct source URL, SSH crypto policy
marked not applicable, almalinux NTP variable, etc.). The product-level
copy mechanically renamed from rhel9 is loaded after the top-level file
and silently overrides it, losing all those adjustments.

Drop products/almalinux9/controls/ entirely so the correct top-level
file is used.
2026-07-17 17:07:10 +02:00
Sam Wouters
44c5def542 Extend product-in sed to cover shared/, not-in, and single quotes
Same gap as a10: the sed only searched linux_os/ and only matched
double-quoted product names in 'if product in' blocks, missing rules
in shared/, exclusion lists using 'if product not in', and
single-quoted product names in either form.

Extend the find path to linux_os/ and shared/, and add the three
missing -e expressions to cover all four combinations.
2026-07-15 18:19:26 +02:00
33778642ca Fix product=="rhel9" equality gates for almalinux9; enable auto_increment
Step 4 only rewrote the list-membership form (product in [...,"rhel9"]), so
the shared rules using the equality form (product == "rhel9") fell through to
the generic else branch for almalinux9. Most visibly,
configure_custom_crypto_policy_cis dropped NO-SSHWEAKCIPHERS/NO-SSHWEAKMACS/
NO-WEAKMAC/NO-RPMSHA1, weakening the CIS crypto remediation vs the rhel9 base
(no hard failure since NO-SHA1 still ships on EL9). Now almalinux9 follows the
rhel9 branch.

Also set auto_increment on the .alma.1 release suffix.
2026-06-09 18:22:43 +02:00
40d9eaa713 Drop RHEL-specific technology list from STIG profiles 2026-04-01 10:34:47 +00:00
57520a8841 Replace monolithic patch with script + targeted patch
Switch from a 23K-line monolithic patch to add-almalinux9-support.sh
script and a single independent patch, matching the AL10 approach.
2026-03-31 12:43:33 +00:00
24d647395b Update patch for 0.1.79 #3 2025-12-22 14:15:53 +00:00
c816c31933 Update patch for 0.1.79 #2 2025-12-22 12:17:38 +00:00
ffa27ec6a9 Update patch for 0.1.79 2025-12-22 12:04:42 +00:00
617a890c07 Update for 0.1.77 #2 2025-07-14 14:10:32 +00:00
3860da0ca1 Update for 0.1.77 2025-07-14 14:05:56 +00:00
Sofia Boldyreva
e3280f98f8 Initial commit 2025-02-03 10:51:38 +01:00