Nifcloud NAS Has Common Private Network

  • Query id: 4b801c38-ebb4-4c81-984b-1ba525d43adf
  • Query name: Nifcloud NAS Has Common Private Network
  • Platform: Terraform
  • Severity: Low
  • Category: Networking and Firewall
  • URL: Github

Description

The nas has common private network
Documentation

Code samples

Code samples with security vulnerabilities

Positive test num. 1 - tf file
resource "nifcloud_nas_instance" "positive" {
  identifier        = "nas001"
  allocated_storage = 100
  protocol          = "nfs"
  type              = 0
  network_id        = "net-COMMON_PRIVATE"
}

Code samples without security vulnerabilities

Negative test num. 1 - tf file
resource "nifcloud_nas_instance" "negative" {
  identifier        = "nas001"
  allocated_storage = 100
  protocol          = "nfs"
  type              = 0
  network_id        = nifcloud_private_lan.main.id
}