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
title: Building Cloud Security Explorer query to identify vulnerabilities in Kubernetes clusters
3
-
description: Learn to build queries with cloud security explorer in Microsoft Defender for Cloud to investigate vulnerabilities Kubernetes clusters
2
+
title: Build Cloud Security Explorer queries to identify vulnerabilities in Kubernetes clusters
3
+
description: Learn how to build queries with Cloud Security Explorer in Microsoft Defender for Cloud to investigate vulnerabilities in Kubernetes clusters.
4
4
ms.topic: how-to
5
5
ms.date: 03/02/2026
6
6
ms.author: elkrieger
@@ -10,7 +10,7 @@ author: Elazark
10
10
11
11
# Build Cloud Security Explorer queries to identify vulnerabilities in Kubernetes clusters
12
12
13
-
Use Cloud Security Explorer to find vulnerabilities in your Kubernetes clusters. The following examples show how to build queries that you can customize for your specific needs.
13
+
Use Cloud Security Explorer to identify vulnerabilities in your Kubernetes clusters. The following examples show how to build queries to investigate container images and cluster nodes, and can be adapted to filter results based on your requirements.
14
14
15
15
For an introduction to Cloud Security Explorer queries, see [Build queries with Cloud Security Explorer](how-to-manage-cloud-security-explorer.md).
16
16
@@ -20,35 +20,60 @@ For an introduction to Cloud Security Explorer queries, see [Build queries with
20
20
21
21
1. Go to **Microsoft Defender for Cloud** > **Cloud Security Explorer**.
22
22
23
-
:::image type="content" source="./media/cloud-security-explorer-kubernetes-clusters/cloud-security-explorer-main-page.png" alt-text="Screenshot of main page of Cloud Security Explorer." lightbox="./media/cloud-security-explorer-kubernetes-clusters/cloud-security-explorer-main-page.png":::
23
+
1. In **Query builder**, select **Select resource types**.
24
24
25
25
1. Select **Container Images**.
26
-
1. Search for **has installed software**.
27
26
28
-
:::image type="content" source="./media/cloud-security-explorer-kubernetes-clusters/security-explorer-containers-query.png" alt-text="Screenshot of Cloud Security Explorer query options to retrieve list of container images with software installed." lightbox="./media/cloud-security-explorer-kubernetes-clusters/security-explorer-containers-query.png":::
27
+
1. Search for and select **Has installed software**.
29
28
30
-
1. Select the **View details** link to see the result details pane.
31
-
1. View the details of the installed software in the **Insights** section.
29
+
:::image type="content" source="./media/cloud-security-explorer-kubernetes-clusters/query-search-has-installed-software.png" alt-text="Screenshot of search box in Select resource types showing 'Has installed software' under Insights." lightbox="./media/cloud-security-explorer-kubernetes-clusters/query-search-has-installed-software.png":::
30
+
31
+
1. Select **Search**.
32
32
33
-
:::image type="content" source="./media/cloud-security-explorer-kubernetes-clusters/security-explorer-containers-query-result-details.png" alt-text="Screenshot shows results of Cloud Security Explorer query to retrieve container images with software installed." lightbox="./media/cloud-security-explorer-kubernetes-clusters/security-explorer-containers-query-result-details.png":::
33
+
1. Select **View details >** for the relevant container image.
34
+
35
+
1. In the **Result details** pane, review **Insights - Has installed software**.
34
36
37
+
:::image type="content" source="./media/cloud-security-explorer-kubernetes-clusters/security-explorer-containers-query-result-details.png" alt-text="Screenshot shows results of Cloud Security Explorer query to retrieve container images with software installed." lightbox="./media/cloud-security-explorer-kubernetes-clusters/security-explorer-containers-query-result-details.png":::
35
38
36
39
## Create a query to identify vulnerabilities in cluster nodes
37
40
41
+
1. Sign in to the [Azure portal](https://portal.azure.com).
42
+
38
43
1. Go to **Microsoft Defender for Cloud** > **Cloud Security Explorer**.
39
44
40
-
:::image type="content" source="./media/cloud-security-explorer-kubernetes-clusters/cloud-security-explorer-main-page.png" alt-text="Screenshot of main page of Cloud Security Explorer." lightbox="./media/cloud-security-explorer-kubernetes-clusters/cloud-security-explorer-main-page.png":::
45
+
1. In **Query builder**, select **Select resource types**.
46
+
47
+
1. Under **Kubernetes clusters**, select **Azure Kubernetes Service**.
1. In **Vulnerabilities**, select **All vulnerabilities**.
70
+
46
71
1. Select **Search**.
47
-
1. Select **View details** for the cluster node pool.
48
72
49
-
:::image type="content" source="./media/cloud-security-explorer-kubernetes-clusters/security-cloud-explorer-kubernetes-nodes-results.png" alt-text="Screenshot of Cloud Security Explorer query options to retrieve list of cluster nodes with vulnerabilities." lightbox="./media/cloud-security-explorer-kubernetes-clusters/security-cloud-explorer-kubernetes-nodes-results.png":::
73
+
1. Select **View details >** for the relevant Kubernetes node pool.
50
74
75
+
:::image type="content" source="./media/cloud-security-explorer-kubernetes-clusters/security-cloud-explorer-kubernetes-nodes-results.png" alt-text="Screenshot of Cloud Security Explorer query options to retrieve list of cluster nodes with vulnerabilities." lightbox="./media/cloud-security-explorer-kubernetes-clusters/security-cloud-explorer-kubernetes-nodes-results.png":::
51
76
52
-
1. In the **Result details** pane, select the **Virtual machine scale set** icon to view its vulnerabilities.
77
+
1. In the **Result details** pane, select the **Virtual machine scale set** icon to view vulnerabilities.
53
78
54
79
:::image type="content" source="./media/cloud-security-explorer-kubernetes-clusters/security-cloud-explorer-kubernetes-nodes-results-details.png" alt-text="Screenshot shows results of Cloud Security Explorer query to retrieve vulnerabilities in cluster nodes." lightbox="./media/cloud-security-explorer-kubernetes-clusters/security-cloud-explorer-kubernetes-nodes-results-details.png":::
0 commit comments