Kubescape Scan Report


Summary:

All Failed Skipped
137 24 11

Details

Severity Control Name Failed Resources All Resources Risk Score, %
Critical CVE-2022-39328-grafana-auth-bypass 0 0 0
High Agent Sandbox claim override restrictions 0 0 0
High Agent Sandbox container resource limits 0 0 0
High Agent Sandbox egress policy enforcement 0 0 0
High Agent Sandbox hardened runtime class 0 0 0
High Agent Sandbox image provenance 0 0 0
High Agent Sandbox managed network policy 0 0 0
High Agent Sandbox resource ceilings 0 0 0
High Agent Sandbox service account token isolation 0 0 0
High Agent Sandbox strict egress policy 0 0 0
High Agent Substrate Worker Pod resource ceilings 0 0 0
High Agent runtime image digest pinning 0 0 0
High Agent runtime image registries 0 0 0
High Anonymous user has RoleBinding 0 1 0
High Applications credentials in configuration files 0 12 0
High Apply Security Context to Your Pods and Containers 9 9 100
High Avoid use of system:masters group 0 0 0
High CVE-2021-25742-nginx-ingress-snippet-annotation-vulnerability 0 0 0
High CVE-2022-47633-kyverno-signature-bypass 0 0 0
High Check if signature exists 8 9 89
High Configure Image Provenance using ImagePolicyWebhook admission controller 0 0 0
High Ensure CPU limits are set 3 9 33
High Ensure memory limits are set 3 9 33
High Forbidden Container Registries 0 9 0
High Host PID/IPC privileges 0 9 0
High HostNetwork access 0 9 0
High HostPath mount 0 9 0
High Ingress uses TLS 0 0 0
High Insecure capabilities 0 9 0
High List Kubernetes secrets 0 1 0
High Minimize the admission of Windows HostProcess Containers 0 0 0
High Minimize the admission of privileged containers 0 0 0
High Minimize wildcard use in Roles and ClusterRoles 0 1 0
High Privileged container 0 9 0
High Resource limits 3 9 33
High Resources CPU limit and request 3 9 33
High Resources memory limit and request 3 9 33
High ServiceAccount token mounted 0 2 0
High Verify image signature 0 9 0
High Workload with credential access 0 9 0
High Workload with secret access 0 12 0
High Workloads with Critical vulnerabilities exposed to external traffic 0 0 0
High Workloads with RCE vulnerabilities exposed to external traffic 0 0 0
High Writable hostPath mount 0 9 0
Medium Access container service account 1 1 100
Medium Administrative Roles 0 1 0
Medium Allow privilege escalation 0 9 0
Medium Automatic mapping of service account 2 9 22
Medium Bootstrap token authentication should not be used for users 0 0 0
Medium CVE-2022-24348-argocddirtraversal 0 0 0
Medium Client certificate authentication should not be used for users 0 0 0
Medium Cluster internal networking 0 0 0
Medium Configured liveness probe 2 9 22
Medium Container hostPort 0 9 0
Medium Container runtime socket mounted 0 9 0
Medium CoreDNS poisoning 0 1 0
Medium Dangling Gateway API backend 0 8 0
Medium Dangling HPA target 0 5 0
Medium Dangling Ingress backend 0 8 0
Medium Dangling NetworkPolicy 0 9 0
Medium Delete Kubernetes events 0 1 0
Medium Deprecated Kubernetes image registry 0 0 0
Medium Enable audit Logs 0 0 0
Medium Ensure Image Vulnerability Scanning using Amazon ECR image scanning or a third party provider 0 0 0
Medium Ensure that Service Account Tokens are only mounted where necessary 2 9 22
Medium Ensure that all Namespaces have Network Policies defined 0 0 0
Medium Ensure that default service accounts are not actively used 0 0 0
Medium Ensure that the cluster has at least one active policy control mechanism in place 0 0 0
Medium Ensure that the seccomp profile is set to docker/default in your pod definitions 2 9 22
Medium Images from allowed registry 0 9 0
Medium Ingress and Egress blocked 9 9 100
Medium Limit use of the Bind, Impersonate and Escalate permissions in the Kubernetes cluster 0 1 0
Medium Linux hardening 2 9 22
Medium Minimize access to create persistent volumes 0 1 0
Medium Minimize access to create pods 0 1 0
Medium Minimize access to secrets 0 1 0
Medium Minimize access to the approval sub-resource of certificatesigningrequests objects 0 1 0
Medium Minimize access to the proxy sub-resource of nodes 0 1 0
Medium Minimize access to the service account token creation 0 1 0
Medium Minimize access to webhook configuration objects 0 1 0
Medium Minimize the admission of HostPath volumes 0 0 0
Medium Minimize the admission of containers which use HostPorts 0 0 0
Medium Minimize the admission of containers wishing to share the host IPC namespace 0 9 0
Medium Minimize the admission of containers wishing to share the host IPC namespace 0 0 0
Medium Minimize the admission of containers wishing to share the host IPC namespace 0 0 0
Medium Minimize the admission of containers wishing to share the host network namespace 0 0 0
Medium Minimize the admission of containers wishing to share the host network namespace 0 0 0
Medium Minimize the admission of containers wishing to share the host process ID namespace 0 0 0
Medium Minimize the admission of containers wishing to share the host process ID namespace 0 9 0
Medium Minimize the admission of containers wishing to share the host process ID namespace 0 0 0
Medium Minimize the admission of containers with added capabilities 0 0 0
Medium Minimize the admission of containers with added capabilities 0 0 0
Medium Minimize the admission of containers with allowPrivilegeEscalation 0 0 0
Medium Minimize the admission of containers with allowPrivilegeEscalation 0 0 0
Medium Minimize the admission of containers with capabilities assigned 0 0 0
Medium Minimize the admission of containers with capabilities assigned 0 0 0
Medium Minimize the admission of containers with the NET_RAW capability 0 0 0
Medium Minimize the admission of root containers 0 0 0
Medium Minimize the admission of root containers 0 0 0
Medium Missing network policy 9 12 75
Medium Mount service principal 0 9 0
Medium Nginx Ingress Controller End of Life 0 5 0
Medium No impersonation 0 1 0
Medium Non-existent service account 0 9 0
Medium Non-root containers 0 9 0
Medium Portforwarding privileges 0 1 0
Medium Prefer using secrets as files over secrets as environment variables 5 9 56
Medium Prevent containers from allowing command execution 0 1 0
Medium Restrict untrusted workloads 0 0 0
Medium Roles with delete capabilities 0 1 0
Medium Service account token authentication should not be used for users 0 0 0
Medium Sudo in container entrypoint 0 9 0
Medium Workload with ConfigMap access 3 12 25
Medium Workload with PVC access 0 12 0
Medium Workload with administrative roles 0 2 0
Medium Workload with cluster takeover roles 0 2 0
Medium Workloads with excessive amount of vulnerabilities 0 0 0
Low Access Kubernetes dashboard 0 10 0
Low Configured readiness probe 2 9 22
Low Deprecated serviceAccount field 0 9 0
Low Duplicate environment variable 0 9 0
Low Ensure CPU requests are set 3 9 33
Low Ensure memory requests are set 3 9 33
Low Image pull policy on latest tag 0 9 0
Low Images not pinned to digest 0 9 0
Low Immutable container filesystem 3 9 33
Low K8s common labels usage 0 9 0
Low Label usage for resources 9 9 100
Low Mismatching selector 0 7 0
Low Naked pods 2 2 100
Low Network mapping 0 0 0
Low No rolling update strategy 0 3 0
Low Outdated Kubernetes version 0 0 0
Low PSP enabled 0 0 0
Low Pods in default namespace 9 9 100
Low SSH server running inside container 0 0 0
Low Service with no workload 0 17 0

