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_auth_policy_guest_users_access_restrictions #7234

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

Conversation

danibarranqueroo
Copy link
Member

Context

This PR introduces a new check to ensure that Guest Users acces policy in Entra is set at least Guest users have limited access to properties and memberships of directory objects or more restrictive.

Microsoft Entra ID allows you to restrict what external guest users can see in their organization in Microsoft Entra ID. Guest users are set to a limited permission level by default in Microsoft Entra ID, while the default for member users is the full set of user permissions.

Description

Added new check entra_auth_policy_guest_users_access_restrictions 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 13, 2025 18:11
Copy link

codecov bot commented Mar 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.68%. Comparing base (07419fd) to head (ccbc678).
Report is 6 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7234      +/-   ##
==========================================
- Coverage   89.26%   88.68%   -0.59%     
==========================================
  Files        1300     1220      -80     
  Lines       42890    35571    -7319     
==========================================
- Hits        38286    31545    -6741     
+ Misses       4604     4026     -578     
Flag Coverage Δ
api ?
prowler 88.68% <100.00%> (+0.02%) ⬆️

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

Components Coverage Δ
prowler 88.68% <100.00%> (+0.02%) ⬆️
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