CISAzureBenchmark
5.1.0
Minimum PowerShell version
5.1
Installation Options
Owners
Copyright
(c) 2026 Mohammed Siddiqui. All rights reserved.
Package Details
Author(s)
- Mohammed Siddiqui
Tags
CIS Azure Benchmark Security Compliance Audit Defender EntraID KeyVault NSG StorageAccount
Functions
Connect-CISAzureBenchmark Disconnect-CISAzureBenchmark Invoke-CISAzureBenchmark Get-CISControlList Export-CISReport Compare-CISBenchmarkResults Export-CISRemediationScript
PSEditions
Dependencies
This module has no dependencies.
Release Notes
v5.1.0 - Bug fixes, security hardening, performance, and new features
- Fixed: Section filter false positives (8.1 no longer matches 8.10, 8.11)
- Fixed: MFA fallback N+1 API storm with throttle protection and user limits
- Fixed: Score shows N/A instead of 0% when no evaluated controls
- Fixed: Retry logic no longer matches "non-transient" as retryable
- Security: Removed SkipPublisherCheck from auto-install
- Security: Replaced manual JSON construction with safe ConvertTo-Json
- Security: Added output path validation and script injection prevention
- Security: Error messages sanitized to prevent information leakage
- Performance: Blob/file service properties pre-cached (eliminates redundant API calls)
- Performance: Graph API pagination with configurable page size
- Performance: Network Watcher location fallback uses cached resources
- Performance: Progress estimation with ETA display
- New: Centralized configuration system (ModuleConfig.psd1 + ConfigPath parameter)
- New: Compare-CISBenchmarkResults for diff/trend analysis between scans
- New: Export-CISRemediationScript for generating remediation guidance scripts
- New: SARIF v2.1.0 output format for security tool integration
- New: Resource tag-based exclusions (-ExcludeResourceTag parameter)
- New: PSGallery update checker on startup
- Quality: Magic numbers replaced with configurable values
- Quality: AuthorizationFailed-specific exception handling across all sections
- Quality: Pester test suite restored and enhanced
- New: Parallel subscription scanning (-Parallel -ThrottleLimit) for PS 7+ with PS 5.1 fallback
FileList
- CISAzureBenchmark.nuspec
- Checks\CommonPatterns.ps1
- Checks\Section05-IdentityServices.ps1
- Checks\Section07-Networking.ps1
- Checks\Section09-StorageServices.ps1
- Data\HtmlTemplate.html
- Data\powershellnerdlogo.png
- Private\Initialize-CISEnvironment.ps1
- Private\Invoke-CISCheckSafely.ps1
- Private\Invoke-WithRetry.ps1
- Private\Write-CISProgress.ps1
- Public\Connect-CISAzureBenchmark.ps1
- Public\Export-CISRemediationScript.ps1
- Public\Get-CISControlList.ps1
- Reports\New-CISCsvReport.ps1
- Reports\New-CISJsonReport.ps1
- CISAzureBenchmark.psd1
- Checks\Section02-AnalyticsServices.ps1
- Checks\Section06-ManagementGovernance.ps1
- Checks\Section08-SecurityServices.ps1
- Data\ControlDefinitions.psd1
- Data\ModuleConfig.psd1
- Private\Format-CISErrorMessage.ps1
- Private\Initialize-CISResourceCache.ps1
- Private\Invoke-ResourceCheck.ps1
- Private\New-CISCheckResult.ps1
- Public\Compare-CISBenchmarkResults.ps1
- Public\Disconnect-CISAzureBenchmark.ps1
- Public\Export-CISReport.ps1
- Public\Invoke-CISAzureBenchmark.ps1
- Reports\New-CISHtmlReport.ps1
- Reports\New-CISSarifReport.ps1
- CISAzureBenchmark.psm1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 5.1.0 (current version) | 32 | 3/3/2026 |