MEDIUM
Source
Trivy
ID
AVD-NIF-0009

RDB instance should have backup retention longer than 1 day

Backup retention periods should be set to a period that is a balance on cost and limiting risk.

Impact

Follow the appropriate remediation steps below to resolve the issue.

Explicitly set the retention period to greater than the default

1
2
3
4
resource "nifcloud_db_instance" "good_example" {
  instance_class          = "db.large8"
  backup_retention_period = 5
}