Activity log should be retained for at least one year |
This policy audits the activity log if the retention is not set for 365 days or forever (retention days set to 0). |
AuditIfNotExists, Disabled |
1.0.0 |
App Service apps should have resource logs enabled |
Audit enabling of resource logs on the app. This enables you to recreate activity trails for investigation purposes if a security incident occurs or your network is compromised. |
AuditIfNotExists, Disabled |
2.0.1 |
Audit diagnostic setting for selected resource types |
Audit diagnostic setting for selected resource types. Be sure to select only resource types which support diagnostics settings. |
AuditIfNotExists |
2.0.1 |
Azure Monitor log profile should collect logs for categories 'write,' 'delete,' and 'action' |
This policy ensures that a log profile collects logs for categories 'write,' 'delete,' and 'action' |
AuditIfNotExists, Disabled |
1.0.0 |
Azure Monitor Logs for Application Insights should be linked to a Log Analytics workspace |
Link the Application Insights component to a Log Analytics workspace for logs encryption. Customer-managed keys are commonly required to meet regulatory compliance and for more control over the access to your data in Azure Monitor. Linking your component to a Log Analytics workspace that's enabled with a customer-managed key, ensures that your Application Insights logs meet this compliance requirement, see https://docs.microsoft.com/azure/azure-monitor/platform/customer-managed-keys. |
audit, Audit, deny, Deny, disabled, Disabled |
1.1.0 |
Azure Monitor should collect activity logs from all regions |
This policy audits the Azure Monitor log profile which does not export activities from all Azure supported regions including global. |
AuditIfNotExists, Disabled |
2.0.0 |
Azure subscriptions should have a log profile for Activity Log |
This policy ensures if a log profile is enabled for exporting activity logs. It audits if there is no log profile created to export the logs either to a storage account or to an event hub. |
AuditIfNotExists, Disabled |
1.0.0 |
Deploy - Configure diagnostic settings for SQL Databases to Log Analytics workspace |
Deploys the diagnostic settings for SQL Databases to stream resource logs to a Log Analytics workspace when any SQL Database which is missing this diagnostic settings is created or updated. |
DeployIfNotExists, Disabled |
4.0.0 |
Deploy - Configure Log Analytics extension to be enabled on Windows virtual machines |
Deploy Log Analytics extension for Windows virtual machines if the virtual machine image is in the list defined and the extension is not installed. Deprecation notice: The Log Analytics agent is on a deprecation path and won't be supported after August 31, 2024. You must migrate to the replacement 'Azure Monitor agent' prior to that date. |
DeployIfNotExists, Disabled |
3.1.0 |
Deploy Diagnostic Settings for Batch Account to Event Hub |
Deploys the diagnostic settings for Batch Account to stream to a regional Event Hub when any Batch Account which is missing this diagnostic settings is created or updated. |
DeployIfNotExists, Disabled |
2.0.0 |
Deploy Diagnostic Settings for Batch Account to Log Analytics workspace |
Deploys the diagnostic settings for Batch Account to stream to a regional Log Analytics workspace when any Batch Account which is missing this diagnostic settings is created or updated. |
DeployIfNotExists, Disabled |
1.1.0 |
Deploy Diagnostic Settings for Data Lake Analytics to Event Hub |
Deploys the diagnostic settings for Data Lake Analytics to stream to a regional Event Hub when any Data Lake Analytics which is missing this diagnostic settings is created or updated. |
DeployIfNotExists, Disabled |
2.0.0 |
Deploy Diagnostic Settings for Data Lake Analytics to Log Analytics workspace |
Deploys the diagnostic settings for Data Lake Analytics to stream to a regional Log Analytics workspace when any Data Lake Analytics which is missing this diagnostic settings is created or updated. |
DeployIfNotExists, Disabled |
1.0.0 |
Deploy Diagnostic Settings for Data Lake Storage Gen1 to Event Hub |
Deploys the diagnostic settings for Data Lake Storage Gen1 to stream to a regional Event Hub when any Data Lake Storage Gen1 which is missing this diagnostic settings is created or updated. |
DeployIfNotExists, Disabled |
2.0.0 |
Deploy Diagnostic Settings for Data Lake Storage Gen1 to Log Analytics workspace |
Deploys the diagnostic settings for Data Lake Storage Gen1 to stream to a regional Log Analytics workspace when any Data Lake Storage Gen1 which is missing this diagnostic settings is created or updated. |
DeployIfNotExists, Disabled |
1.0.0 |
Deploy Diagnostic Settings for Event Hub to Event Hub |
Deploys the diagnostic settings for Event Hub to stream to a regional Event Hub when any Event Hub which is missing this diagnostic settings is created or updated. |
DeployIfNotExists, Disabled |
2.1.0 |
Deploy Diagnostic Settings for Event Hub to Log Analytics workspace |
Deploys the diagnostic settings for Event Hub to stream to a regional Log Analytics workspace when any Event Hub which is missing this diagnostic settings is created or updated. |
DeployIfNotExists, Disabled |
2.1.0 |
Deploy Diagnostic Settings for Key Vault to Log Analytics workspace |
Deploys the diagnostic settings for Key Vault to stream to a regional Log Analytics workspace when any Key Vault which is missing this diagnostic settings is created or updated. |
DeployIfNotExists, Disabled |
3.0.0 |
Deploy Diagnostic Settings for Logic Apps to Event Hub |
Deploys the diagnostic settings for Logic Apps to stream to a regional Event Hub when any Logic Apps which is missing this diagnostic settings is created or updated. |
DeployIfNotExists, Disabled |
2.0.0 |
Deploy Diagnostic Settings for Logic Apps to Log Analytics workspace |
Deploys the diagnostic settings for Logic Apps to stream to a regional Log Analytics workspace when any Logic Apps which is missing this diagnostic settings is created or updated. |
DeployIfNotExists, Disabled |
1.0.0 |
Deploy Diagnostic Settings for Search Services to Event Hub |
Deploys the diagnostic settings for Search Services to stream to a regional Event Hub when any Search Services which is missing this diagnostic settings is created or updated. |
DeployIfNotExists, Disabled |
2.0.0 |
Deploy Diagnostic Settings for Search Services to Log Analytics workspace |
Deploys the diagnostic settings for Search Services to stream to a regional Log Analytics workspace when any Search Services which is missing this diagnostic settings is created or updated. |
DeployIfNotExists, Disabled |
1.0.0 |
Deploy Diagnostic Settings for Service Bus to Event Hub |
Deploys the diagnostic settings for Service Bus to stream to a regional Event Hub when any Service Bus which is missing this diagnostic settings is created or updated. |
DeployIfNotExists, Disabled |
2.0.0 |
Deploy Diagnostic Settings for Service Bus to Log Analytics workspace |
Deploys the diagnostic settings for Service Bus to stream to a regional Log Analytics workspace when any Service Bus which is missing this diagnostic settings is created or updated. |
DeployIfNotExists, Disabled |
2.2.0 |
Deploy Diagnostic Settings for Stream Analytics to Event Hub |
Deploys the diagnostic settings for Stream Analytics to stream to a regional Event Hub when any Stream Analytics which is missing this diagnostic settings is created or updated. |
DeployIfNotExists, Disabled |
2.0.0 |
Deploy Diagnostic Settings for Stream Analytics to Log Analytics workspace |
Deploys the diagnostic settings for Stream Analytics to stream to a regional Log Analytics workspace when any Stream Analytics which is missing this diagnostic settings is created or updated. |
DeployIfNotExists, Disabled |
1.0.0 |
Log Analytics extension should be enabled in virtual machine scale sets for listed virtual machine images |
Reports virtual machine scale sets as non-compliant if the virtual machine image is not in the list defined and the extension is not installed. |
AuditIfNotExists, Disabled |
2.0.1 |
Resource logs in Azure Key Vault Managed HSM should be enabled |
To recreate activity trails for investigation purposes when a security incident occurs or when your network is compromised, you may want to audit by enabling resource logs on Managed HSMs. Please follow the instructions here: https://docs.microsoft.com/azure/key-vault/managed-hsm/logging. |
AuditIfNotExists, Disabled |
1.1.0 |
Resource logs in Key Vault should be enabled |
Audit enabling of resource logs. This enables you to recreate activity trails to use for investigation purposes when a security incident occurs or when your network is compromised |
AuditIfNotExists, Disabled |
5.0.0 |
The Log Analytics extension should be installed on Virtual Machine Scale Sets |
This policy audits any Windows/Linux Virtual Machine Scale Sets if the Log Analytics extension is not installed. |
AuditIfNotExists, Disabled |
1.0.1 |
Virtual machines should have the Log Analytics extension installed |
This policy audits any Windows/Linux virtual machines if the Log Analytics extension is not installed. |
AuditIfNotExists, Disabled |
1.0.1 |