azure-func-start
match (effective permission)
{
"action": "Microsoft.Web/sites/start/action",
"scope_type": "resource|resourceGroup|subscription"
}
emit
| source type | Identity |
|---|---|
| target type | Compute |
| source | <principal> |
| target | <function app> |
| permissions | Microsoft.Web/sites/start/action |
Narrative
{principal.name} can start stopped Function app {target.name} (start/action) to enable execution.
Raw rule rules/derived/azure/functions.yaml
id: azure-func-start
emits: CanStart
match_effective_permission:
action: Microsoft.Web/sites/start/action
scope_type: resource|resourceGroup|subscription
emit:
source_type: Identity
target_type: Compute
source: <principal>
target: <function app>
permissions:
- Microsoft.Web/sites/start/action
note: Realizes CONDITIONAL(service_state) execution edges on a stopped app.
narrative: '{principal.name} can start stopped Function app {target.name} (start/action) to enable execution.'