-
Notifications
You must be signed in to change notification settings - Fork 124
Data-35020: Auto-Labeling Enforcement Mode Enabled #774
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This pull request adds a new test (35020) to assess whether auto-labeling policies in Microsoft 365 are configured in enforcement mode rather than simulation mode. The test verifies that at least one auto-labeling policy is actively applying labels to content across Microsoft 365 workloads.
Changes:
- Added Test-Assessment.35020.ps1 implementing the auto-labeling enforcement mode check
- Added Test-Assessment.35020.md providing remediation guidance and context
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| src/powershell/tests/Test-Assessment.35020.ps1 | Implements test logic to query auto-labeling policies, categorize them by mode (enforcement/simulation/disabled), and generate detailed reports with workload coverage analysis |
| src/powershell/tests/Test-Assessment.35020.md | Provides comprehensive documentation explaining the security rationale for enforcement mode and step-by-step remediation instructions |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
alexandair
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
adding test 35020