azure-la-rg-contains-workflow

explicit azure emits Contains

match (record)

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

emit

source typeAdministrativeBoundary
target type*
source<resource group>
target<Logic App workflow>

Narrative

{rg.name} contains Logic App workflow {workflow.name}.

Raw rule rules/explicit/azure-logicapps.yaml

id: azure-la-rg-contains-workflow
emits: Contains
applies_to:
- azure
match_record:
  resource_type: Microsoft.Logic/workflows
  field: id
emit:
  source_type: AdministrativeBoundary
  target_type: '*'
  source: <resource group>
  target: <Logic App workflow>
  api_source: az rest --method GET --url .../providers/Microsoft.Logic/workflows
  evidence_field: id
  narrative: '{rg.name} contains Logic App workflow {workflow.name}.'
move · open · esc close