You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Logging for the services of a storage account can be configured through Azure Monitor diagnostic settings. Trivy does not read them and checks only Storage Analytics logging, so AZU-0057 and AZU-0009 do not see logging configured this way.
AZU-0057 should pass when at least one service of the account logs requests, and AZU-0009 should pass when the queue service logs requests. A service logs requests when it has a diagnostic setting that enables StorageRead, StorageWrite or StorageDelete, or the allLogs category group. For the queue service, Storage Analytics logging also counts, but only Terraform can configure it.
Steps to reproduce
Run trivy config . with Trivy 0.74.0 on this config.
AZU-0057 fails with "Storage account does not have logging enabled for any service." It should pass, because the blob service sends read, write and delete logs to Log Analytics.
Activity