For the complete documentation index, see llms.txt. This page is also available as Markdown.
Cortex CloudApplication Security

Alibaba Cloud Kubernetes node pools are not set to auto repair misconfiguration detected in code

Rule Details

Cortex AppSec Rule ID

APPSEC_ALI_31

Category - Subcategory

Kubernetes - Resource Management

Provider

ALIBABA_CLOUD

Severity

LOW

Framework

Terraform

Impact

This rule ensures that Kubernetes node pools in Alibaba Cloud have the auto-repair feature enabled. Auto-repair automatically replaces unhealthy nodes, ensuring high availability and stability of the cluster. This feature helps reduce manual intervention, minimizes downtime, and ensures that workloads are not disrupted by failed nodes.

Failing to enable auto-repair can result in degraded cluster performance or availability if node failures are not promptly addressed.

How to Fix

Resource: alicloud_cs_kubernetes_node_pool

  • Arguments: management.auto_repair

To mitigate this issue, ensure the management.auto_repair attribute in the alicloud_cs_kubernetes_node_pool resource is set to true.

Example: [source,go]

resource "alicloud_cs_kubernetes_node_pool" "example" { ...

management {

  • auto_repair = true } }


Last updated

Was this helpful?