More Info:
Monitoring for ‘Create’ or ‘Update Security Solution’ events gives insight into changes to the active security solutions and may reduce the time it takes to detect suspicious activity.Risk Level
LowAddress
Security, Operational MaturityCompliance Standards
CISAZURE, CBP, SOC2, ISO27001, HIPAATriage and Remediation
- Remediation
Remediation
Using Console
Using Console
To remediate the misconfiguration “Ensure Activity Log Alert exists for Create or Update Security Solution” in AZURE using the AZURE console, follow the below steps:
- Login to the AZURE console with your credentials.
- Navigate to the Security Center from the left-hand menu.
- Click on the “Policies” option under the Security Center.
- In the Policies page, click on the “Security policy” option.
- In the Security policy page, select the policy you want to remediate, in this case, “Ensure Activity Log Alert exists for Create or Update Security Solution”.
- Click on the “Remediate” button at the top of the page.
- In the Remediate dialog box, select the subscription(s) and resource group(s) you want to remediate and click on the “Remediate” button.
- The remediation process will start and you can monitor the progress from the “Activity log” option under the Security Center.
Using CLI
Using CLI
To remediate the misconfiguration “Ensure Activity Log Alert exists for Create or Update Security Solution” for Azure using Azure CLI, follow these steps:
- Open the Azure CLI on your local machine.
-
Run the following command to check if an activity log alert exists for creating or updating a security solution:
If no activity log alert exists, the output will be an empty array.
-
If no activity log alert exists, run the following command to create an activity log alert:
Replace
<alert_name>with the name of the alert you want to create,<alert_description>with a description for the alert, and<action_group_name>with the name of the action group to use for the alert. -
After running the command, you should see output similar to the following:
This indicates that the activity log alert has been created successfully.
-
Verify that the activity log alert has been created by running the following command:
If the activity log alert was created successfully, you should see output similar to the following:This confirms that the activity log alert has been created successfully.
Using Python
Using Python
To remediate the misconfiguration “Ensure Activity Log Alert exists for Create or Update Security Solution” in Azure using Python, you can follow the below steps:By following the above steps, you can remediate the misconfiguration “Ensure Activity Log Alert exists for Create or Update Security Solution” in Azure using Python.
- Import the necessary libraries:
- Create an instance of the
MonitorManagementClientusing theDefaultAzureCredential:
- Define the required parameters for creating a new Activity Log Alert:
- Check if an Activity Log Alert already exists for Create or Update Security Solution:
- If an Activity Log Alert does not exist, create a new one:

