23 open-source Rego policies encoding benchmarks/cis/ubuntu_26_04 policies. Apache 2.0, Rego v1, ready to load into OPA or Enterprise OPA.
23 Rego policy files encoding benchmarks/cis/ubuntu_26_04 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.
experimental Each framework key below carries a coverage label: what the labels mean.
| Framework key | Label | Evidence |
|---|---|---|
cis_ubuntu_26_04 | experimental | — |
git clone https://github.com/ynotbhatc/rego_policy_libraries.git
opa eval -d rego_policy_libraries/benchmarks/cis/ubuntu_26_04 -f pretty 'data'
Or load into a running OPA:
for f in rego_policy_libraries/benchmarks/cis/ubuntu_26_04/*.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.
accounts.rego cis_ubuntu_26_04.accountsapparmor.rego cis_ubuntu_26_04.apparmorauditd.rego cis_ubuntu_26_04.auditdbanners.rego cis_ubuntu_26_04.bannersbootloader.rego cis_ubuntu_26_04.bootloadercis_ubuntu_26_04.rego cis_ubuntu_26_04cis_ubuntu_26_04_main.rego cis_ubuntu_26_04.mainfile_permissions.rego cis_ubuntu_26_04.file_permissionsfilesystem.rego cis_ubuntu_26_04.filesystemfirewall.rego cis_ubuntu_26_04.firewallgdm.rego cis_ubuntu_26_04.gdmintegrity.rego cis_ubuntu_26_04.integrityjob_schedulers.rego cis_ubuntu_26_04.job_schedulerslogging.rego cis_ubuntu_26_04.loggingnetwork.rego cis_ubuntu_26_04.networkpackage_management.rego cis_ubuntu_26_04.package_managementpam.rego cis_ubuntu_26_04.pamprocess_hardening.rego cis_ubuntu_26_04.process_hardeningservices.rego cis_ubuntu_26_04.servicesssh.rego cis_ubuntu_26_04.sshsudo.rego cis_ubuntu_26_04.sudotime_sync.rego cis_ubuntu_26_04.time_syncuser_group.rego cis_ubuntu_26_04.user_groupTest 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.