↳ GitHub sourceConnector

Network Security Groups

Description

Azure network security groups (NSG) allow you to filter network traffic to and from Azure resources in an Azure virtual network. A network security group includes rules that allow or deny traffic to a virtual network subnet, network interface, or both. When you enable logging for an NSG, you can gather the following types of resource log information: - **Event:** Entries are logged for which NSG rules are applied to VMs, based on MAC address. - **Rule counter:** Contains entries for how many times each NSG rule is applied to deny or allow traffic. The status for these rules is collected every 300 seconds. This connector lets you stream your NSG diagnostics logs into Microsoft Sentinel, allowing you to continuously monitor activity in all your instances. For more information, see the [Microsoft Sentinel documentation](https://go.microsoft.com/fwlink/p/?linkid=2223718&wt.mc_id=sentinel_dataconnectordocs_content_cnl_csasci).
Declared status
2
Declared author / publisher
Microsoft

Declared sources

Metadata from the source file. No dependencies inferred from KQL.

Data types

Declared permissions

read and write permissions.
Workspace
Workspace
Policy​
owner role assigned for each policy assignment scope.​

Connector instructions

Content published in the repository. Refer to the original file for all parameters.

Stream diagnostics logs from your Connect your Network Security Groups diagnostics logs into Sentinel. at scale
This connector uses Azure Policy to apply a single Azure Network Security Groups log-streaming configuration to a collection of instances, defined as a scope. Follow the instructions below to create and apply a policy to all current and future instances. **Note**, you may already have an active policy for this resource type.
Launch the Azure Policy Assignment wizard and follow the steps.​
>1. In the **Basics** tab, click the button with the three dots under **Scope** to select your resources assignment scope. >2. In the **Parameters** tab, choose your Microsoft Sentinel workspace from the **Log Analytics workspace** drop-down list, and leave marked as "True" all the log and metric types you want to ingest. >3. To apply the policy on your existing resources, select the **Remediation tab** and mark the **Create a remediation task** checkbox.

Related content

Links established from declared identifiers and solution manifests.

Source provenance

GitHub

Displayed values come from files in Azure/Azure-Sentinel. They describe the published template, not your workspace configuration.

Source identifier
AzureNSG
Additional source files 2Solutions/Azure Network Security Groups/Data Connectors/AzureNSG.JSONsource ↗Solutions/Azure Network Security Groups/Data/Solution_NetworkSecurityGroups.jsonsolution-membership ↗
GSTEP / CATALOG TRACKING

Added to catalog : 16 Sept 2026 · 05:49 UTC
Last change observed : 16 Sept 2026 · 05:49 UTC

GSTEP sync dates, separate from the source content’s publication dates.