-
Notifications
You must be signed in to change notification settings - Fork 123
Data - 35035 - Named Entity SITs Usage in Auto-Labeling and DLP Policies #855
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 PR adds two new assessment tests for Microsoft 365 Data protection capabilities focused on advanced classification and sensitivity label features.
Changes:
- Test-Assessment.35035: Validates Named Entity SITs usage in Auto-Labeling and DLP policies
- Test-Assessment.35012: Validates container labels configuration for Teams, Groups, and Sites
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| Test-Assessment.35035.ps1 | Implements test to evaluate Named Entity SIT deployment in auto-labeling and DLP rules with ID-based matching against the EntityMatch classifier |
| Test-Assessment.35035.md | Provides documentation and remediation guidance for deploying Named Entity SITs via DLP or auto-labeling policies |
| Test-Assessment.35012.ps1 | Implements test to detect container labels with both protectgroup and protectsite actions for workspace-level security |
| Test-Assessment.35012.md | Provides documentation and remediation steps for configuring container labels for collaboration workspaces |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| [ZtTest( | ||
| Category = 'Sensitivity Labels Configuration', | ||
| ImplementationCost = 'Medium', | ||
| MinimumLicense = 'Microsoft_365_E5', |
Copilot
AI
Feb 4, 2026
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.
The MinimumLicense value 'Microsoft_365_E5' uses underscores instead of spaces, which is inconsistent with the license naming convention used throughout the codebase. Other similar tests use 'Microsoft 365 E5' with spaces (as seen in Test-Assessment.35032.ps1 line 26 and other files). This inconsistency could cause issues with license checking logic.
| MinimumLicense = 'Microsoft_365_E5', | |
| MinimumLicense = 'Microsoft 365 E5', |
| Pillar = 'Data', | ||
| RiskLevel = 'High', | ||
| SfiPillar = 'Protect tenants and production systems', | ||
| TenantType = ('Workforce'), |
Copilot
AI
Feb 4, 2026
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.
The TenantType value includes parentheses around a single value 'Workforce', which is inconsistent with the pattern used when there's only one tenant type. When a single value is specified, it should either be a single string without parentheses (as in 'TenantType = Workforce') or use the array syntax consistently. Looking at Test-Assessment.35012.ps1 line 26, it uses 'TenantType = 'Workforce'' without parentheses for a single value.
No description provided.