How hersheytaichou/cis-benchmarks works
CIS Benchmark Scripts is a PowerShell module for auditing Windows Server 2022 settings against CIS recommendations. An administrator imports the module and runs the whole benchmark, a section, subsection, or individual recommendation; checks account for machine type, which can be overridden, and report pass/fail results. The README also documents auditing exported GPResult XML on a separate machine. No source excerpts were provided, so internal dispatch between the module and the benchmark-section scripts is not verified; dashed links mark that uncertainty.
Main entry points: CISBenchmarkAudit.psm1 Audit commands · 1AccountPolicies Account policies · 2LocalPolicies Local policies · 17AdvancedAuditPolicyConfiguration Advanced audit
Components 12
Audit entry
- Audit commands
CISBenchmarkAudit/CISBenchmarkAudit.psm1
Policy checks
- Account policies
CISBenchmarkAudit/1AccountPolicies - Local policies
CISBenchmarkAudit/2LocalPolicies - Advanced audit
CISBenchmarkAudit/17AdvancedAuditPolicyConfiguration
Administrative templates
- Computer templates
CISBenchmarkAudit/18AdministrativeTemplatesComputer - User templates
CISBenchmarkAudit/19AdministrativeTemplatesUser
System controls
- System services
CISBenchmarkAudit/5SystemServices - Windows firewall
CISBenchmarkAudit/9WindowsDefenderFirewallwithAdvancedSecurity
Other components
- Administrator
- Target machine
- GPResult XML
- Audit results
Connections 11
- Administrator → Audit commands: runs tests
README.md - Target machine → Audit commands: checks settings
README.md - GPResult XML → Audit commands: audits export
README.md - Audit commands → Audit results: reports findings
README.md - Audit commands → Account policies: dispatches checks
- Audit commands → Local policies: dispatches checks
- Audit commands → Advanced audit: dispatches checks
- Audit commands → Computer templates: dispatches checks
- Audit commands → User templates: dispatches checks
- Audit commands → System services: dispatches checks
- Audit commands → Windows firewall: dispatches checks