SBOM and vulnerability detection ΒΆ
Nais connects known vulnerabilities to your deployed workloads. Use Nais Console or the CLI to inspect findings.
An SBOM lists the components in an image. A finding means one of those components matches a known vulnerability.
Where do I start? ΒΆ
graph TD
Start["Where do I start?"] -->|"No SBOM yet"| SBOM["Generate an SBOM"]
Start -->|"Inspect findings or find workloads affected by a CVE"| Clients["Console or CLI"]
Start -->|"Fix vulnerabilities in my app"| MCP["Use Nais MCP"]
click SBOM "/services/vulnerabilities/how-to/sbom/" "Set up SBOM generation"
click Clients "/services/vulnerabilities/explanations/sbom-and-vulnerabilities/#console-cli-and-api" "Choose Console or CLI"
click MCP "/services/vulnerabilities/explanations/sbom-and-vulnerabilities/#use-findings-with-your-coding-assistant" "Use findings with your coding assistant"From image build to Nais ΒΆ
π¦ Your build
An SBOM lists the components in your image. Your build signs it and stores the attestation in the registry.
π Vulnerability detection
Nais checks those components against known vulnerability data. New data triggers rescanning without a new build.
π§ Console, CLI and API
Inspect deployed findings in Console or list them with
nais vulnerability. Find every workload affected by a CVE withnais vulnerability search <CVE> --my-teams, or-Afor all teams. Both clients use Nais API.π§βπ» Nais MCP
Ask your coding assistant to fix vulnerabilities in your app. It reads what can be fixed from Nais and updates your code for you to review.
Results update asynchronously when images or vulnerability data change.
SBOM format and scan scope
The SBOM (software bill of materials) uses CycloneDX. Its signed attestation binds it to the image digest; Nais verifies it before scanning.
Coverage includes Applications and Jobs, including scaled-to-zero applications and jobs between runs, but not platform workloads or injected sidecars.
Understand and assess findings ΒΆ
π¦ Affected packages
See the package, vulnerability, severity and available fix. One vulnerability can affect several packages or workloads.
π Scan coverage
Distinguish completed scans from pending processing, missing SBOMs and failures. No findings does not necessarily mean a completed scan.
π§ Assessments and suppressions
Record your team's decision and the reason for a suppression in Console. Suppression does not fix the vulnerability.
A finding identifies an affected component; it does not by itself prove that vulnerable code is reachable or exploitable in your workload.
| Information | Meaning |
|---|---|
| Severity | Severity reported by the advisory source. |
| EPSS | FIRST's estimated probability of exploitation in the next 30 days. |
| KEV | Inclusion in CISA's Known Exploited Vulnerabilities catalog, not proof your workload is exploitable. |
Assessments and suppressions apply to a workload, environment, image repository, package and vulnerability. They can survive package upgrades and image rebuilds within that scope; other workloads do not inherit them automatically. Your team keeps its assessments valid as the application changes.
Scan coverage is not a clean bill of health ΒΆ
Use findings with your coding assistant ΒΆ
With the Nais CLI's MCP server (nais alpha mcp serve) configured and your repository open, you can ask: "Fix vulnerabilities in this app."
sequenceDiagram
accTitle: Fix vulnerabilities in your application with Nais MCP
accDescr: Your coding assistant reads what is deployed and what can be fixed from Nais, updates dependencies in your repository and runs your tests. You review and deploy. The assistant then checks that the new image is running and scanned, and reads the updated findings.
actor You
participant Assistant as Coding assistant
participant Nais as Nais API via MCP
You->>Assistant: Fix vulnerabilities in this app
Assistant->>Nais: Read deployed findings
Nais-->>Assistant: Affected packages, installed and fixed versions, suppressions and scan coverage
Assistant->>Assistant: Update dependencies and run tests in your repository
Assistant-->>You: Changes to review
Note over You,Assistant: You review and deploy the changes.
You->>Assistant: Check the new deploy
Assistant->>Nais: Check the new image digest
Nais-->>Assistant: Image running and scanned, updated findings
Assistant-->>You: Remaining findings to reviewThrough Nais MCP, your assistant sees what is deployed and what can be fixed: affected packages per image, installed versions, reported fix versions, findings without a known fix, suppressions and scan coverage. It compares this with your repository, updates dependencies and runs your tests. You review the changes and deploy.
After the deploy, the assistant checks that the new image is running and scanned, then reads the updated findings. A successful check does not mean zero findings.
The MCP server only reads from Nais. Your assistant edits code in your repository, but nothing is deployed or suppressed without you.