🛡️ Azure Subscription Activity Log Alert for Create or Update Public IP Address Rule does not exist🟢
- Contextual name: 🛡️ Activity Log Alert for Create or Update Public IP Address Rule does not exist🟢
- ID:
/ce/ca/azure/subscription/activity-log-alert-for-create-or-update-public-ip-address-rule - Tags:
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
SECURITY
Logic
Similar Policies
- Cloud Conformity: Create Alert for 'Create or Update Public IP Address' Events
Description
Description
Create an activity log alert for the Create or Update Public IP Addresses event.
Rationale
Monitoring for Create or Update Public IP Address events gives insight into network access changes and may reduce the time it takes to detect suspicious activity.
Impact
There will be a substantial increase in log size if there are a large number of administrative actions on a server.
Audit
This policy evaluates Azure Subscriptions for the presence of an Azure Activity Log Alert that captures Create or Update Public IP Addresses events. A subscription is marked as
INCOMPLIANTif it does not have an Activity Log Alert whoseCondition JSONfilters on the Microsoft.Network/publicIPAddresses/write operation.Default Value
By default, no monitoring alerts are created or active.
References
- https://azure.microsoft.com/en-us/updates/classic-alerting-monitoring-retirement
- https://docs.microsoft.com/en-in/azure/azure-monitor/platform/alerts-activity-log
- https://docs.microsoft.com/en-in/rest/api/monitor/activitylogalerts/createorupdate
... see more
Remediation
Remediation
From Azure Portal
- Navigate to the
Monitorblade.- Select
Alerts.- Select
Create.- Select
Alert rule.- Choose a subscription.
- Select
Apply.- Select the
Conditiontab.- Click
See all signals.- Select
Create or Update Public Ip Address (Public Ip Address).- Click
Apply.- Select the
Actionstab.- Click
Select action groupsto select an existing action group, orCreate action groupto create a new action group.- Follow the prompts to choose or create an action group.
- Select the
Detailstab.- Select a
Resource group, provide anAlert rule nameand an optionalAlert rule description.- Click
Review + create.- Click
Create.From Azure CLI
az monitor activity-log alert create --resource-group "<resource group name>" --condition category=Administrative and operationName=Microsoft.Network/publicIPAddresses/write and level=<verbose | information | warning | error | critical> --scope "/subscriptions/<subscription ID>" --name "<activity log rule name>" --subscription <subscription id> --action-group <action group ID>
... [see more](remediation.md)
policy.yaml
Linked Framework Sections
| Section | Sub Sections | Internal Rules | Policies | Flags | Compliance |
|---|---|---|---|---|---|
| 💼 CIS Azure v2.1.0 → 💼 5.2.9 Ensure that Activity Log Alert exists for Create or Update Public IP Address rule - Level 1 (Automated) | 1 | no data | |||
| 💼 CIS Azure v3.0.0 → 💼 6.2.9 Ensure that Activity Log Alert exists for Create or Update Public IP Address rule (Automated) | 1 | no data | |||
| 💼 CIS Azure v4.0.0 → 💼 7.1.2.9 Ensure that Activity Log Alert exists for Create or Update Public IP Address rule (Automated) | 1 | no data | |||
| 💼 Cloudaware Framework → 💼 Alerting and Notification | 27 | no data |