Skip to content

Get-LabelPolicySettings - update#867

Open
praneeth-0000 wants to merge 1 commit intomainfrom
GetLabelPolicySettingsFunc-Update
Open

Get-LabelPolicySettings - update#867
praneeth-0000 wants to merge 1 commit intomainfrom
GetLabelPolicySettingsFunc-Update

Conversation

@praneeth-0000
Copy link
Collaborator

Updated the function to include attachmentaction property. This is needed for test 35014

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

Updates the shared Get-LabelPolicySettings PowerShell helper to parse and expose the attachmentaction setting from a sensitivity label policy’s PolicySettingsBlob, enabling downstream assessments (notably test 35014) to evaluate email label inheritance from attachments.

Changes:

  • Documented a new parsed output property: AttachmentAction.
  • Added AttachmentAction to the returned settings object (defaulting to $null).
  • Extended XML parsing switch to capture the attachmentaction key’s value.

💡 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

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