14 open-source Rego policies encoding CIS Benchmarks for Cisco IOS and network devices. Apache 2.0, Rego v1, ready to load into OPA or Enterprise OPA.
14 Rego policy files encoding CIS Benchmarks for Cisco IOS and network devices, 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_cisco_ios_xe_17 | experimental | — |
cis_opnsense | experimental | — |
cis_palo_alto_panos | experimental | — |
cis_pfsense | experimental | — |
cis_vyos | experimental | — |
git clone https://github.com/ynotbhatc/rego_policy_libraries.git
opa eval -d rego_policy_libraries/benchmarks/cis/network_devices -f pretty 'data'
Or load into a running OPA:
for f in rego_policy_libraries/benchmarks/cis/network_devices/*.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.
cis_arista_eos.rego cis_arista_eoscis_cisco_ios.rego cis_cisco_ioscis_cisco_ios_xe_17.rego cis_cisco_ios_xe_17cis_cisco_ios_xe_17_main.rego cis_cisco_ios_xe_17.maincis_fortinet_fortigate.rego cis_fortinet_fortigatecis_juniper_junos.rego cis_juniper_junoscis_opnsense.rego cis_opnsensecis_opnsense_main.rego cis_opnsense.maincis_palo_alto_panos.rego cis_palo_alto_panoscis_palo_alto_panos_main.rego cis_palo_alto_panos.maincis_pfsense.rego cis_pfsensecis_pfsense_main.rego cis_pfsense.maincis_vyos.rego cis_vyoscis_vyos_main.rego cis_vyos.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.