CRITICAL
Source
Trivy
ID
AVD-NIF-0016

Missing security group for router.

Need to add a security group to your router.

Impact

A security group controls the traffic that is allowed to reach and leave the resources that it is associated with.

Follow the appropriate remediation steps below to resolve the issue.

Add security group for all routers

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

   network_interface {
     network_id = "net-COMMON_GLOBAL"
   }
 }