More Info:
Enable Adaptive Application Whitelisting recommendations for virtual machines.Risk Level
LowAddress
Security, Operational MaturityCompliance Standards
HIPAA, ISO27001Triage and Remediation
- Remediation
Remediation
Using Console
Using Console
To remediate the misconfiguration “Monitor Adaptive Application Whitelisting setting is not enabled” in Azure using the Azure console, follow the below steps:
- Log in to the Azure portal (https://portal.azure.com/).
- Click on the “Security Center” option from the left-hand menu.
- Click on the “Security Policy” option from the Security Center menu.
- Select the security policy that you want to remediate.
- Click on the “Edit Policy” button located at the top of the screen.
- Scroll down to the “Adaptive Application Controls” section and click on “Edit”.
- Enable the “Monitor Adaptive Application Whitelisting setting” option.
- Click on the “Save” button to save the changes.
Using CLI
Using CLI
To remediate the “Monitor Adaptive Application Whitelisting setting is not enabled” misconfiguration in Azure using Azure CLI, follow these steps:
- Open the Azure CLI in your terminal or command prompt.
- Login to your Azure account using the command “az login”.
- Once you are logged in, select the Azure subscription where the misconfiguration exists using the command
az account set --subscription <subscription_id>
. - Check the current status of the Monitor Adaptive Application Whitelisting setting using the command “az security assessment-metadata show —name “Monitor Adaptive Application Whitelisting setting is not enabled” —query status”.
- If the current status is “NotApplicable” or “Healthy”, then the misconfiguration does not exist and no further action is required.
- If the current status is “Unhealthy”, then the misconfiguration exists and needs to be remediated.
- To remediate the misconfiguration, enable the Monitor Adaptive Application Whitelisting setting using the command “az security assessment set —name “Monitor Adaptive Application Whitelisting setting is not enabled” —status Healthy”.
- Verify that the misconfiguration has been remediated by checking the status again using the command “az security assessment-metadata show —name “Monitor Adaptive Application Whitelisting setting is not enabled” —query status”.
Using Python
Using Python
To remediate the “Monitor Adaptive Application Whitelisting setting is not enabled” misconfiguration in Azure using Python, you can use the Azure SDK for Python. Here are the steps to follow:These steps will remediate the “Monitor Adaptive Application Whitelisting setting is not enabled” misconfiguration in Azure using Python.
- Install the Azure SDK for Python using pip:
- Import the necessary modules:
- Set up the credentials for the Azure account:
- Create a SecurityCenter client object:
- Get the security policy for the subscription:
- Check if the “Monitor Adaptive Application Whitelisting” setting is enabled:
- If the setting is not enabled, enable it: