Nifcloud Low RDB Backup Retention Period
- Query id: e5071f76-cbe7-468d-bb2b-d10f02d2b713
- Query name: Nifcloud Low RDB Backup Retention Period
- Platform: Terraform
- Severity: Low
- Category: Backup
- CWE: 754
- URL: Github
Description¶
Nifcloud RDB backup retention should be at least 7 days
Documentation
Code samples¶
Code samples with security vulnerabilities¶
Positive test num. 1 - tf file
resource "nifcloud_db_instance" "positive" {
identifier = "example"
instance_class = "db.large8"
}
Positive test num. 2 - tf file
resource "nifcloud_db_instance" "positive" {
identifier = "example"
instance_class = "db.large8"
backup_retention_period = 5
}