CIS Microsoft Azure Foundations Benchmark v1.4.0/Logging and Monitoring/77 of 115
5.2.3Ensure that Activity Log Alert exists for Create or Update Network Security Group
Control family: Logging and Monitoring
Control description
Create an Activity Log Alert for the "Create" or "Update Network Security Group" event.
How to implement
ResponsibilityCustomerYou configure and operate this in your own cloud accounts.
Network security groups decide what traffic reaches each subnet and VM. An alert whenever one is created or updated makes sure an unexpected change, such as a group that opens a server to the internet, is noticed quickly.
Before you start
The same on every cloud, before the steps in the tabs.
- Agree who receives these alerts, how quickly they respond and how they record what they found.
Evidence
- The alert routing and the response notes for alerts raised during the period
On Azure the tasks create an activity log alert rule in Azure Monitor that emails the security team, then keep it checked with the CIS standard.
Task 1Create the activity log alert rule
- Sign in to the Azure portal at portal.azure.com, select Monitor and then Alerts.
- Select + Create > Alert rule.
- On the Scope tab, select the subscription and select Apply.
- On the Condition tab, select See all signals, set Signal type to Activity log, and choose Create or Update Network Security Group (Network Security Group) (the operation Microsoft.Network/networkSecurityGroups/write, category Administrative).
- Leave Event level and Status set to all, so every attempt is caught.
- On the Actions tab, select the security team's action group, or create one that emails their shared mailbox.
- On the Details tab, enter an Alert rule name, keep Enable alert rule upon creation selected, and choose Global for Region.
- Select Review + create, then Create.
- Check it: the rule is listed under Alert rules, and a harmless test of the operation sends the email.
Task 2Keep it checked with the CIS v1.4.0 standard in Defender for Cloud
- Open Microsoft Defender for Cloud > Regulatory compliance and select Manage compliance policies.
- Select the subscription, select Security policies, find CIS Microsoft Azure Foundations Benchmark v1.4.0 and toggle its status to On (once per subscription).
- Back on Regulatory compliance, open the CIS Microsoft Azure Foundations Benchmark v1.4.0 standard and expand recommendation 5.2.3.
- Open the assessment for An activity log alert should exist for specific Administrative operations and create the alert for any subscription it lists.
- Check it: every resource under recommendation 5.2.3 shows as passing after the next evaluation.
Evidence
- The alert rule in Monitor > Alerts > Alert rules, with its condition and action group
- The CIS v1.4.0 standard, with recommendation 5.2.3 passing
Not applicable. This benchmark covers Azure only.
Not applicable. This benchmark covers Azure only.
Console steps as of 5 November 2026. Not every step has been confirmed in a live console yet, and menus and labels can move between releases, so look for the nearest match if one has changed.