compliance.tf
Azure Compliance ControlsAzure Network Watcher

Network security group flow logs should have retention set to greater than 90 days

Network Security Group Flow Logs should be enabled and the retention period is set to greater than or equal to 90 days.

What this control checks

Checks the retention period setting on network security group flow logs

Framework mappings

The clauses this control is mapped to in each framework.

CIS Azure Benchmark v4.0.0

  • 8.5 Ensure that Network Security Group Flow Log retention period is 'greater than 90 days'

CIS Azure Benchmark v5.0.0

  • 7.5 Ensure that network security group flow log retention days is set to greater than or equal to 90

CIS Azure Benchmark v1.3.0

  • 6.4 Ensure that Network Security Group Flow Log retention period is 'greater than 90 days'

CIS Azure Benchmark v1.4.0

  • 6.4 Ensure that Network Security Group Flow Log retention period is 'greater than 90 days'

CIS Azure Benchmark v1.5.0

  • 6.5 Ensure that Network Security Group Flow Log retention period is 'greater than 90 days'

CIS Azure Benchmark v2.0.0

  • 6.5 Ensure that Network Security Group Flow Log retention period is 'greater than 90 days'

CIS Azure Benchmark v2.1.0

  • 6.5 Ensure that Network Security Group Flow Log retention period is 'greater than 90 days'

CIS Azure Benchmark v3.0.0

  • 7.5 Ensure that Network Security Group Flow Log retention period is 'greater than 90 days'

Tool mappings

Use these identifiers to cross-reference this control across tools, reports, and evidence.

  • Compliance.tf Control: network_sg_flowlog_retention_period_greater_than_90
  • Checkov Check: CKV_AZURE_12
  • Powerpipe Control: azure_compliance.control.network_sg_flowlog_retention_period_greater_than_90

Last reviewed: 2026-10-14

View all Azure controls →

On this page

Ask AI about this

Help improve this page