Skip to content

Conversation

@sandeepjha000
Copy link
Collaborator

adding test 35020

@sandeepjha000 sandeepjha000 marked this pull request as draft January 14, 2026 06:13
@sandeepjha000 sandeepjha000 self-assigned this Jan 14, 2026
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

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.

Copy link
Collaborator

@alexandair alexandair left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sandeepjha000 sandeepjha000 requested a review from tylchan January 30, 2026 06:26
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.

3 participants