12 open-source Rego policies encoding benchmarks/stig/rhel_9 policies. Apache 2.0, Rego v1, ready to load into OPA or Enterprise OPA.
12 Rego policy files encoding benchmarks/stig/rhel_9 policies, part of the Rego Policy Libraries — a standalone, dependency-free collection of Open Policy Agent policies for published security and compliance standards. No orchestrator, no agent, no vendor runtime.
partial Each framework key below carries a coverage label: what the labels mean.
| Framework key | Label | Evidence |
|---|---|---|
stig.rhel_9 | partial | All 445 V2R10 rules written against DISA's check text. 104 ran on a real RHEL 9.6 host 2026-11-20; the 341 added 2026-11-22 are unit-tested only and most of their fact paths are not collected yet, so those rules report evidence missing. |
stig_rhel9 | partial | Bridge onto stig.rhel_9. All 445 V2R10 rules written against DISA's check text; 104 ran on a real RHEL 9.6 host 2026-11-20, the 341 added 2026-11-22 are unit-tested only and most of their fact paths are not collected yet. |
git clone https://github.com/ynotbhatc/rego_policy_libraries.git
opa eval -d rego_policy_libraries/benchmarks/stig/rhel_9 -f pretty 'data'
Or load into a running OPA:
for f in rego_policy_libraries/benchmarks/stig/rhel_9/*.rego; do
curl -X PUT --data-binary @"$f" "$OPA/v1/policies/$(basename $f .rego)"
done
Gating a change of state — evaluate a proposed action before it proceeds, and refuse it if it violates the standard. Measuring state — evaluate collected facts about an environment against the standard to produce compliance evidence. The same policy content serves both; only the integration differs.
account_auth.rego stig.rhel_9.account_authaudit_logging.rego stig.rhel_9.audit_loggingconfiguration_management.rego stig.rhel_9.configuration_managementfile_permissions.rego stig.rhel_9.file_permissionsnetwork.rego stig.rhel_9.networkpki_crypto.rego stig.rhel_9.pki_cryptoservices.rego stig.rhel_9.servicessoftware_integrity.rego stig.rhel_9.software_integrityssh_config.rego stig.rhel_9.ssh_configstig_rhel9_complete.rego stig.rhel_9stig_rhel9_main.rego stig_rhel9.mainstig_rhel_9_main.rego stig.rhel_9.mainTest coverage is published in
COVERAGE.md, and uncovered policies are the best
first contribution — each is small, self-contained, and either passes
opa test or does not. See
CONTRIBUTING.md.