Vulnerabilities In Use
In Use shows which vulnerable packages are actually used by your running workloads, so you can focus on the vulnerabilities that matter instead of everything that happens to be installed in an image.
Overview
A typical container image includes many packages that the application never touches. A vulnerability scan of the image reports CVEs for all of them, making it hard to know where to start.
In Use narrows that list. ARMO's node agent uses eBPF to observe file activity in each running container. Packages whose files are accessed at runtime are marked as In Use, and you can filter your vulnerability results to show only those packages.
How it works
- When a container is scanned, ARMO generates an SBOM (software bill of materials) listing every package installed in the image.
- When the container starts, the node agent observes which files it accesses for a set learning period.
- ARMO builds a filtered SBOM containing only the packages whose files were accessed.
- The vulnerability engine scans the filtered SBOM, producing a list of In Use vulnerabilities alongside the full list.
"Not In Use" means "not observed"In Use is based on what a container does during the learning period. If a code path, and the package behind it, is not exercised during that window, its vulnerabilities will not be marked In Use. Use the In Use filter to prioritize, not to dismiss vulnerabilities entirely.
Existing containers need a restartAfter installation, the node agent only observes containers that start or restart. Containers that were already running when ARMO was installed will show Missing runtime info until they are restarted. To get In Use data right away, restart the workloads you want covered.
Configure the learning period
In Use is controlled by two settings:
| Setting | Default | What it does | Example |
|---|---|---|---|
learningPeriod | 2m | How long the node agent observes a new or restarted container before publishing its first In Use results. | --set nodeAgent.config.learningPeriod=15m |
maxLearningPeriod | 180m | How long the node agent keeps observing the container and updating In Use results after the first publish. After this, results stop changing until the container restarts. | --set nodeAgent.config.maxLearningPeriod=200m |
Both values are duration strings (for example, 15m or 3h).
A longer learningPeriod gives more complete first results but delays them. A longer maxLearningPeriod catches code paths that run less often, such as scheduled jobs or rarely used endpoints.
To change these settings on an existing installation, run:
helm upgrade kubescape kubescape/kubescape-operator \
-n kubescape \
--reuse-values \
--set nodeAgent.config.learningPeriod=15m \
--set nodeAgent.config.maxLearningPeriod=200mPrioritize workloads with the In Use filter
Once a container's learning period ends, its In Use results appear in ARMO Platform.
Vulnerabilities: Workloads view
- Go to Vulnerabilities.
- Open the Vulnerabilities filter.
- Select In Use.
The table now shows only workloads with at least one vulnerability in a package that is in use, and the counts in the Vulnerabilities column drop to reflect only In Use vulnerabilities.
Missing runtime info
Some workloads may show a Missing runtime info warning. This means ARMO has no In Use data for that workload yet. Common causes:
- The container was already running when ARMO was installed and has not restarted since.
- The container is still within its learning period.
- The node does not support eBPF (see Limitations).
- The container exited before the learning period ended.
For step-by-step troubleshooting, see Missing runtime information.
View In Use data in the cluster
In Use data is also stored in the cluster as Kubernetes resources in the kubescape namespace. This is useful for debugging or for exporting results to other tools.
Full SBOMs (all installed packages)
kubectl get sbomsyft -n kubescape --show-labelsEach SBOM is labeled with the image it describes, for example kubescape.io/image-name=quay-io-kubescape-kubevuln.
Filtered SBOMs (In Use packages only)
kubectl get sbomsyftfiltered -n kubescape --show-labelsFiltered SBOMs are per container, and their labels identify the workload, namespace, and container, for example:
kubescape.io/workload-kind=Deployment,kubescape.io/workload-name=payment,kubescape.io/workload-namespace=acme-fitness,kubescape.io/workload-container-name=paymentVulnerability manifests
kubectl get vulnerabilitymanifests -n kubescape --show-labelsThe kubescape.io/context label tells you which list a manifest holds:
| Label value | Contents |
|---|---|
kubescape.io/context=non-filtered | All vulnerabilities in the image |
kubescape.io/context=filtered | In Use vulnerabilities for a specific container |
To list only In Use manifests for one workload:
kubectl get vulnerabilitymanifests -n kubescape \
-l kubescape.io/context=filtered,kubescape.io/workload-name=paymentTo see the CVEs in a manifest:
kubectl get vulnerabilitymanifests <manifest-name> -n kubescape -o yamlLimitations
In Use relies on eBPF, which has the following requirements and limits:
- Linux nodes only. eBPF is a Linux kernel feature, so In Use does not work on Windows nodes.
- Linux kernel 5.4 or later is required on each node.
- Environments without node access do not support eBPF, so In Use is not available on serverless or node-restricted platforms.
- Short-lived containers that exit before the learning period ends will not have In Use data.
- Coverage depends on activity. Packages are only marked In Use if their files are accessed during the observation window. See How it works.
FAQ
Why does a workload show zero In Use vulnerabilities?
Either none of its vulnerable packages were accessed during the learning period, or ARMO doesn't have runtime data for it yet. Check whether the workload shows Missing runtime info.
Can I dismiss vulnerabilities that aren't In Use?
Treat them as lower priority, not as resolved. A package that wasn't used during the learning period can still be used later, for example by a rarely triggered code path.

Updated 6 days ago
