Skip to content

Commit 7bfb62c

Browse files
committed
added links and image
1 parent a1dfbf1 commit 7bfb62c

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

articles/defender-for-cloud/gated-deployment-infrastructure-as-code.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ The gated deployment agent requires read access to all of your Azure Container R
1818

1919
- An Azure subscription with Microsoft Defender for Cloud enabled.
2020
- You must [enable gated deployment in Defender for Containers](enablement-guide-runtime-gated.md) with the defender sensor and registry access extensions turned on.
21-
- The Azure Kubernetes Service (AKS) cluster must have an OpenID Connect (OIDC) issuer enabled and an Azure Workload Identity enabled.
21+
- You must enable on your Azure Kubernetes Service (AKS) cluster:
22+
- [An OpenID Connect (OIDC) issuer](/azure/aks/use-oidc-issuer#create-an-aks-cluster-with-the-oidc-issuer).
23+
- [An Azure Workload Identity](/azure/aks/workload-identity-deploy-cluster?tabs=new-cluster).
2224

2325
## Deploy the gated agent
2426

@@ -32,7 +34,11 @@ The gated deployment agent requires read access to all of your Azure Container R
3234
- **Subject**: The service account used by the gated deployment agent `system:serviceaccount:kube-system:defender-admission-controller-serviceaccount`.
3335
- **Audience**: api://AzureADTokenExchange
3436

35-
1. Set the MSI’s objectId in the identities parameter under the security gating section of the managed cluster API configuration. This ensures the gated deployment agent can use the MSI at runtime.
37+
1. Under the [securityGating section of the managed cluster API configuration](https://learn.microsoft.com/azure/templates/microsoft.containerservice/managedclusters?pivots=deployment-language-arm-template#resource-format-1), set the [MSI’s objectId in the identities parameter](https://learn.microsoft.com/azure/templates/microsoft.containerservice/managedclusters?pivots=deployment-language-arm-template#managedclustersecurityprofiledefendersecuritygating-1) under the security gating section of the managed cluster API configuration.
38+
39+
:::image type="content" source="media/gated-deployment-infrastructure-as-code/identities.png" alt-text="Screenshot that shows the section of the securityGating section of the managed cluster API configuration, where the code is located." lightbox="media/gated-deployment-infrastructure-as-code/identities.png":::
40+
41+
This ensures the gated deployment agent can use the MSI at runtime.
3642

3743
## Next step
3844

21.4 KB
Loading

0 commit comments

Comments
 (0)