azure-aks-cluster-located-in

explicit azure emits LocatedIn

match (record)

{ "field": "location", "resource_type": "Microsoft.ContainerService/managedClusters" }

emit

source typeKubernetesCluster
target typeAdministrativeBoundary
source<managedCluster>
target<Azure region (AdministrativeBoundary)>

Narrative

AKS cluster {cluster.name} is located in Azure region {region.name}.

Raw rule rules/explicit/azure-aks.yaml

id: azure-aks-cluster-located-in
emits: LocatedIn
applies_to:
- azure
match_record:
  resource_type: Microsoft.ContainerService/managedClusters
  field: location
emit:
  source_type: KubernetesCluster
  target_type: AdministrativeBoundary
  source: <managedCluster>
  target: <Azure region (AdministrativeBoundary)>
  api_source: az aks show
  evidence_field: location
  narrative: AKS cluster {cluster.name} is located in Azure region {region.name}.
move · open · esc close