azure-la-storage-blob-trigger-binding
match (record)
{
"field": "properties.definition.triggers",
"resource_type": "Microsoft.Logic/workflows"
}
where
trigger.type == ApiConnection
trigger references an Azure Blob Storage connection (connector == azureblob)
emit
| source type | Storage |
|---|---|
| target type | Compute |
| source | <Azure Storage container (ObjectStorage node)> |
| target | <Logic App workflow> |
Narrative
Storage container {source.name} triggers Logic App {target.name} when new blobs are created (azureblob trigger).
Raw rule rules/explicit/azure-logicapps.yaml
id: azure-la-storage-blob-trigger-binding
emits: CanTrigger
applies_to:
- azure
match_record:
resource_type: Microsoft.Logic/workflows
field: properties.definition.triggers
where:
- trigger.type == ApiConnection
- trigger references an Azure Blob Storage connection (connector == azureblob)
emit:
source_type: Storage
target_type: Compute
source: <Azure Storage container (ObjectStorage node)>
target: <Logic App workflow>
api_source: az rest --method GET --url .../providers/Microsoft.Logic/workflows/<name>
evidence_field: definition.triggers[*].inputs.host.api.id (azureblob connector)
note: Blob trigger polls the container for new/modified blobs. CanWriteData(?writer, ?container) from
the Storage adapter feeds messaging-chains rule 1.
narrative: Storage container {source.name} triggers Logic App {target.name} when new blobs are created
(azureblob trigger).