-
Notifications
You must be signed in to change notification settings - Fork 123
Data - 35012 - Container Labels for Teams, Groups, and Sites #850
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
… into test-35012
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
Adds a new Data assessment (Test ID 35012) to validate that Microsoft Purview sensitivity labels are configured to apply container protections to Teams, Microsoft 365 Groups, and SharePoint sites.
Changes:
- Introduces a new PowerShell test (
Test-Assessment-35012) that queries sensitivity labels viaGet-Labeland detects labels with bothprotectgroupandprotectsiteactions. - Generates markdown output summarizing total labels, container-enabled labels, and (when present) per-label container settings.
- Adds end-user documentation and remediation guidance for the new assessment.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
| src/powershell/tests/Test-Assessment.35012.ps1 | Implements the new assessment logic and result formatting for container labels. |
| src/powershell/tests/Test-Assessment.35012.md | Provides remediation steps and includes a %TestResult% placeholder for runtime output insertion. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.