Skip to content

Conversation

@kshitiz-prog
Copy link
Collaborator

No description provided.

@kshitiz-prog kshitiz-prog self-assigned this Jan 9, 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 PR implements a new assessment test (ID: 35022) to verify that on-demand scans are configured for discovering sensitive information in historical SharePoint, OneDrive, and Exchange content. The test helps organizations establish a compliance baseline by identifying sensitive data that predates auto-labeling policies.

Key changes:

  • Added PowerShell test function to retrieve and validate on-demand sensitive information scan configurations
  • Created markdown documentation with remediation guidance for configuring on-demand classification scans

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
src/powershell/tests/Test-Assessment.35022.ps1 Implements the assessment logic to check for configured on-demand scans, retrieve scan details, and generate a comprehensive report with scan status, workloads, and sensitive information types covered
src/powershell/tests/Test-Assessment.35022.md Provides background documentation and step-by-step remediation instructions for configuring on-demand classification scans in Microsoft Purview

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@alexandair
Copy link
Collaborator

@kshitiz-prog
Test is not producing output requested by the spec. The spec is asking for a bunch of aggregate statistics, the test outputs only total number of scans.
Property names in the spec are incorrect (probably hallucinated by AI), but that's not mentioned in the comments to the issue in ztspecs repo.

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