Skip to content
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

Fix Safe Links policy-to-rule matching #325

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

moorereason
Copy link

ORCA was failing on check 113 (Do not let users click through safe links to original URL), but the online Configuration Analyzer wasn't showing an issue. While looking into that issue, I noticed that ORCA said our custom Safe Links policy Does not apply. This PR resolves the issue for me, but I don't know about the ramifications for the rest of the package. PTAL

The underlying issue is that our custom Safe Links policy and rule don't always have the same name (similar to the Preset policies, according to your code comments). Not sure how we got into that situation.

Context:

PS> Get-SafeLinksRule | Select Name,SafeLinksPolicy,State |fl

Name            : Recommended safe links rule
SafeLinksPolicy : Recommended safe links policy
State           : Enabled

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.

1 participant