Scan Coverage

Coverage Score: 100%

Evaluated 137 of 137 controls

Control ID Name Reason
C-0001 Forbidden Container Registries configuration: Control configurations are empty (docs: https://kubescape.io/docs/frameworks-and-controls/configuring-controls)
C-0078 Images from allowed registry configuration: Control configurations are empty (docs: https://kubescape.io/docs/frameworks-and-controls/configuring-controls)
C-0236 Verify image signature configuration: Control configurations are empty (docs: https://kubescape.io/docs/frameworks-and-controls/configuring-controls)
C-0246 Avoid use of system:masters group manual review: Control type is manual-review
C-0249 Restrict untrusted workloads manual review: Control type is manual-review
C-0254 Enable audit Logs manual review: Control type is manual-review
C-0286 Client certificate authentication should not be used for users manual review: Control type is manual-review
C-0287 Service account token authentication should not be used for users manual review: Control type is manual-review
C-0288 Bootstrap token authentication should not be used for users manual review: Control type is manual-review
C-0289 Configure Image Provenance using ImagePolicyWebhook admission controller manual review: Control type is manual-review
C-0306 Images not pinned to digest configuration: Control configurations are empty (docs: https://kubescape.io/docs/frameworks-and-controls/configuring-controls)

Failed Resources:


Name: recruit-search-parameters

ApiVersion: batch/v1

Kind: Job

Name: recruit-search-parameters

Namespace:

Severity Name Docs Assisted Remediation
Low Configured readiness probe C-0018

spec.template.spec.containers[0].readinessProbe=YOUR_VALUE (search-parameters)

Medium Ingress and Egress blocked C-0030
Medium Configured liveness probe C-0056

spec.template.spec.containers[0].livenessProbe=YOUR_VALUE (search-parameters)

Low Pods in default namespace C-0061

metadata.namespace=YOUR_NAMESPACE

Low Label usage for resources C-0076

metadata.labels[app]=YOUR_VALUE

spec.template.metadata.labels[app]=YOUR_VALUE

High Apply Security Context to Your Pods and Containers C-0211

spec.template.spec.containers[0].securityContext.seLinuxOptions=YOUR_VALUE (search-parameters)

High Check if signature exists C-0237

spec.template.spec.containers[0].image (current: docker.io/curlimages/curl:8.23.0@sha256:11e64e28c5f58c8d93ee95fcf22ac055f48b0bc440e0ce7d8013bbb5ad6aa8ac) (search-parameters)

Medium Workload with ConfigMap access C-0258

spec.template.spec.containers[0].volumeMounts[0] (search-parameters)

Medium Missing network policy C-0260

Name: recruit-fhirserver-test-endpoints

ApiVersion: v1

Kind: Pod

Name: recruit-fhirserver-test-endpoints

Namespace:

Severity Name Docs Assisted Remediation
Medium Ingress and Egress blocked C-0030
Low Pods in default namespace C-0061

metadata.namespace=YOUR_NAMESPACE

Low Naked pods C-0073
Low Label usage for resources C-0076

metadata.labels[app]=YOUR_VALUE

High Apply Security Context to Your Pods and Containers C-0211

spec.containers[0].securityContext.seLinuxOptions=YOUR_VALUE (test-metadata-endpoint)

spec.containers[1].securityContext.seLinuxOptions=YOUR_VALUE (test-patient-endpoint)

spec.containers[2].securityContext.seLinuxOptions=YOUR_VALUE (test-metrics-endpoint)

Medium Missing network policy C-0260

Name: recruit-maildev

ApiVersion: apps/v1

Kind: Deployment

Name: recruit-maildev

Namespace:

Severity Name Docs Assisted Remediation
High Resources memory limit and request C-0004

spec.template.spec.containers[0].resources.limits.memory=YOUR_VALUE (maildev)

spec.template.spec.containers[0].resources.requests.memory=YOUR_VALUE (maildev)

High Resource limits C-0009

spec.template.spec.containers[0].resources.limits.cpu=YOUR_VALUE (maildev)

spec.template.spec.containers[0].resources.limits.memory=YOUR_VALUE (maildev)

Low Immutable container filesystem C-0017

spec.template.spec.containers[0].securityContext.readOnlyRootFilesystem=true (maildev)

Medium Ingress and Egress blocked C-0030
Medium Automatic mapping of service account C-0034

spec.template.spec.automountServiceAccountToken=false

High Resources CPU limit and request C-0050

spec.template.spec.containers[0].resources.limits.cpu=YOUR_VALUE (maildev)

spec.template.spec.containers[0].resources.requests.cpu=YOUR_VALUE (maildev)

Low Pods in default namespace C-0061

metadata.namespace=YOUR_NAMESPACE

Low Label usage for resources C-0076

metadata.labels[app]=YOUR_VALUE

spec.template.metadata.labels[app]=YOUR_VALUE

Medium Ensure that Service Account Tokens are only mounted where necessary C-0190

spec.template.spec.automountServiceAccountToken=false

High Apply Security Context to Your Pods and Containers C-0211

spec.template.spec.containers[0].securityContext.readOnlyRootFilesystem=true (maildev)

spec.template.spec.containers[0].securityContext.seLinuxOptions=YOUR_VALUE (maildev)

spec.template.spec.securityContext.fsGroup=YOUR_VALUE

spec.template.spec.securityContext.fsGroupChangePolicy=Always

High Check if signature exists C-0237

spec.template.spec.containers[0].image (current: maildev/maildev:2.2.1) (maildev)

Medium Missing network policy C-0260
Low Ensure CPU requests are set C-0268

spec.template.spec.containers[0].resources.requests.cpu=YOUR_VALUE (maildev)

Low Ensure memory requests are set C-0269

spec.template.spec.containers[0].resources.requests.memory=YOUR_VALUE (maildev)

High Ensure CPU limits are set C-0270

spec.template.spec.containers[0].resources.limits.cpu=YOUR_VALUE (maildev)

High Ensure memory limits are set C-0271

spec.template.spec.containers[0].resources.limits.memory=YOUR_VALUE (maildev)

Name: recruit-list

ApiVersion: apps/v1

Kind: Deployment

Name: recruit-list

Namespace:

Severity Name Docs Assisted Remediation
Medium Ingress and Egress blocked C-0030
Low Pods in default namespace C-0061

metadata.namespace=YOUR_NAMESPACE

Low Label usage for resources C-0076

metadata.labels[app]=YOUR_VALUE

spec.template.metadata.labels[app]=YOUR_VALUE

Medium Prefer using secrets as files over secrets as environment variables C-0207

spec.template.spec.containers[0].env[14].name (list)

spec.template.spec.containers[0].env[4].name (list)

High Apply Security Context to Your Pods and Containers C-0211

spec.template.spec.containers[0].securityContext.seLinuxOptions=YOUR_VALUE (list)

spec.template.spec.securityContext.fsGroup=YOUR_VALUE

spec.template.spec.securityContext.fsGroupChangePolicy=Always

High Check if signature exists C-0237

spec.template.spec.containers[0].image (current: ghcr.io/open-recruit/recruit/list:v11.3.0) (list)

Medium Missing network policy C-0260

Name: recruit-test-health-probes

ApiVersion: v1

Kind: Pod

Name: recruit-test-health-probes

Namespace:

Severity Name Docs Assisted Remediation
Medium Ingress and Egress blocked C-0030
Low Pods in default namespace C-0061

metadata.namespace=YOUR_NAMESPACE

Low Naked pods C-0073
Low Label usage for resources C-0076

metadata.labels[app]=YOUR_VALUE

High Apply Security Context to Your Pods and Containers C-0211

spec.containers[0].securityContext.seLinuxOptions=YOUR_VALUE (check-list-health)

High Check if signature exists C-0237

spec.containers[0].image (current: docker.io/curlimages/curl:8.23.0@sha256:11e64e28c5f58c8d93ee95fcf22ac055f48b0bc440e0ce7d8013bbb5ad6aa8ac) (check-list-health)

Medium Missing network policy C-0260

Name: recruit-fhirserver

ApiVersion: apps/v1

Kind: Deployment

Name: recruit-fhirserver

Namespace:

Severity Name Docs Assisted Remediation
Medium Ingress and Egress blocked C-0030
Medium Automatic mapping of service account C-0034

spec.template.spec.automountServiceAccountToken=false

Low Pods in default namespace C-0061

metadata.namespace=YOUR_NAMESPACE

Low Label usage for resources C-0076

metadata.labels[app]=YOUR_VALUE

spec.template.metadata.labels[app]=YOUR_VALUE

Medium Ensure that Service Account Tokens are only mounted where necessary C-0190

spec.template.spec.automountServiceAccountToken=false

Medium Prefer using secrets as files over secrets as environment variables C-0207

spec.template.spec.containers[0].env[2].name (fhirserver)

High Apply Security Context to Your Pods and Containers C-0211

spec.template.spec.containers[0].securityContext.seLinuxOptions=YOUR_VALUE (fhirserver)

High Check if signature exists C-0237

spec.template.spec.containers[0].image (current: docker.io/hapiproject/hapi:v8.8.0-1@sha256:34c86fd5805df77c2b9d9c10538050b16ac3dc244352da0ebe4717f931330775) (fhirserver)

Medium Missing network policy C-0260

Name: recruit-list-migrate-be5c3f28

ApiVersion: batch/v1

Kind: Job

Name: recruit-list-migrate-be5c3f28

Namespace:

Severity Name Docs Assisted Remediation
Low Configured readiness probe C-0018

spec.template.spec.containers[0].readinessProbe=YOUR_VALUE (migrate)

Medium Ingress and Egress blocked C-0030
Medium Configured liveness probe C-0056

spec.template.spec.containers[0].livenessProbe=YOUR_VALUE (migrate)

Low Pods in default namespace C-0061

metadata.namespace=YOUR_NAMESPACE

Low Label usage for resources C-0076

metadata.labels[app]=YOUR_VALUE

spec.template.metadata.labels[app]=YOUR_VALUE

Medium Prefer using secrets as files over secrets as environment variables C-0207

spec.template.spec.containers[0].env[3].name (migrate)

High Apply Security Context to Your Pods and Containers C-0211

spec.template.spec.containers[0].securityContext.seLinuxOptions=YOUR_VALUE (migrate)

spec.template.spec.securityContext.fsGroup=YOUR_VALUE

spec.template.spec.securityContext.fsGroupChangePolicy=Always

High Check if signature exists C-0237

spec.template.spec.containers[0].image (current: ghcr.io/open-recruit/recruit/list:v11.3.0) (migrate)

Medium Missing network policy C-0260

Name: recruit-recruit-postgres

ApiVersion: apps/v1

Kind: StatefulSet

Name: recruit-recruit-postgres

Namespace: default

Severity Name Docs Assisted Remediation
High Resources memory limit and request C-0004

spec.template.spec.containers[0].resources.limits.memory=YOUR_VALUE (postgres)

spec.template.spec.containers[0].resources.requests.memory=YOUR_VALUE (postgres)

High Resource limits C-0009

spec.template.spec.containers[0].resources.limits.cpu=YOUR_VALUE (postgres)

spec.template.spec.containers[0].resources.limits.memory=YOUR_VALUE (postgres)

Low Immutable container filesystem C-0017

spec.template.spec.containers[0].securityContext.readOnlyRootFilesystem=true (postgres)

Medium Ingress and Egress blocked C-0030
High Resources CPU limit and request C-0050

spec.template.spec.containers[0].resources.limits.cpu=YOUR_VALUE (postgres)

spec.template.spec.containers[0].resources.requests.cpu=YOUR_VALUE (postgres)

Medium Linux hardening C-0055

spec.template.spec.containers[0].securityContext.seccompProfile=YOUR_VALUE (postgres)

Low Pods in default namespace C-0061

metadata.namespace (current: default)

Low Label usage for resources C-0076

metadata.labels[app]=YOUR_VALUE

spec.template.metadata.labels[app]=YOUR_VALUE

Medium Prefer using secrets as files over secrets as environment variables C-0207

spec.template.spec.containers[0].env[2].name (postgres)

Medium Ensure that the seccomp profile is set to docker/default in your pod definitions C-0210

spec.template.spec.containers[0].securityContext.seccompProfile.type=RuntimeDefault (postgres)

High Apply Security Context to Your Pods and Containers C-0211

spec.template.spec.containers[0].securityContext.readOnlyRootFilesystem=true (postgres)

spec.template.spec.containers[0].securityContext.seLinuxOptions=YOUR_VALUE (postgres)

spec.template.spec.containers[0].securityContext.seccompProfile=YOUR_VALUE (postgres)

spec.template.spec.securityContext.fsGroupChangePolicy=Always

High Check if signature exists C-0237

spec.template.spec.containers[0].image (current: docker.io/postgres:18.6@sha256:74935e72241653ca55e0414067e6d8763aceb8a810eb51b452253ec3dcfc4336) (postgres)

Medium Workload with ConfigMap access C-0258

spec.template.spec.containers[0].volumeMounts[1] (postgres)

Medium Missing network policy C-0260
Low Ensure CPU requests are set C-0268

spec.template.spec.containers[0].resources.requests.cpu=YOUR_VALUE (postgres)

Low Ensure memory requests are set C-0269

spec.template.spec.containers[0].resources.requests.memory=YOUR_VALUE (postgres)

High Ensure CPU limits are set C-0270

spec.template.spec.containers[0].resources.limits.cpu=YOUR_VALUE (postgres)

High Ensure memory limits are set C-0271

spec.template.spec.containers[0].resources.limits.memory=YOUR_VALUE (postgres)

Name: default

ApiVersion:

Kind: ServiceAccount

Name: default

Namespace: default

Severity Name Docs Assisted Remediation
Medium Access container service account C-0053

Name: recruit-fhir-server-postgres

ApiVersion: apps/v1

Kind: StatefulSet

Name: recruit-fhir-server-postgres

Namespace: default

Severity Name Docs Assisted Remediation
High Resources memory limit and request C-0004

spec.template.spec.containers[0].resources.limits.memory=YOUR_VALUE (postgres)

spec.template.spec.containers[0].resources.requests.memory=YOUR_VALUE (postgres)

High Resource limits C-0009

spec.template.spec.containers[0].resources.limits.cpu=YOUR_VALUE (postgres)

spec.template.spec.containers[0].resources.limits.memory=YOUR_VALUE (postgres)

Low Immutable container filesystem C-0017

spec.template.spec.containers[0].securityContext.readOnlyRootFilesystem=true (postgres)

Medium Ingress and Egress blocked C-0030
High Resources CPU limit and request C-0050

spec.template.spec.containers[0].resources.limits.cpu=YOUR_VALUE (postgres)

spec.template.spec.containers[0].resources.requests.cpu=YOUR_VALUE (postgres)

Medium Linux hardening C-0055

spec.template.spec.containers[0].securityContext.seccompProfile=YOUR_VALUE (postgres)

Low Pods in default namespace C-0061

metadata.namespace (current: default)

Low Label usage for resources C-0076

metadata.labels[app]=YOUR_VALUE

spec.template.metadata.labels[app]=YOUR_VALUE

Medium Prefer using secrets as files over secrets as environment variables C-0207

spec.template.spec.containers[0].env[2].name (postgres)

Medium Ensure that the seccomp profile is set to docker/default in your pod definitions C-0210

spec.template.spec.containers[0].securityContext.seccompProfile.type=RuntimeDefault (postgres)

High Apply Security Context to Your Pods and Containers C-0211

spec.template.spec.containers[0].securityContext.readOnlyRootFilesystem=true (postgres)

spec.template.spec.containers[0].securityContext.seLinuxOptions=YOUR_VALUE (postgres)

spec.template.spec.containers[0].securityContext.seccompProfile=YOUR_VALUE (postgres)

spec.template.spec.securityContext.fsGroupChangePolicy=Always

High Check if signature exists C-0237

spec.template.spec.containers[0].image (current: docker.io/postgres:18.3@sha256:78481659c47e862334611ccdaf7c369c986b3046da9857112f3b309114a65fb4) (postgres)

Medium Workload with ConfigMap access C-0258

spec.template.spec.containers[0].volumeMounts[1] (postgres)

Medium Missing network policy C-0260
Low Ensure CPU requests are set C-0268

spec.template.spec.containers[0].resources.requests.cpu=YOUR_VALUE (postgres)

Low Ensure memory requests are set C-0269

spec.template.spec.containers[0].resources.requests.memory=YOUR_VALUE (postgres)

High Ensure CPU limits are set C-0270

spec.template.spec.containers[0].resources.limits.cpu=YOUR_VALUE (postgres)

High Ensure memory limits are set C-0271

spec.template.spec.containers[0].resources.limits.memory=YOUR_VALUE (postgres)