Skip to content

Benchmark CIS v4.0.0 - November updates

Latest

Choose a tag to compare

@jjoympg jjoympg released this 18 Nov 21:01
18c63b0

CIS Benchmark v4.0.0 - Updates for November 2026

Brings the public role in line with the private subscriber release for CIS Microsoft Windows Server 2019 Benchmark v4.0.0, the same rewrite Windows-2025-CIS had in 1.2.0 and Windows-2022-CIS had in 4.2.0.
GPO creation removed, audit content added, tasks grouped by CIS section, domain aware section 1 and lockout handling, and repository housekeeping.

Please test and confirm before running on production

Breaking change:

  • GPO creation and test domain promotion are removed: tasks/gpo_creation, tasks/domain_creation, the GPO templates and the GPO pipelines
  • win19cis_create_gpos, win19cis_ansible_remediation and the GPO, domain and backup variables are no longer read. An inventory that still sets them, such as win19cis_create_gpos: true against a domain controller, now gets that host remediated directly. The README has a migration table.

Issue Fixes:

  • 2.2.22 sets Guests and S-1-5-114 (Local account and member of Administrators group), was Local Account and Administrators
  • 1.2.1 - 1.2.4 apply from any starting state: the reset counter is read after 1.2.2 and lowered only when it would block 1.2.1, 1.2.4 is checked against the live lockout duration, and 1.2.1 lowers the reset counter when the lockout duration is Never
  • section 1 and 2.3.11.6 skipped on domain joined hosts with a warning, as the Default Domain Policy overwrites local account policy at every refresh; 1.2.3 applies on a standalone server only
  • 2.3.5.4 warns on a domain controller instead of writing a value the Default Domain Controllers Policy reverts
  • 2.3.6.x domain member controls applied on domain controllers, as CIS scopes them; 16 MS only controls and 5.2 Print Spooler applied on standalone servers
  • 2.3.7.4 legal notice no longer cut to its first line by later security policy imports
  • 2.3.11.6 set through the security policy, it was writing 2.3.9.4's EnableForcedLogOff
  • 18.9.25.2 writes the Windows LAPS value name PasswordExpirationProtectionEnabled
  • 18.9.19.7 removes DisableBkGndGroupPolicy from Policies\System; 18.4.4 also written under Wow6432Node
  • duplicate 18.10.43.11.1.1.2 task removed
  • a tagged run (--tags rule_x.y.z) reaches the controls it names
  • --check no longer aborts in the prelim; secedit reads work under Constrained Language Mode; 17.2.4 addresses its audit subcategory by GUID, not its localised name
  • domain controller detection and the OS check no longer use regex_search, resolving #134 - thanks @exu-g

Enhancements:

  • audit content wiring: setup, pre and post remediation audit, compliance facts and output fetch, all off by default
  • tasks grouped as tasks/section_N/, defaults split into defaults/main/main.yml and defaults/main/audit.yml
  • NGWS controls gated on win19cis_ngws, default false
  • 2.2.31 Generate security audits made idempotent
  • task names follow the benchmark wording; NIST800-53R5 and NIST800-171 tags only; registers use the discovered_ prefix
  • README: what the role enforces on standalone, member server and domain controller hosts, stand-alone and NGWS profile sections, GPO migration table, audit section
  • .pre-commit-config.yaml added, .ansible-lint and .yamllint updated, CONTRIBUTING.md replaces CONTRIBUTING.rst
  • workflows removed: the GPO pipelines, export_badges_private.yml, update_galaxy.yml
  • LICENSE, run banner and meta/main.yml carry MindPoint Group - A Quantum Sky Company; min_ansible_version 2.16.1

How has this been tested?:
Windows Server 2019 (build 17763), fresh lab hosts, with the pipeline's inventory settings (setup_audit, run_audit, fetch_audit_output and win_skip_for_test true):

  • Standalone (workgroup): audit failures 322 -> 1 of 1125 checks (2.3.1.4, placeholder value by design); 0 failed tasks
  • Domain member server: audit failures 331 -> 1 of 1173 checks (2.3.1.4); section 1 and 2.3.11.6 reported as domain scoped skips; 0 failed tasks
  • Domain controller: audit only, 1151 checks, 0 errored
  • the 1.2.1 fix for a lockout duration of Never was added after the lab run
  • 433 of 433 CIS v4.0.0 control IDs and profiles match
  • CI: devel pipeline validation passed on #136, main pipeline validation passed on #138

What's Changed

  • sync: Rewrite align with private benchmark_v4.0.0 - GPO creation removed, audit content added by @jjoympg in #136
  • Apply latest updates to main for release by @jjoympg in #138

Full Changelog: 4.1.0...4.2.0