Cortex CloudApplication Security
Azure Network Watcher Network Security Group (NSG) flow logs retention is less than 90 days misconfi
Rule Details
Cortex AppSec Rule ID
APPSEC_AZURE_12
Category - Subcategory
Logging - Retention
Provider
AZURE
Severity
LOW
Framework
ARM, Bicep, Terraform, Terraform Plan
Mapped CSPM/KSPM Rule
7c0570f7-d467-4652-b699-9189d5fe86a3
Impact
Flow logs enable capturing information about IP traffic flowing in and out of network security groups. Logs can be used to check for anomalies and give insight into suspected breaches. We recommend your Network Security Group (NSG) Flow Log Retention Period is set to greater than or equal to 90 days.
How to Fix
Resource: azurerm_network_watcher_flow_log
Arguments: days [source,go]
resource "azurerm_network_watcher_flow_log" "test" { ...
retention_policy {
enabled = true
days = <90 or greater> } }
PreviousRDS instances have performance insights disabled misconfiguration detected in code
NextAzure SQL Server auditing policy is disabled misconfiguration detected in code
Last updated
Was this helpful?
