More Info:
Monitoring for ‘Delete 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 of ensuring Activity Log Alert exists for Delete Security Solution in Azure using the Azure console, follow the below steps:
- Log in to the Azure portal (https://portal.azure.com/).
- In the left-hand side menu, click on the “Monitor” option.
- Under the “Monitor” menu, click on “Activity log”.
- In the “Activity log” page, click on “Alerts” in the left-hand side menu.
- Click on the ”+ New alert rule” button to create a new alert rule.
- In the “Create alert rule” page, provide a name for the alert rule.
- In the “Condition” section, select “Activity log” in the “Signal type” dropdown menu.
- In the “Filter” section, select “Resource type” in the first dropdown menu and type “Microsoft.Security/solutions” in the second dropdown menu.
- In the “Actions” section, select “Email/SMS/Push/Voice” in the “Action group” dropdown menu and select the appropriate action group.
- In the “Alert rule details” section, set the “Severity” level to “Critical”.
- Click on the “Create alert rule” button to create the alert rule.
Using CLI
Using CLI
To remediate the misconfiguration “Ensure Activity Log Alert exists for Delete Security Solution” in Azure using Azure CLI, you can follow the below steps:Step 1: Open the Azure CLI and log in to your Azure account using the command below:Step 2: Check if there is an existing Activity Log Alert for Delete Security Solution by running the command below:If there is an existing Activity Log Alert for Delete Security Solution, you can skip to Step 5. If there is no existing Activity Log Alert, proceed to the next step.Step 3: Create an Activity Log Alert for Delete Security Solution using the command below:Note: Replace , , and with the appropriate values.Step 4: Verify that the Activity Log Alert has been created successfully by running the command below:Step 5: Verify that the Activity Log Alert is enabled by running the command below:If the output is “true”, the Activity Log Alert is enabled. If the output is “false”, you can enable it using the command below:That’s it! You have successfully remediated the misconfiguration “Ensure Activity Log Alert exists for Delete Security Solution” in Azure using Azure CLI.
Using Python
Using Python
To remediate the misconfiguration “Ensure Activity Log Alert exists for Delete Security Solution” in Azure using Python, you can follow the below steps:Step 1: Import the required librariesStep 2: Authenticate with Azure using Service Principal credentialsStep 3: Create a MonitorManagementClient objectStep 4: Define the required parameters for the Activity Log AlertStep 5: Check if the Activity Log Alert already existsStep 6: Create the Activity Log Alert if it does not existOnce you run the above code, it will create an Activity Log Alert for the misconfiguration “Ensure Activity Log Alert exists for Delete Security Solution” in Azure.

