CRITICAL
Source
Trivy
ID
AVD-NIF-0007

Delete verified record

Removing verified record of TXT auth the risk that

If the authentication record remains, anyone can register the zone

Impact

Follow the appropriate remediation steps below to resolve the issue.

Remove verified record

1
2
3
4
5
6
resource "nifcloud_dns_record" "test" {
  zone_id = nifcloud_dns_zone.example.id
  name    = "test"
  type    = "A"
  record  = "some"
}
1
2
3
4
5
6
resource "nifcloud_dns_record" "test" {
  zone_id = nifcloud_dns_zone.example.id
  name    = "test"
  type    = "TXT"
  record  = "some"
}