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/network-watcher/nsg-flow-logs-policy-portal.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,13 @@
2
2
title: Manage NSG flow logs using Azure Policy
3
3
titleSuffix: Azure Network Watcher
4
4
description: Learn how to use Azure Policy built-in policies to audit network security groups and deploy Azure Network Watcher NSG flow logs.
5
-
services: network-watcher
6
5
author: halkazwini
6
+
ms.author: halkazwini
7
7
ms.service: network-watcher
8
8
ms.topic: how-to
9
-
ms.date: 05/30/2023
10
-
ms.author: halkazwini
11
-
ms.custom: template-how-to, engagement-fy23
9
+
ms.date: 05/30/2024
10
+
11
+
#CustomerIntent: As an Azure administrator, I want to use Azure Policy to audit and deploy network security group flow logs.
12
12
---
13
13
14
14
# Manage NSG flow logs using Azure Policy
@@ -21,13 +21,13 @@ In this article, you learn how to use two built-in policies to manage your setup
21
21
22
22
The **Flow logs should be configured for every network security group** policy audits all existing network security groups in a scope by checking all Azure Resource Manager objects of type `Microsoft.Network/networkSecurityGroups`. This policy then checks for linked flow logs via the flow logs property of the network security group, and it flags any network security group that doesn't have flow logs enabled.
23
23
24
-
To audit your flow logs using the built-in policy:
24
+
To audit your flow logs using the built-in policy, follow these steps:
25
25
26
26
1. Sign in to the [Azure portal](https://portal.azure.com).
27
27
28
28
1. In the search box at the top of the portal, enter *policy*. Select **Policy** in the search results.
29
29
30
-
:::image type="content" source="./media/nsg-flow-logs-policy-portal/portal.png" alt-text="Screenshot of searching for Azure Policy in the Azure portal." lightbox="./media/nsg-flow-logs-policy-portal/portal.png":::
30
+
:::image type="content" source="./media/nsg-flow-logs-policy-portal/policy-portal-search.png" alt-text="Screenshot of searching for Azure Policy in the Azure portal." lightbox="./media/nsg-flow-logs-policy-portal/policy-portal-search.png":::
31
31
32
32
1. Select **Assignments**, and then select **Assign policy**.
33
33
@@ -67,7 +67,7 @@ To assign the *deployIfNotExists* policy:
67
67
68
68
1. In the search box at the top of the portal, enter *policy*. Select **Policy** in the search results.
69
69
70
-
:::image type="content" source="./media/nsg-flow-logs-policy-portal/portal.png" alt-text="Screenshot of searching for Azure Policy in the Azure portal." lightbox="./media/nsg-flow-logs-policy-portal/portal.png":::
70
+
:::image type="content" source="./media/nsg-flow-logs-policy-portal/policy-portal-search.png" alt-text="Screenshot of searching for Azure Policy in the Azure portal." lightbox="./media/nsg-flow-logs-policy-portal/policy-portal-search.png":::
71
71
72
72
1. Select **Assignments**, and then select **Assign policy**.
73
73
@@ -126,7 +126,7 @@ To assign the *deployIfNotExists* policy:
126
126
127
127
:::image type="content" source="./media/nsg-flow-logs-policy-portal/deploy-policy-compliance-details-compliant-resources.png" alt-text="Screenshot of the Policy compliance page that shows all resources are compliant." lightbox="./media/nsg-flow-logs-policy-portal/deploy-policy-compliance-details-compliant-resources.png":::
128
128
129
-
## Next steps
129
+
## Related content
130
130
131
131
- To learn more about NSG flow logs, see [Flow logs for network security groups](nsg-flow-logs-overview.md).
132
132
- To learn about using built-in policies with traffic analytics, see [Manage traffic analytics using Azure Policy](traffic-analytics-policy-portal.md).
0 commit comments