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(microsoft365): add new check entra_policy_ensure_default_user_cannot_create_tenants #6918

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

Conversation

HugoPBrito
Copy link
Member

Context

In Microsoft Entra ID, non-administrative users can create new tenants, which results in them becoming the Global Administrator of that tenant. This can lead to shadow IT, where unauthorized environments are created without proper security controls, making it difficult for IT teams to manage and secure data.

Description

This check ensures that non-admin users are restricted from creating new tenants in Microsoft Entra ID. By setting this restriction to "Yes", organizations can prevent uncontrolled tenant creation, ensuring that all new tenants are properly managed and secured under IT governance.

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.

@HugoPBrito HugoPBrito requested review from a team as code owners February 13, 2025 11:52
Copy link

codecov bot commented Feb 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.70%. Comparing base (d105337) to head (2fb85f8).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6918      +/-   ##
==========================================
+ Coverage   88.67%   88.70%   +0.02%     
==========================================
  Files        1200     1201       +1     
  Lines       34646    34659      +13     
==========================================
+ Hits        30724    30745      +21     
+ Misses       3922     3914       -8     
Flag Coverage Δ
prowler 88.70% <100.00%> (+0.02%) ⬆️

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

Components Coverage Δ
prowler 88.70% <100.00%> (+0.02%) ⬆️
api ∅ <ø> (∅)

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