diff --git a/checkov/kubernetes/checks/resource/k8s/ContainerSecurityContext.py b/checkov/kubernetes/checks/resource/k8s/ContainerSecurityContext.py index 87ed877d50c..eea21e641da 100644 --- a/checkov/kubernetes/checks/resource/k8s/ContainerSecurityContext.py +++ b/checkov/kubernetes/checks/resource/k8s/ContainerSecurityContext.py @@ -7,7 +7,7 @@ class ContainerSecurityContext(BaseK8sContainerCheck): def __init__(self) -> None: # CIS-1.5 5.7.3 - name = "Apply security context to your pods and containers" + name = "Apply security context to your containers" # Security context can be set at pod or container level. # Location: container .securityContext id = "CKV_K8S_30" diff --git a/checkov/terraform/checks/resource/kubernetes/PodSecurityContext.py b/checkov/terraform/checks/resource/kubernetes/PodSecurityContext.py index 7c0d9755458..5bf01d95586 100644 --- a/checkov/terraform/checks/resource/kubernetes/PodSecurityContext.py +++ b/checkov/terraform/checks/resource/kubernetes/PodSecurityContext.py @@ -6,7 +6,7 @@ class PodSecurityContext(BaseResourceCheck): def __init__(self): # CIS-1.5 5.7.3 - name = "Apply security context to your pods and containers" + name = "Apply security context to your pods, deployments and daemon_sets" # Security context can be set at pod or container level. id = "CKV_K8S_29"