This document applies only to the Vulnerability Management engine, released April 20, 2022. Make sure you are using the correct documentation: Which Scanning Engine to Use
Understanding Vuln Management Stages
To create an effective vulnerability management plan, it’s important to recognize the various stages of the lifecycle that need to be addressed.
During the build phase, software vulnerabilities may be introduced when container images are defined and assembled. Container images are, by definition, immutable. Altering the contents of an image will update the ImageID and, thus, will be considered a different image by Sysdig Secure.
Even though unique container images (ImageIDs) cannot be modified, Sysdig can identify new vulnerabilities in running containers (for example, in Kubernetes workloads) as security feeds are continuously updated. For instance, a container image with no known vulnerabilities during its build phase might be affected by a critical vulnerability discovered ten days after being deployed into the runtime. The image remains unchanged, but new security information related to the software it contains has been found.
Sysdig uses the same fundamental concepts to analyze the contents of an image (SBOM) and match vulnerabilities but treats images differently based on their location. Sysdig can analyze the vulnerabilities of images in a development pipeline, stored in a container image registry, or used as the template for a running container, known as runtime workloads.
Stages: Pipeline - Registry - Runtime
Any analysis conducted before the registry phase is considered a pipeline. A clear example is CI/CD builds (Jenkins, Github, etc.), but also the execution of the sysdig-cli-scanner binary performed on a developer laptop or using a custom scanning script.
- Pipeline images do not have runtime context.
- The scan happens outside of the execution nodes where the agent is installed:
- External instrumentation
- Custom scripts or image scanning plugins
- Pipeline scans are one-off vulnerability reports; the information is a static snapshot with its corresponding execution date.
- If you want to evaluate a newer version of the image or reevaluate the same image with newer feed information, the analysis needs to be triggered again.
- Images analyzed using the sysdig-cli-scanner will show up in the Pipeline section of the vulnerability management interface.
The Container Registry scanner(s) allows you to integrate Sysdig with image registries from a range of vendors. Registry scanning provides an extra layer of defense between pipeline and runtime, where:
- Software that sits in the registry before being deployed is checked for newly discovered vulnerabilities
- Third-party software that may have been installed without going through pipeline scanning will be checked
Registry scans occur as scheduled through a cron job in the installation Helm chart once per week (Saturdays at 6:00 AM) by default.
- Batch scanning is done asynchronously and separately from the development pipeline; regardless of the time it takes to scan the batch, the pipeline is unaffected.
Runtime workloads are executed using a container image. Accessing the Runtime section of the Vulnerabilities menu, you will be able to see those images and their vulnerability and policy evaluation.
- Runtime workloads are located in an execution node and are being monitored by a Sysdig agent/node analyzer, for example a Kubernetes node that is instrumented using the Sysdig agent bundle.
- Runtime workloads will offer a live, auto-refreshing state. This means:
- Workloads that are no longer running will be removed from the runtime view
- Vulnerabilities and policies evaluations will automatically refresh without any user interaction, offering always the most up-to-date information known.
- At least once per day
- Runtime workload have a runtime context associated with them, i.e. Kubernetes cluster and namespace.
- Workloads analyzed during runtime will show up in the Runtime section of the vulnerability management interface.
Sysdig’s Vulnerabilities module addresses the top requirements for effective vulnerability management:
- Provides highly accurate views of vulnerability risk at scale
- Rich details provide precision about vulnerability risk (ex. CVSS vector, score, fix age) and insights from multiple expert feeds (ex. VulnDB)
- Access to public exploits allows you to verify security controls and patch efficiently
- Prioritized risk data focused on the vulns that are tied to the packages loaded at runtime
- Accepting risks when the vulnerability matching does not apply for your particular deployment, or you want to postpone remediation
At this time, the Vulnerability Management engine supports: CI/CD pipeline & runtime image scanning, policies, notifications, and reporting for runtime. Registry scanning does not yet support policies.
Getting Started with Vulnerabilities
For full vulnerability coverage, ensure you have completed the Sysdig Secure steps, so you have:
The correct Sysdig agent, which includes the vuln management engine and runtime scanner.
The installed host scanner for hosts
The downloaded cli-scanner for pipeline.
The installed container registry scanner(s) for registries.
Log in to Sysdig Secure with
Advanced User+permissions and select
The out-of-the-box policies for Pipeline and Runtime vulnerabilities will work without further setup.
Choose Pipeline, Registry, or Runtime to see the scanning results.
Choose Reporting to configure schedules for creating downloadable reports on runtime vulnerability results.
To create or edit Pipeline or Runtime Vuln Policies and Rule Bundles, select the relevant links from the Policies tab in the navigation bar.
To accept the risk of detected vulnerabilities, configure an acceptance based on scope, justification, and length of time. See Understanding and Usage steps.
Understanding Risk Acceptance for Vulnerabilities
As of November, 2022, users can choose to accept the risk of a detected vulnerability or asset. Accept Risk is available for both Runtime and Pipeline, and for specific CVEs or specified hosts or images.
Accept Risk requires Sysdig Secure SaaS to be installed with:
sysdig-deployHelm chart version 1.5.0+
Because Accept Risk is applied to both pipeline and runtime vuln results impartially, the required versions of both components are required.
If the minimum enablement requirements are not met, the
Accept Risk button and panel will show in your interface, but will not activate. The created Acceptance will appear in
Pending status for 20 minutes, then disappear as if you had never created it.
Check Your Versions
sysdig-deploy Helm Chart: Must be 1.5.0+
helm list -n <namespace> (default namespace is
$ helm list -n sysdig-agent NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION sysdig-agent sysdig-agent 5 2022-11-11 17:57:54.109917081 +0100 CET deployed sysdig-deploy-1.5.0
Upgrade Helm Chart Instructions here
Check Cli Scanner: must be 1.3.0+
Upgrade Cli Scanner: Instructions here
When to Use
When faced with a large number of reported vulnerabilities, organizations need to know which are the most relevant for their security posture. Sysdig already highlights critical vulns with a fix available, and vulns that occur in images actually in use.
An additional feature is the targeted ability to accept the risk of a vuln and not count it towards a policy violation, for example, when:
- An internal security team has analyzed the vuln and declared it a false positive
- The preconditions of the vuln don’t apply
- Deployment in production is required and it is reasonable to postpone the fix
What Types of Risk
You can accept risk for different entities:
- Individual CVE IDs
- Container images
Accepting Risk in the context of vuln management applies an exception to the Vulnerability Policy. Adding an accept to a CVE doesn’t make the CVE disappear. It still shows in the list, but voids the policy violation associated with that CVE.
When accepting risks it is important to:
- Be careful with the accept scope or context; overly broad exceptions can create false negatives
- Sysdig offers several scoping options for the accepts created
- Remain aware of what is accepted so it doesn’t become a visibility gap
- The Sysdig UI presents clear indications of what is accepted and why
Appendix: Supported OSes, Packages and Languages
The Vulnerability Management scanners can scan any OS, but for the following they will also report vendor-specific information.
Amazon Linux 2022/2023
Ubuntu kinetic (v22.10)
Ubuntu Lunar (v23.04)
- Kubernetes Runtime and Hosts
- Supported container runtimes:
- Docker daemon
- Helm chart
- Plain daemonset
- Runtime scanner
- Runtime scanner + benchmark runner
Supported Container Image Formats
- Docker Registry V2 - compatible
- Docker Daemon
- Docker Archive (tar)
- OCI Archive
Supported Package Types
- Java Maven
- Golang (built with go 1.13+)
- Pypi (Python)
- NPM (JS)
- Ruby Gems
- NuGet (.Net)
- Cargo (Rust)
- Composer (PHP)
Supported Container Image CPU Architectures
- (others coming soon)
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.