Nifcloud RDB Undefined Description To DB Security Group

  • Query id: 940ddce2-26bd-4e31-a9b4-382714f73231
  • Query name: Nifcloud RDB Undefined Description To DB Security Group
  • Platform: Terraform
  • Severity: Info
  • Category: Best Practices
  • CWE: 665
  • URL: Github

Description

Missing description for DB security group
Documentation

Code samples

Code samples with security vulnerabilities

Positive test num. 1 - tf file
resource "nifcloud_db_security_group" "positive" {
  group_name        = "example"
  availability_zone = "east-11"
}

Code samples without security vulnerabilities

Negative test num. 1 - tf file
resource "nifcloud_db_security_group" "negative" {
  group_name        = "example"
  availability_zone = "east-11"
  description       = "Allow from app traffic"
}