NIFCLOUD RDB has public DB ingress security group rule
이 페이지는 아직 한국어로 제공되지 않습니다. 번역 작업 중입니다.
현재 번역 프로젝트에 대한 질문이나 피드백이 있으신 경우
언제든지 연락주시기 바랍니다.Id: a0b846e8-815f-4f15-b660-bc4ab9fa1e1a
Cloud Provider: Nifcloud
Platform: Terraform
Severity: High
Category: Networking and Firewall
Learn More
Description
A nifcloud_db_security_group ingress security group rule allows traffic from /0. The rule parses rule[].cidr_ip, splitting on / and converting the suffix to a number; it flags when that numeric mask is less than 1, indicating a CIDR of /0. This represents an overly permissive cidr range that allows traffic from any IP address.
Compliant Code Examples
resource "nifcloud_db_security_group" "negative" {
group_name = "example"
availability_zone = "east-11"
rule {
cidr_ip = "10.0.0.0/16"
}
}
Non-Compliant Code Examples
resource "nifcloud_db_security_group" "positive" {
group_name = "example"
availability_zone = "east-11"
rule {
cidr_ip = "0.0.0.0/0"
}
}