feat(asset-inventory): CSPG-94315 Add resource lock permissions to cu… - #52
Open
vkannan24 wants to merge 1 commit into
Open
feat(asset-inventory): CSPG-94315 Add resource lock permissions to cu…#52vkannan24 wants to merge 1 commit into
vkannan24 wants to merge 1 commit into
Conversation
…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>
vkannan24
requested review from
ashoksankarh-cs,
cs-wayne-hsieh,
mzastavnyi-cs and
tosmun-cs
June 17, 2026 16:03
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.
Problem
IOM policy 683 ("Azure Custom Role Administering Resource Locks not assigned") is triggered for all Azure registrations. The CrowdStrike custom role (
role-csreader) lacksMicrosoft.Authorization/lockspermissions, causing the IOM to flag every registered subscription/management group.Related: SUPPORT-29902
Solution
Add
Microsoft.Authorization/locks/read,write, anddeletepermissions to the existingrole-csreadercustom 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
Rollout
Standard progression. Existing deployments pick up new permissions on next re-deployment.