Get Demo
Log profiles should capture all categories to ensure that all events are logged
Follow the appropriate remediation steps below to resolve the issue.
Configure log profile to capture all activities
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
resource "azurerm_monitor_log_profile" "good_example" { name = "good_example" categories = [ "Action", "Delete", "Write", ] retention_policy { enabled = true days = 365 } }
https://docs.microsoft.com/en-us/azure/azure-monitor/essentials/activity-log
https://docs.microsoft.com/en-us/cli/azure/monitor/log-profiles?view=azure-cli-latest#az_monitor_log_profiles_create-required-parameters