CRITICAL
Source
Trivy
ID
AVD-NIF-0018

Missing security group for vpnGateway.

Need to add a security group to your vpnGateway.

Impact

Follow the appropriate remediation steps below to resolve the issue.

Add security group for all vpnGateways

1
2
3
4
5
6
7
resource "nifcloud_vpn_gateway" "good_example" {
  security_group = nifcloud_security_group.example.group_name

  network_interface {
    network_id = "net-COMMON_GLOBAL"
  }
}