azure-la-eventgrid-trigger-binding
match (record)
{
"field": "properties.definition.triggers",
"resource_type": "Microsoft.Logic/workflows"
}
where
trigger.type in [ApiConnection, ApiConnectionWebhook]
trigger references an Event Grid connection (connector == azureeventgrid or via webhook subscription)
emit
| source type | Messaging |
|---|---|
| target type | Compute |
| source | <Event Grid topic/domain node> |
| target | <Logic App workflow> |
Narrative
Event Grid topic {source.name} triggers Logic App {target.name} on each published event.
Raw rule rules/explicit/azure-logicapps.yaml
id: azure-la-eventgrid-trigger-binding
emits: CanTrigger
applies_to:
- azure
match_record:
resource_type: Microsoft.Logic/workflows
field: properties.definition.triggers
where:
- trigger.type in [ApiConnection, ApiConnectionWebhook]
- trigger references an Event Grid connection (connector == azureeventgrid or via webhook subscription)
emit:
source_type: Messaging
target_type: Compute
source: <Event Grid topic/domain node>
target: <Logic App workflow>
api_source: az rest --method GET --url .../providers/Microsoft.Logic/workflows/<name>
evidence_field: definition.triggers[*] (type ApiConnectionWebhook + eventgrid connector)
note: Logic Apps subscribe to Event Grid via webhook (ApiConnectionWebhook). Resolve the subscription
to the Event Grid topic node. CanWriteData(?publisher, ?topic) from the Event Grid adapter feeds messaging-chains
rule 1.
narrative: Event Grid topic {source.name} triggers Logic App {target.name} on each published event.