azure-containerapps-write-config

derived azure emits CanModifyConfiguration

match (effective permission)

{ "action": "Microsoft.App/containerApps/write", "scope_type": "resource|resourceGroup|subscription" }

emit

source typeIdentity
target type*
source<principal>
target<containerApp>
permissionsMicrosoft.App/containerApps/write

Narrative

{principal.name} can rewrite the configuration of {target.name} (containerApps/write) including the identity binding, secrets, and ingress.

Raw rule rules/derived/azure/containerapps.yaml

id: azure-containerapps-write-config
emits: CanModifyConfiguration
match_effective_permission:
  action: Microsoft.App/containerApps/write
  scope_type: resource|resourceGroup|subscription
emit:
  source_type: Identity
  target_type: '*'
  source: <principal>
  target: <containerApp>
  permissions:
  - Microsoft.App/containerApps/write
  note: Same op edits the identity block (attach/enable MI -> changes ExecutesAs), configuration.secrets,
    registries, ingress, and scale rules.
  narrative: '{principal.name} can rewrite the configuration of {target.name} (containerApps/write) including
    the identity binding, secrets, and ingress.'
move · open · esc close