Skip to content

Conversation

@aahmed-spec
Copy link
Collaborator

No description provided.

@aahmed-spec aahmed-spec self-assigned this Feb 3, 2026
@aahmed-spec aahmed-spec marked this pull request as ready for review February 3, 2026 05:46
@alexandair alexandair requested a review from Copilot February 3, 2026 07:49
Copy link
Contributor

Copilot AI left a 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 via Get-Label and detects labels with both protectgroup and protectsite actions.
  • 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants