azure-vmss-model-write-config

derived azure emits CanModifyConfiguration

match (effective permission)

{ "action": "Microsoft.Compute/virtualMachineScaleSets/write", "scope_type": "resource|resourceGroup|subscription|mg" }

emit

source typeIdentity
target type*
source<principal>
target<scale set>
permissionsMicrosoft.Compute/virtualMachineScaleSets/write

Narrative

{principal.name} can change the configuration of {vmss.name} (virtualMachineScaleSets/write), including its identity binding.

Raw rule rules/derived/azure/vmss.yaml

id: azure-vmss-model-write-config
emits: CanModifyConfiguration
match_effective_permission:
  action: Microsoft.Compute/virtualMachineScaleSets/write
  scope_type: resource|resourceGroup|subscription|mg
emit:
  source_type: Identity
  target_type: '*'
  source: <principal>
  target: <scale set>
  permissions:
  - Microsoft.Compute/virtualMachineScaleSets/write
  note: Same permission also changes the identity binding (enable system-assigned / attach user-assigned)
    and upgrade policy.
  narrative: '{principal.name} can change the configuration of {vmss.name} (virtualMachineScaleSets/write),
    including its identity binding.'
move · open · esc close