Setting up Azure Security Center for Kubernetes
We'll start this chapter by setting up Azure Security Center for Kubernetes. To enable Azure Security Center for Kubernetes, you need to enable Azure Policy for AKS on your cluster. This will enable Azure Security to monitor your workload configuration. To benefit from Azure Defender's threat protection, you will also need to enable Azure Defender for Kubernetes on your subscription.
Let's get started.
- Search for your AKS cluster in the Azure search bar, as shown in Figure 13.1:
Figure 13.1: Looking for your cluster in the Azure search bar
- You will now enable Azure Policy for AKS. To enable this, click the Policies button on the left-hand side and on the resulting pane, click on Enable add-on, as shown in Figure 13.2:
Figure 13.2: Enabling Azure Policy for AKS
Enabling the add-on will take a couple of minutes to complete. After a while, you should see a message saying that the service is now enabled, as...