PurviewConfigAnalyser
2.0.1
Microsoft Purview Configuration Analyser - Automated compliance assessment for Sensitivity Labels, Auto-labeling, and Data Loss Prevention policies with comprehensive reporting capabilities.
Minimum PowerShell version
5.1
Installation Options
Owners
Copyright
(c) 2025 Abhijeet Karki. All rights reserved.
Package Details
Author(s)
- Abhijeet Karki
Tags
Microsoft Purview Compliance Security DLP SensitivityLabels AutoLabeling Assessment Reporting Governance InformationProtection DataClassification
Functions
Test-PurviewCompliance Invoke-PurviewConfigAnalyser
Dependencies
-
- ImportExcel (>= 7.0.0)
Release Notes
# PurviewConfigAnalyser v2.0.1 - CRITICAL TAXONOMY FIX
## CRITICAL HOTFIX - Auto-labeling Policy Compatibility
- [CRITICAL] Fixed SAL_2.4 test failure caused by hardcoded PSPF taxonomy
- [UNIVERSAL] Get-TaxonomyLabels now dynamically reads SL_1.3 from configuration
- [COMPATIBILITY] Auto-labeling tests now work with any tenant taxonomy
- [INTELLIGENT] Falls back to SL_1.3 defined labels instead of hardcoded values
## What This Fixes
- SAL_2.4 "No taxonomy auto-labeling policies found" error resolved
- Dynamic taxonomy detection from SL_1.3 configuration
- Perfect compatibility with Australian Government PSPF taxonomy
- Support for custom taxonomies defined in control books
- Eliminates hardcoded "UNOFFICIAL, OFFICIAL, OFFICIAL SENSITIVE" assumptions
## Technical Details
The Get-TaxonomyLabels function now:
1. Reads SL_1.3 control from ControlBook_Property_AUGov_Config.csv
2. Extracts the actual taxonomy labels from the "GetLabel > DisplayName" property
3. Uses those labels for sensitivity auto-labeling policy validation
4. Falls back to AUGov taxonomy only if SL_1.3 cannot be found
## Upgrade Immediately
This is a critical fix for auto-labeling policy compliance testing:
```powershell
Install-Module PurviewConfigAnalyser -RequiredVersion 2.0.1 -Force
```
## Previous Stable Release (v2.0.0)
v2.0.0 was the production-ready release with all path issues resolved.
v2.0.1 adds critical auto-labeling taxonomy compatibility.
FileList
- PurviewConfigAnalyser.nuspec
- Collect-PurviewConfiguration.ps1
- PurviewConfigAnalyser.psd1
- config\ControlBook_AUGov_Config.csv
- output\file_runlog.txt
- output\TestResults_AUGov_7922a05c1dac422d972006bf4421e59b_20250722145846.csv
- Private\Connect-ToComplianceCenter.ps1
- Private\DlpAdvancedParser.ps1
- Private\Get-DataLossPreventionSettings.ps1
- Private\Get-InsiderRiskManagementSettings.ps1
- Private\Get-TenantDetails.ps1
- Private\Write-Log.ps1
- Public\Get-PurviewConfig.ps1
- Public\Invoke-PurviewConfigAnalyser.ps1
- Public\New-CustomControlBook.ps1
- Public\Show-PurviewConfigAnalyserGUI.ps1
- Public\Test-PurviewCompliance.ps1
- Scripts\DlpPolicyEvaluator.ps1
- Scripts\README.md
- Scripts\Run-MaturityAssessment.ps1
- Scripts\SimplifiedPurviewConfigAnalyserReport.ps1
- config\MasterControlBooks\ControlBook_Property_Reference.csv
- config\MasterControlBooks\ControlBook_Reference.csv
- PurviewConfigAnalyser.psm1
- config\ControlBook_Property_AUGov_Config.csv
- output\OptimizedReport_7922a05c1dac422d972006bf4421e59b_20250722145829.json
- output\TestResults_AUGov_7922a05c1dac422d972006bf4421e59b_20250722145846.xlsx
- Private\Convert-ObjectForJson.ps1
- Private\GenerateExcelFromJSON.ps1
- Private\Get-InformationProtectionSettings.ps1
- Private\Get-RetentionCompliance.ps1
- Private\Test-ControlBook.ps1