github.com/aquasecurity/trivy-iac@v0.8.1-0.20240127024015-3d8e412cf0ab/avd_docs/azure/monitor/AVD-AZU-0033/Terraform.md (about) 1 2 Configure log profile to capture all activities 3 4 ```hcl 5 resource "azurerm_monitor_log_profile" "good_example" { 6 name = "good_example" 7 8 categories = [ 9 "Action", 10 "Delete", 11 "Write", 12 ] 13 14 retention_policy { 15 enabled = true 16 days = 365 17 } 18 } 19 20 ``` 21 22 #### Remediation Links 23 - https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/monitor_log_profile#categories 24