feat(m365): add check for app registrations using password credentials#11097
Open
PrettyFox0 wants to merge 1 commit into
Open
Conversation
Adds entra_app_registration_no_password_credentials check that flags application registrations with client secrets. Apps should authenticate using certificates, federated identity credentials, or managed identities. - Added _get_app_registrations to entra_service.py - Added AppRegistration and PasswordCredential models - Check reports FAIL for any app with passwordCredentials entries - Includes metadata and 5 test cases Closes prowler-cloud#11064 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Contributor
|
✅ Conflict Markers Resolved All conflict markers have been successfully resolved in this pull request. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
entra_app_registration_no_password_credentialsthat flags application registrations with client secrets (password credentials)entra_service.pywith_get_app_registrations()method andAppRegistration/PasswordCredentialmodelsChanges
entra_service.py: Added_get_app_registrationsasync method,AppRegistrationandPasswordCredentialPydantic models, wired into init gather__init__.pyTest plan
Closes #11064
🤖 Generated with Claude Code