Module exposing: K8sNodePoolAutoRepair
# Source: https://github.com/bridgecrewio/checkov | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
# Provided via justclaw.it.com; keep this notice with the code.
from checkov.common.models.enums import CheckCategories, CheckResult
from checkov.terraform.checks.resource.base_resource_value_check import BaseResourceValueCheck
class K8sNodePoolAutoRepair(BaseResourceValueCheck):
def __init__(self) -> None:
name = "Ensure K8s nodepools are set to auto repair"
id = "CKV_ALI_31"
supported_resources = ("alicloud_cs_kubernetes_node_pool",)
categories = (CheckCategories.KUBERNETES,)
super().__init__(
name=name,
id=id,
categories=categories,
supported_resources=
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key