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

MS.TEAMS.5.xv1 - update warning message to reflect the correct reason for the policy fail (public reported issue) #1601

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

Conversation

nanda-katikaneni
Copy link
Collaborator

@nanda-katikaneni nanda-katikaneni commented Feb 27, 2025

🗣 Description

Teams policies MS.TEAMS.5.1v1 - MS.TEAMS.5.3v1 deals with application permission policies - in case of a failure ScubaGear generates a warning message (since this is a SHOULD policy). Currently the warning message correctly identifies the offending policies but incorrectly indicates them as meeting policies. This PR is to change warning message to correctly identify them as app permission policies.

💭 Motivation and context

Closes #1495

🧪 Testing

Run ScubaGear against a tenant. Configure the tenant to fail the TEAMS.5.1v1. Make sure that the scubagear results report correctly identifies the result for 5.1 and the warning message correctly identifies the offending 'app permission policy'.

Warning message before the fix:
Screenshot 2025-02-27 at 1 34 39 PM

Warning message after the fix:
Screenshot 2025-02-27 at 1 34 49 PM

✅ Pre-approval checklist

  • This PR has an informative and human-readable title.
  • PR targets the correct parent branch (e.g., main or release-name) for merge.
  • Changes are limited to a single goal - eschew scope creep!
  • Changes are sized such that they do not touch excessive number of files.
  • All future TODOs are captured in issues, which are referenced in code comments.
  • These code changes follow the ScubaGear content style guide.
  • Related issues these changes resolve are linked preferably via closing keywords.
  • All relevant type-of-change labels added.
  • All relevant project fields are set.
  • All relevant repo and/or project documentation updated to reflect these changes.
  • Unit tests added/updated to cover PowerShell and Rego changes.
  • Functional tests added/updated to cover PowerShell and Rego changes.
  • All relevant functional tests passed.
  • All automated checks (e.g., linting, static analysis, unit/smoke tests) passed.

✅ Pre-merge checklist

  • PR passed smoke test check.

  • Feature branch has been rebased against changes from parent branch, as needed

    Use Rebase branch button below or use this reference to rebase from the command line.

  • Resolved all merge conflicts on branch

  • Notified merge coordinator that PR is ready for merge via comment mention

  • Demonstrate changes to the team for questions and comments.
    (Note: Only required for issues of size Medium or larger)

✅ Post-merge checklist

  • Feature branch deleted after merge to clean up repository.
  • Verified that all checks pass on parent branch (e.g., main or release-name) after merge.

@nanda-katikaneni nanda-katikaneni added the bug This issue or pull request addresses broken functionality label Feb 27, 2025
@nanda-katikaneni nanda-katikaneni added this to the Marlin milestone Feb 27, 2025
@nanda-katikaneni nanda-katikaneni self-assigned this Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue or pull request addresses broken functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Agency-reported issue: MS.TEAMS.5.1v1 displays warning for Microsoft apps
1 participant