azure-aks-cluster-located-in
match (record)
{
"field": "location",
"resource_type": "Microsoft.ContainerService/managedClusters"
}
emit
| source type | KubernetesCluster |
|---|---|
| target type | AdministrativeBoundary |
| 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}.