Skip to content

Commit 32e081b

Browse files
committed
fixed structure
1 parent 898e227 commit 32e081b

1 file changed

Lines changed: 26 additions & 26 deletions

File tree

articles/defender-for-cloud/kubernetes-workload-protections.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,31 @@ The following table lists common data plane hardening recommendations:
8080
| Privileged containers should be avoided | Manage access and permissions | No |
8181
| Running containers as root user should be avoided | Manage access and permissions | No |
8282

83-
### Configure policy parameters
83+
### View recommendations for a cluster
84+
85+
To view data plane hardening recommendations for a specific cluster:
86+
87+
1. Sign in to the [Azure portal](https://portal.azure.com).
88+
89+
1. Go to **Defender for Cloud** > **Inventory**.
90+
91+
1. Set the resource type filter to **Kubernetes service** and select **Apply**.
92+
93+
:::image type="content" source="media/kubernetes-workload-protections/resource-type-kubernetes-service.png" alt-text="Screenshot of using the resource type filter to select kubernetes service." lightbox="media/kubernetes-workload-protections/resource-type-kubernetes-service.png":::
94+
95+
1. Select the relevant cluster.
96+
97+
1. Review the available recommendations. Data plane hardening recommendations show the number of affected Kubernetes components.
98+
99+
1. Select a recommendation to view affected resources.
100+
101+
:::image type="content" source="media/kubernetes-workload-protections/resource-health-recommendation.png" alt-text="Screenshot of selecting a recommendation from the Resource health page." lightbox="media/kubernetes-workload-protections/resource-health-recommendation.png":::
102+
103+
1. Select the **Take action** tab to review remediation options.
104+
105+
:::image type="content" source="media/kubernetes-workload-protections/take-action-tab.png" alt-text="Use the Take action tab to view remediation steps for a recommendation." lightbox="media/kubernetes-workload-protections/take-action-tab.png":::
106+
107+
## Configure policy parameters
84108

85109
Some recommendations require parameter configuration to be effective. For example, the recommendation **Container images should be deployed from trusted registries only** requires you to define a list of trusted registries.
86110

@@ -110,7 +134,7 @@ To configure policy parameters:
110134

111135
1. Select **Save**.
112136

113-
### Enforce data plane hardening policies
137+
## Enforce data plane hardening policies
114138

115139
By default, policies evaluate resources in audit mode. To enforce a policy, set its effect to **Deny**.
116140

@@ -130,30 +154,6 @@ To enforce a recommendation:
130154

131155
1. Select **Change to deny**.
132156

133-
### View recommendations for a cluster
134-
135-
To view data plane hardening recommendations for a specific cluster:
136-
137-
1. Sign in to the [Azure portal](https://portal.azure.com).
138-
139-
1. Go to **Defender for Cloud** > **Inventory**.
140-
141-
1. Set the resource type filter to **Kubernetes service** and select **Apply**.
142-
143-
:::image type="content" source="media/kubernetes-workload-protections/resource-type-kubernetes-service.png" alt-text="Screenshot of using the resource type filter to select kubernetes service." lightbox="media/kubernetes-workload-protections/resource-type-kubernetes-service.png":::
144-
145-
1. Select a cluster.
146-
147-
1. Review the available recommendations. Data plane hardening recommendations show the number of affected Kubernetes components.
148-
149-
1. Select a recommendation to view affected resources.
150-
151-
:::image type="content" source="media/kubernetes-workload-protections/resource-health-recommendation.png" alt-text="Screenshot of selecting a recommendation from the Resource health page." lightbox="media/kubernetes-workload-protections/resource-health-recommendation.png":::
152-
153-
1. Select the **Take action** tab to review remediation options.
154-
155-
:::image type="content" source="media/kubernetes-workload-protections/take-action-tab.png" alt-text="Use the Take action tab to view remediation steps for a recommendation." lightbox="media/kubernetes-workload-protections/take-action-tab.png":::
156-
157157
## Test policy enforcement
158158

159159
You can validate data plane hardening policies by deploying test workloads.

0 commit comments

Comments
 (0)