Findings: Kubescape's results per workload
The Findings view shows what Kubescape found in each workload of a cluster: the vulnerabilities in its images and the controls its configuration fails. netatlas starts no scan. It reads the results Kubescape stores in the cluster, with the login it reads that cluster with.

Install Kubescape
Kubescape is a separate project. You install it in each cluster you want findings for. A cluster without it shows Kubescape is not installed in this cluster on its Findings page, with a link to this section.
netatlas 0.3.1 was tested with Kubescape's Helm chart kubescape-operator, version 1.42.0, which serves the API version v1beta1. No other version was tested.
The values
Write kubescape-values.yaml. The first and last values are always needed. Delete the others if they do not apply to you; kubescape: and skipUpdateCheck: true go together.
capabilities:
continuousScan: enable
# Only where Kubescape's node agent does not run:
nodeSbomGeneration: disable
# Only to send nothing to version-check.ks-services.co:
kubescapeOffline: enable
kubescape:
skipUpdateCheck: true
continuousScanning:
matchingRules:
namespaces: []
| Value | What it does | When to set it |
|---|---|---|
capabilities.continuousScan: enable |
Kubescape stores a full scan of each workload, with the name of every failed control and the paths to fix. With it off, Kubescape stores only each failed control's ID and severity. It also scans a Deployment again when the Deployment changes. | Always. |
continuousScanning.matchingRules.namespaces: [] |
An empty list means every namespace. The chart's default is the namespace default only. The chart's rule for continuous scanning matches Deployments. |
Always. |
capabilities.nodeSbomGeneration: disable |
The chart's default is enable: Kubescape then waits for its node agent to list the packages in each image, and scans no image without it. With disable, Kubescape's image scanner pulls each image and lists its packages itself. |
Only where Kubescape's node agent does not run. It does not start on Docker Desktop's kernel, so a kind cluster on Docker Desktop needs it. |
capabilities.kubescapeOffline: enable and kubescape.skipUpdateCheck: true |
Each stops one daily report or update check to version-check.ks-services.co: the first the operator's, the second the scanner's, which is a separate switch. |
Only when you want nothing sent there. |
To send no result to a provider either, leave server, account and accessKey empty, which is the chart's default. Kubescape then connects to no provider, and its chart keeps the results in the cluster.
Install it
Run this in each cluster:
helm upgrade --install kubescape kubescape-operator --repo https://kubescape.github.io/helm-charts/ --version 1.42.0 -n kubescape --create-namespace -f kubescape-values.yaml
Kubescape serves its results through an API that the cluster's API server forwards to Kubescape's storage. netatlas can read them once this says True under AVAILABLE:
kubectl get apiservice v1beta1.spdx.softwarecomposition.kubescape.io
Results then take a few minutes. Kubescape's image scanner is ready only after it has downloaded its vulnerability database, which took about 3 minutes in the install tested. Why a side has no results says what to expect before then.
The chart installs more than netatlas reads. Two of its parts reach across the whole cluster, and netatlas reads neither:
- An admission webhook. Kubernetes sends it every pod that is created, changed or deleted, every
exec,attachandport-forwardinto a pod, every change to a role or a role binding, and every new NetworkPolicy. - The node agent, a DaemonSet with a pod on every node. The chart runs it while any value under
capabilitiesthat needs it isenable, and by default five are:relevancy,runtimeObservability,networkPolicyService,nodeProfileServiceandseccompProfileService. Without it, setcapabilities.nodeSbomGeneration: disable, or Kubescape scans no image (The values).
To install Kubescape without the webhook, add this to kubescape-values.yaml. The install this page was tested with kept the webhook.
capabilities:
admissionController: disable
Kubescape's own documentation describes the rest.
The hosts it calls
The install tested, with the values above, is set up to call these hosts:
| Host | Called by | Why |
|---|---|---|
quay.io |
the cluster's nodes | They pull Kubescape's images. |
grype.anchore.io |
the kubevuln pod, Kubescape's image scanner |
It downloads the vulnerability database of Grype, the scanner it uses, each time it starts. |
github.com |
the kubescape pod, Kubescape's configuration scanner |
It downloads its policy library on every scan. GitHub serves the files from its own asset host. |
the registry of each workload's images, for example docker.io |
the kubevuln pod |
It pulls each image to list its packages, as it does with capabilities.nodeSbomGeneration: disable. |
version-check.ks-services.co |
the operator and kubescape pods |
A daily report and an update check, which the two values above switch off. |
What the Findings view shows
Choose Findings in the views column, under Security. It shows one cluster at a time: choose the cluster in the dropdown under the name netatlas, at the top of the views column, which is the side menu. With All clusters chosen, the view says Choose a cluster to see its findings.
Above the table, Kubescape · newest scan gives the time of the newest scan of anything in the cluster that netatlas joined to a workload. Times show as HH:MM in your browser's time zone. In the views column, Kubescape, 1 of 2 under Data sources counts the clusters netatlas could read Kubescape in, out of all.
The Overview
The Overview has two columns for findings, Vulnerabilities in workloads and Failed controls in workloads. Each is headed critical · high, and a cell reads for example 3 · 11: the critical and high counts of the cluster's totals (How netatlas counts).
A cluster whose Kubescape cannot be read says why in one cell across both columns: reading Kubescape, Kubescape is not installed, may not read Kubescape's results or Kubescape is not answering. A column that no workload has a result in says no results yet, or cannot read when Kubescape holds a result for that column that netatlas could not read, or netatlas cannot read the cluster's Pods to join the results to (Why a side has no results). netatlas never shows a zero for something it could not read.
The list of what needs attention starts with Open and vulnerable: <cluster>: N open workloads with critical or high vulnerabilities. It opens the cluster's Findings with only open workloads, the lowest severity high and the vulnerabilities side chosen. While Kubescape is not answering, the count is from the last findings read, and the item adds Findings read at 14:01.
The Workloads tab
The tab lists the cluster's workloads in groups by namespace, the most severe first: by critical, then high, medium and low, and never by their sum. A workload with no counts on either side comes last. Each group starts with its total, N workloads, total, and how many of them are open.
Each row has the workload's name, which opens its page, its kind, an open mark and two sides, Vulnerabilities and Failed controls. Each side has the counts of critical, high, medium and low, and the time of its scan. A critical or high count above 0 stands out.
- Vulnerabilities are those in the images of the workload's own containers.
- Failed controls are the controls Kubescape checked on the workload's configuration and that failed.
A workload is open when no NetworkPolicy and no ALLOW AuthorizationPolicy restricts who may call it: none selects it for ingress, or the ones that do let every caller in. Open workloads says what the open mark means, and what open and vulnerable adds.
Where a side has no counts, its cell says not scanned, or cannot read when the result was there but netatlas could not read it (When Kubescape cannot be read). A group says none scanned when none of its rows has counts on that side. Under the scan time of the vulnerabilities, a row adds 1 of 2 containers scanned when only some of the workload's own containers have a result: its counts then add up those containers alone.
Kubescape leaves out some namespaces by default. The chart's value excludeNamespaces is kubescape,kube-system,kube-public,kube-node-lease,kubeconfig,gmp-system,gmp-public, so a workload in one of them says not scanned. Why a side has no results lists the other causes.
The filters are in the URL, so a link keeps them, and they work without scripts. With scripts, each choice applies at once. Without them, a Filter button appears and sends the filters. Enter in Search sends them either way.
- Namespaces: the namespaces to show.
- Lowest severity: keeps the workloads with a count at that severity or above, on the sides chosen.
- In: both sides, vulnerabilities only, or failed controls only.
- Open only: keeps the open workloads.
- Scanned only: keeps the workloads with counts on the sides chosen.
- Search: a part of a workload's name, sent with Enter.
When the table has no row, it says why. No workload matches these filters. means the filters leave out every workload of the cluster. No pod runs in this cluster, so it has no workload to list. means the cluster has none. Cannot read Pods: netatlas's role does not allow it. Without them, no workload can be listed. means netatlas may not read the cluster's Pods (A kind netatlas may not read).
A workload's page
The name of a workload opens its page, with the namespace, the kind and the open mark, and for an open workload the reason it is open. It starts with three figures: its vulnerabilities, its failed controls, and the number of Istio's containers it has, which appears only for a workload that has some. Where only some of its own containers have a result, the vulnerabilities figure names the others: 1 of 2 containers scanned, not worker. A figure with no counts says not scanned or cannot read.
Under Containers, each of the workload's own containers shows its image, its counts of every grade, including a grade with 0, and the time of its scan. A container with no counts says not scanned, or cannot read when Kubescape holds a result about it that netatlas could not read. Below it is the image's list of vulnerabilities: the CVE, its severity, the package and its version, and the version that fixes it. The list has the most severe first. Has a fix shows only those with a fix, and Show all brings the rest back. A fix that names no version reads fixed, version not given, and a vulnerability that Kubescape does not call fixed reads not fixed.
Under Failed controls, each control has its ID, which links to Kubescape's documentation page for that control, its name, its severity and its paths to fix: the path Kubescape gives to change, or else the path that failed. The critical and high controls show at once, and the rest are behind Show the other N with their severities. A control shows two paths, then N more paths, which opens the rest in place. A control with no stored path reads no path to fix given. Without a full scan, the table has only the ID and the severity, and the page says to turn continuous scanning on. A scan that failed no control says No failed controls. When the workload has no counts for its controls, the section says not scanned or cannot read.
When an image's list or a workload's full scan is larger than 8 MiB, a note says so, and the counts still show. A note also says when a list or a scan cannot be shown, with the reason after a colon. netatlas could not get Kubescape's list for this image: <reason>. means the request failed, for example because Kubescape's storage did not answer or the API server answered 500. netatlas could not read Kubescape's list for this image: <reason>. means the answer lacked something netatlas needs. A workload's scan has the same two notes, with scan of this workload in place of list for this image. An image's list that has been removed from Kubescape says Details not available. While Kubescape is not read, netatlas asks it for no list and no scan: the page shows the counts last read, if any, and the state of Kubescape.
Istio's containers
The containers Istio adds to a pod (istio-proxy, istio-init and istio-validation) are listed apart on a workload's page. They are not in the workload's totals, in the cluster's totals or in any mark. Kubescape's cleanup deletes their results when its storage restarts and every 6 hours, until its next scan, so totals with them would fall and rise during the day. The sidecar image is also the mesh's to upgrade, and is the same in every workload.
Other resources
The Other resources tab lists Kubescape's configuration results about things that are not workloads, for example Services, ConfigMaps, ServiceAccounts, NetworkPolicies, Namespaces and Nodes. Each row has the kind, the namespace, the name and the failed controls by severity, with the time of the scan.
A result is listed under the namespace of the thing it is about. A result about a ServiceAccount with its role and binding is listed under the ServiceAccount's namespace, and its row names the role and the binding. A thing with no namespace, a Namespace for example, shows cluster-wide, and it is listed only while no namespace is chosen. Only the Namespaces, Lowest severity and Search filters apply to this tab.
When the table has no row, it says why. No resource matches these filters. means the filters leave out every resource there is. Kubescape has no configuration results about other resources yet. means there is none to show. Kubescape has no configuration results about other resources that netatlas can read. means the same where Kubescape also holds a configuration result netatlas could not read, which may be about another resource.
How netatlas counts
- netatlas counts per workload. A result joins a workload by its namespace, kind and name. A vulnerability result also names a container, which must be one of the workload's containers now, so the old result of a renamed container is not counted. Where a container has two results, netatlas uses the newer.
- A workload's counts add up its own containers. One vulnerability in an image that three workloads run counts three times, once in each workload, and the cluster's total adds the three. Kubescape's own sums can differ, for example because they also count Istio's containers, and the results of workloads that are gone until its cleanup removes them.
- The columns are critical, high, medium and low. Kubescape's grades below low, negligible and unknown, are counted together as
other, which a workload's page shows and the table does not. - A workload with no pod is not a workload for netatlas, for example a Deployment scaled to zero. Kubescape's results about it are neither listed nor counted.
When Kubescape cannot be read
netatlas asks Kubescape every 60 seconds. What each answer shows:
| What netatlas says | What it means |
|---|---|
Reading Kubescape's results. |
netatlas has not finished its first read of the cluster. |
Kubescape is not installed in this cluster |
The cluster has no Kubescape API. It links to Install Kubescape. The results netatlas held are dropped. |
netatlas may not read Kubescape's results here |
The login netatlas reads the cluster with has no rule for Kubescape's results. The page shows the command for each login, this cluster's first (Grant the access again). The results netatlas held are dropped. |
Kubescape has not answered since 14:02: <reason>. |
The last read failed, for example Kubescape's storage did not answer while its storage restarts, or the API server answered 500. The page keeps the last results read, under These are the findings read at 14:01., and the read goes on. |
netatlas could not read 1 of Kubescape's results, so it is not counted. or netatlas could not read 3 of Kubescape's results, so none of them is counted. |
A result was emptied or lacks a field netatlas needs. Kubescape answers its lists with emptied results unless the request asks for the full ones, which netatlas does. If a Kubescape answers emptied results anyway, netatlas shows no zero for them. Under Which results, and why, one line gives each result's namespace, name, side and reason: <namespace>/<name> (vulnerabilities): <reason> or <namespace>/<name> (configuration): <reason>, or A result with no name (<side>): <reason> when its metadata has no namespace or no name. For example, shop/deployment-recommender-app (vulnerabilities): it has no kubescape.io/timestamp annotation in seconds. The reason of an emptied result is Kubescape's API answered it without its results. A result about a workload makes that side of the workload's row say cannot read, and a result about one of its own containers does so on that container's card too. A result about one of Istio's containers marks only that container's card, and a result that names no workload, or names a thing that is not a workload, marks no row. The banner links to this section. |
Why a side has no results
When no workload has a result on a side, the Findings page says Kubescape has no vulnerability results yet. or Kubescape has no configuration results yet. above the table, and the Overview says no results yet. A zero would read as none found, so netatlas shows none. A result that joins no workload, and a result netatlas could not read, count for nothing.
The causes below are those of a side Kubescape holds no result for.
No vulnerability results:
- Kubescape has not scanned an image yet. It starts scanning only after its image scanner has downloaded its vulnerability database, and then scans the image of each running pod. A new pod's image takes seconds to minutes.
- Kubescape's node agent does not run, and the install keeps
capabilities.nodeSbomGenerationatenable. Kubescape then waits for the node agent and scans no image. Set it todisable(The values). - The workloads are in a namespace Kubescape leaves out (The Workloads tab).
- A result that Kubescape does not mark
readyis not counted.
No configuration results:
- No scan has run yet. With the chart's defaults and no provider, Kubescape starts no scan when it is installed. It runs two scheduled scans, each once a day, at a time the chart picks when you install. With continuous scanning on, it also scans the Deployments when its operator starts, and a Deployment again when it changes.
- The workloads are in a namespace Kubescape leaves out.
A side Kubescape holds a result for that netatlas could not read is a different case, because waiting for a scan would not change it. The page then says Kubescape has vulnerability results that netatlas cannot read. or Kubescape has configuration results that netatlas cannot read. instead, with a link to When Kubescape cannot be read, and the Overview says cannot read. The Overview says cannot read too when netatlas cannot read the cluster's Pods, which it needs to join a result to a workload. The page then has no note for either side, and its table says Cannot read Pods: netatlas's role does not allow it. Without them, no workload can be listed.
Full scans, which give the names of the failed controls and the paths to fix, exist only with continuous scanning on. Without them, a workload's page lists each failed control by its ID and severity, and says Kubescape stores control names and paths to fix only with continuous scanning on: set capabilities.continuousScan: enable in its chart values.
Grant the access again
netatlas reads Kubescape's results with the login it reads the cluster with, and that login needs rules for them. A cluster whose access was set up before 0.3.0 has no such rules, so its Findings page says netatlas may not read Kubescape's results here. New rules take effect when you apply them. netatlas then reads Kubescape on its next read, within a minute.
Apply them the way you set the access up. The page shows the three ways, with the way for this cluster first, and each way needs its own command:
-
A cluster read with a token (
login.type: token): apply the reader access again, as this release's tag holds it, so the rules are the ones this version reads with.kubectl --context <cluster-to-read> apply -f https://raw.githubusercontent.com/kitecorp/netatlas/v0.3.1/deploy/reader-access.yaml -
A cluster read with an EKS access entry (
login.type: eks): apply the Terraform example of this release again, inexamples/terraform/eks-accessof that cluster's checkout, where Terraform keeps its state, with the inputs you gave it the first time (EKS).git fetch https://github.com/kitecorp/netatlas.git tag v0.3.1 && git checkout v0.3.1 && terraform init && terraform applyA new clone holds no state, so Terraform there would try to create the access entry, the ClusterRole and the ClusterRoleBinding again, and fail because they exist. Without that cluster's checkout, clone this release's tag as EKS shows, run
terraform initin the example's folder, and import the three with the inputs you gave the first time before you apply:terraform import -var 'cluster_name=<cluster_name>' -var 'netatlas_role_arn=<netatlas_role_arn>' aws_eks_access_entry.netatlas '<cluster_name>:<netatlas_role_arn>' terraform import -var 'cluster_name=<cluster_name>' -var 'netatlas_role_arn=<netatlas_role_arn>' kubernetes_cluster_role_v1.netatlas_reader netatlas-reader terraform import -var 'cluster_name=<cluster_name>' -var 'netatlas_role_arn=<netatlas_role_arn>' kubernetes_cluster_role_binding_v1.netatlas_readers netatlas-readers -
The cluster netatlas runs in (
login.type: inCluster): upgrade its chart.helm upgrade netatlas oci://ghcr.io/kitecorp/charts/netatlas --version 0.3.1 --namespace netatlas --reuse-values
The rules are the same for all three. They are the last three rules of reader-rules.yaml, and The role lists everything the role grants.
What netatlas reads from Kubescape
netatlas reads four kinds of the API group spdx.softwarecomposition.kubescape.io, version v1beta1, with only the verbs it uses: list on vulnerabilitymanifestsummaries and workloadconfigurationscansummaries, get and list on vulnerabilitymanifests, and get on workloadconfigurationscans. It never watches them, because a watch sends the same emptied results as a plain list, and it never reads Secrets. It writes nothing to Kubescape and starts no scan.
| What it reads | When | What for |
|---|---|---|
The API's own description, /apis/spdx.softwarecomposition.kubescape.io/v1beta1 |
Every 60 seconds | To tell whether Kubescape is installed. Any signed-in login may read it. |
vulnerabilitymanifestsummaries |
Every 60 seconds | One small result per container: its image and its counts by severity. |
workloadconfigurationscansummaries |
Every 60 seconds | One small result per scanned resource: its failed controls. |
vulnerabilitymanifests, one image's list |
Only when a workload's page is opened | The image's list of vulnerabilities. |
workloadconfigurationscans, one workload's scan |
Only when a workload's page is opened | The names of the failed controls and their paths to fix. |
The two lists of summaries are read with resourceVersion=fullSpec and limit=500, and with continue for each next page, because only that request gives the counts. The other two kinds are read only for the page that asks.
Every read has a limit of 8 MiB and 10 seconds. An image's list can be large: when it is larger than the limit, netatlas shows the counts alone. It keeps the 16 lists read last, cut down to what the page shows. Before it uses a kept list, it asks Kubescape for the image's version, which is small, so a list that Kubescape has rewritten is read again. Each image's list is read once at a time, however many pages ask for it.