Control: Monitor log profiles should have retention set to 365 days or greater
Description
This control is non-compliant if Monitor log profile retention is set to less than 365 days.
Usage
Run the control in your terminal:
powerpipe control run terraform_azure_compliance.control.monitor_log_profile_retention_365_days
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run terraform_azure_compliance.control.monitor_log_profile_retention_365_days --share
SQL
This control uses a named query:
monitor_log_profile_retention_365_days