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
@@ -63,7 +63,7 @@ For a complete overview of the properties, you may read the [NSG Flow Logs templ
63
63
To create a Microsoft.Network/networkWatchers/flowLogs resource, add the above JSON to the resources section of your template.
64
64
65
65
66
-
## Creating your template
66
+
## Create your template
67
67
68
68
If you are using Azure Resource Manager templates for the first time, you can learn more about them using the links below.
69
69
@@ -143,7 +143,7 @@ Below are two examples of complete templates to set up NSG Flow Logs.
143
143
}
144
144
```
145
145
146
-
## Deploying your Azure Resource Manager template
146
+
## Deploy your Azure Resource Manager template
147
147
148
148
This tutorial assumes you have an existing Resource group and an NSG you can enable Flow logging on.
149
149
You can save any of the above example templates locally as `azuredeploy.json`. Update the property values so that they point to valid resources in your subscription.
> The above commands are deploying a resource to the NetworkWatcherRG resource group and not the resource group containing the NSG
161
161
162
162
163
-
## Verifying your deployment
163
+
## Verify your deployment
164
164
165
165
There are a couple of ways to check if your deployment has Succeeded. Your PowerShell console should show "ProvisioningState" as "Succeeded". Additionally, you can visit the [NSG Flow Logs portal page](https://portal.azure.com/#blade/Microsoft_Azure_Network/NetworkWatcherMenuBlade/flowLogs) to confirm your changes. If there were issues with the deployment, take a look at [Troubleshoot common Azure deployment errors with Azure Resource Manager](../azure-resource-manager/templates/common-deployment-errors.md).
166
166
167
-
## Deleting your resource
167
+
## Delete your resource
168
168
Azure enables resource deletion through the "Complete" deployment mode. To delete a Flow Logs resource, specify a deployment in Complete mode without including the resource you wish to delete. Read more about the [Complete deployment mode](../azure-resource-manager/templates/deployment-modes.md#complete-mode)
Copy file name to clipboardExpand all lines: articles/network-watcher/nsg-flow-logs-policy-portal.md
+4-7Lines changed: 4 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,28 +1,25 @@
1
1
---
2
-
title: QuickStart - Deploy and manage NSG Flow Logs using Azure Policy
2
+
title: Deploy and manage NSG flow logs using Azure Policy
3
3
titleSuffix: Azure Network Watcher
4
-
description: This article explains how to use the built-in policies to manage the deployment of NSG flow logs
4
+
description: Learn how to use built-in policies to manage the deployment of network security group (NSG) flow logs.
5
5
services: network-watcher
6
6
author: halkazwini
7
7
ms.service: network-watcher
8
-
ms.topic: quickstart
8
+
ms.topic: how-to
9
9
ms.workload: infrastructure-services
10
10
ms.date: 02/09/2022
11
11
ms.author: halkazwini
12
12
ms.custom: engagement-fy23
13
13
---
14
14
15
-
# QuickStart: Deploy and manage NSG Flow Logs using Azure Policy
16
-
17
-
## Overview
15
+
# Deploy and manage NSG flow logs using Azure Policy
18
16
19
17
Azure Policy helps to enforce organizational standards and to assess compliance at scale. Common use cases for Azure Policy include implementing governance for resource consistency, regulatory compliance, security, cost, and management. In this article, we will use two built-in policies available for NSG Flow Logs to manage your flow logs setup. The first policy flags any NSGs without flow logs enabled. The second policy automatically deploys Flow logs for NSGs without Flow logs enabled.
20
18
21
19
If you are creating an Azure Policy definition for the first time, you can read through:
0 commit comments