Skip to content

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

FieldValue
IDIAC-1221
SeverityMEDIUM
IaC TypeTerraform
Frameworksncloud_nks_cluster
Checkov IDCKV_NCP_19

References