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

feat(entra): add new check entra_authpolicy_guest_invite_only_for_admin_roles #7241

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

danibarranqueroo
Copy link
Member

Context

This PR introduces a new check to ensure only specific administrator roles can invite guest users.

Limiting the ability to invite guest users to this specific role ensures better control over who can grant access to external users, reducing the risk of unauthorized sharing and maintaining a secure collaboration environment.

It's important to know that the minimum requirement is limiting invitations to admins and Guest Inviters, a more restrictive setting is acceptable (this is None can invite).

Description

Added new check entra_authpolicy_guest_invite_only_for_admin_roles with its unit tests.

Checklist

API

  • Verify if API specs need to be regenerated.
  • Check if version updates are required (e.g., specs, Poetry, etc.).
  • Ensure new entries are added to CHANGELOG.md, if applicable.

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@danibarranqueroo danibarranqueroo requested review from a team as code owners March 14, 2025 12:06
Copy link

codecov bot commented Mar 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.66%. Comparing base (f2e19d3) to head (0ac9821).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7241      +/-   ##
==========================================
- Coverage   92.23%   88.66%   -3.58%     
==========================================
  Files          81     1220    +1139     
  Lines        7356    35571   +28215     
==========================================
+ Hits         6785    31539   +24754     
- Misses        571     4032    +3461     
Flag Coverage Δ
api ?
prowler 88.66% <100.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
prowler 88.66% <100.00%> (∅)
api ∅ <ø> (∅)
🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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