azure-vmss-start

derived azure emits CanStart

match (effective permission)

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

emit

source typeIdentity
target typeCompute
source<principal>
target<scale set>
permissionsMicrosoft.Compute/virtualMachineScaleSets/start/action

Narrative

{principal.name} can start {vmss.name} (virtualMachineScaleSets/start/action).

Raw rule rules/derived/azure/vmss.yaml

id: azure-vmss-start
emits: CanStart
match_effective_permission:
  action: Microsoft.Compute/virtualMachineScaleSets/start/action
  scope_type: resource|resourceGroup|subscription|mg
emit:
  source_type: Identity
  target_type: Compute
  source: <principal>
  target: <scale set>
  permissions:
  - Microsoft.Compute/virtualMachineScaleSets/start/action
  note: Realizes CONDITIONAL(service_state) execution edges by bringing stopped instances online.
  narrative: '{principal.name} can start {vmss.name} (virtualMachineScaleSets/start/action).'
move · open · esc close