Skip to content

feat(asset-inventory): CSPG-94315 Add resource lock permissions to cu… - #52

Open
vkannan24 wants to merge 1 commit into
mainfrom
CSPG-94315-add-resource-lock-for-azure-custom-role
Open

feat(asset-inventory): CSPG-94315 Add resource lock permissions to cu…#52
vkannan24 wants to merge 1 commit into
mainfrom
CSPG-94315-add-resource-lock-for-azure-custom-role

Conversation

@vkannan24

Copy link
Copy Markdown

Problem

IOM policy 683 ("Azure Custom Role Administering Resource Locks not assigned") is triggered for all Azure registrations. The CrowdStrike custom role (role-csreader) lacks Microsoft.Authorization/locks permissions, causing the IOM to flag every registered subscription/management group.

Related: SUPPORT-29902

Solution

Add Microsoft.Authorization/locks/read, write, and delete permissions to the existing role-csreader custom role definition at both subscription and management group scope.

No new roles or role assignments are needed — the existing assignment pipeline grants the updated role to the CrowdStrike service principal.

Configuration

No new parameters or feature flags. Permissions are added unconditionally to the existing custom role.

Security

Grants the CrowdStrike service principal the ability to manage resource locks on customer subscriptions/management groups. This is the minimum permission set required to resolve IOM policy 683.

Test Plan

  • Bicep build validation passes for both modified files and parent templates
  • Deploy to a test subscription, verify the custom role includes lock permissions
  • Confirm IOM policy 683 no longer triggers after role update

Rollout

Standard progression. Existing deployments pick up new permissions on next re-deployment.

…stom role

Add Microsoft.Authorization/locks read/write/delete permissions to the
role-csreader custom role to resolve IOM policy 683 for all Azure
registrations.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
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