You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/defender-for-cloud/kubernetes-workload-protections.md
+26-26Lines changed: 26 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,31 @@ The following table lists common data plane hardening recommendations:
80
80
| Privileged containers should be avoided | Manage access and permissions | No |
81
81
| Running containers as root user should be avoided | Manage access and permissions | No |
82
82
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
84
108
85
109
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.
86
110
@@ -110,7 +134,7 @@ To configure policy parameters:
110
134
111
135
1. Select **Save**.
112
136
113
-
###Enforce data plane hardening policies
137
+
## Enforce data plane hardening policies
114
138
115
139
By default, policies evaluate resources in audit mode. To enforce a policy, set its effect to **Deny**.
116
140
@@ -130,30 +154,6 @@ To enforce a recommendation:
130
154
131
155
1. Select **Change to deny**.
132
156
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
-
157
157
## Test policy enforcement
158
158
159
159
You can validate data plane hardening policies by deploying test workloads.
0 commit comments