Ensure Naver Kubernetes Service public endpoint disabled
Description
This policy checks whether the public endpoint is enabled for Naver Kubernetes Service (NKS) clusters. Enabling public access to the Kubernetes endpoint can expose the cluster to unauthorized access, potentially leading to security breaches. It is recommended to disable public access to the endpoint to ensure the security and integrity of the cluster. Disabling public access will help prevent unauthorized access and reduce the risk of security incidents.
Code Example
terraform
resource "ncloud_nks_cluster" "example" {
public_network = false
}Remediation
Ensure the public_network attribute is set to false for the ncloud_nks_cluster resource.
Rule Details
| Field | Value |
|---|---|
| ID | IAC-1221 |
| Severity | MEDIUM |
| IaC Type | Terraform |
| Frameworks | ncloud_nks_cluster |
| Checkov ID | CKV_NCP_19 |