CRITICAL
Source
Trivy
ID
AVD-NIF-0008

A database resource is marked as publicly accessible.

Database resources should not publicly available. You should limit all access to the minimum that is required for your application to function.

Impact

The database instance is publicly accessible

Follow the appropriate remediation steps below to resolve the issue.

Set the database to not be publicly accessible

1
2
3
4
 resource "nifcloud_db_instance" "good_example" {
 	publicly_accessible = false
 }