azure-la-region

explicit azure emits LocatedIn

match (record)

{ "field": "location", "resource_type": "Microsoft.Logic/workflows" }

emit

source type*
target typeAdministrativeBoundary
source<Logic App workflow>
target<Azure region>

Narrative

{workflow.name} is located in region {region.name}.

Raw rule rules/explicit/azure-logicapps.yaml

id: azure-la-region
emits: LocatedIn
applies_to:
- azure
match_record:
  resource_type: Microsoft.Logic/workflows
  field: location
emit:
  source_type: '*'
  target_type: AdministrativeBoundary
  source: <Logic App workflow>
  target: <Azure region>
  api_source: az rest --method GET --url .../providers/Microsoft.Logic/workflows
  evidence_field: location
  narrative: '{workflow.name} is located in region {region.name}.'
move · open · esc close