Question - how to handle inactive managed identities deployed by ALZ-Bicep #899
Labels
Area: Policy 📝
Issues / PR's related to Policy
Needs: Attention 👋
Needs attention from the maintainers
Type: Question / Feedback ❓👂
Further information is requested or just some feedback
Let us know the feedback or general question
I am looking for some guidance in the documentation to handle inactive identities created by ALZ-Bicep for remediating policies as they pop up in the Defender for Cloud recommendations as inactive identities.
When I deploy all the custom policy assignments from ALZ-Bicep, a lot of system managed identities are created to remediate these policies. However, Defender for Cloud reports a lot of these identities as medium severity: Permissions of inactive identities in your Azure subscription should be revoked.
Some are even marked as critical, due to it's assigned permissions.
This alert gets triggered according to this description in Defender for Cloud:
Some of these identities are not used at the moment, as I don't have these type of resources deployed in my Landing Zone, but this could always change in the future.
Others I haven't needed to remediate anything the past 45 days, but might be needed again in the future.
For example: the system managed identity
Deploy-VMSS-Monitoring
is deployed by a policy definition and creates a system managed identity, but is never used.I suppose removing these permissions would remediate the issue or I could make exemptions for all these identities, but I'm looking for some best practice guidance on this matter.
Code of Conduct
The text was updated successfully, but these errors were encountered: