12 open-source Rego policies encoding benchmarks/cis/windows_server_2022_modular policies. Apache 2.0, Rego v1, ready to load into OPA or Enterprise OPA.
12 Rego policy files encoding benchmarks/cis/windows_server_2022_modular 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.
validated Each framework key below carries a coverage label: what the labels mean.
| Framework key | Label | Evidence |
|---|---|---|
cis_windows_2022 | validated | Run against real evidence on a lab and customer estate in November 2026 with the AAC product collectors. |
cis_windows_server_2022 | validated | Same module tree as cis_windows_2022. Run against real evidence on a lab and customer estate in November 2026 with the AAC product collectors. |
git clone https://github.com/ynotbhatc/rego_policy_libraries.git
opa eval -d rego_policy_libraries/benchmarks/cis/windows_server_2022_modular -f pretty 'data'
Or load into a running OPA:
for f in rego_policy_libraries/benchmarks/cis/windows_server_2022_modular/*.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_policies_validation.rego cis_windows_server_2022.account_policiesadmin_templates_computer_validation.rego cis_windows_server_2022.admin_templates_computeradmin_templates_user_validation.rego cis_windows_server_2022.admin_templates_useradvanced_audit_validation.rego cis_windows_server_2022.advanced_auditattestation_validation.rego cis_windows_server_2022.attestationcis_windows_2022_key_main.rego cis_windows_2022.maincis_windows_2022_main.rego cis_windows_server_2022.maincis_windows_server_2022_complete.rego cis_windows_server_2022firewall_validation.rego cis_windows_server_2022.firewalllib.rego cis_windows_server_2022.liblocal_policies_validation.rego cis_windows_server_2022.local_policiessystem_services_validation.rego cis_windows_server_2022.system_servicesTest 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.