Pipeline Security: SLSA Provenance & SBOM Generation
Expert · 45 minutes · 100 points
In this expert-level lab, you will implement supply chain security practices by generating SLSA provenance attestations and Software Bill of Materials (SBOM) documents for a sample application. You will install and use industry-standard tools including syft, grype, cosign, and slsa-provenance to produce verifiable build artifacts. By the end, you will have a complete pipeline security workflow that documents what went into your software and proves how it was built.
What you’ll learn
- Install and configure SBOM generation tools (syft) and vulnerability scanners (grype) to analyze software artifacts
- Generate SPDX and CycloneDX format SBOMs for a sample Python application and validate their structure
- Create SLSA provenance attestation documents that record build metadata, inputs, and the build environment
- Perform vulnerability scanning against a generated SBOM and produce a structured security report
- Combine provenance and SBOM artifacts into a verifiable supply chain security bundle
How this lab works
- Start the lab: One click starts a container on your computer with a real terminal: nothing to install by hand, nothing to clean up.
- Work through 5 tasks: Each task says what to build or fix. You do it yourself, in a real terminal, with hints when you get stuck.
- Check your work: Check my work runs each task’s checks in your container and says what passed and what to fix.
- Finish and keep going: 100 points, your progress saved, and the next lab to try.
What it runs on
- Runs: A container on your computer, with a real terminal
- Image: ubuntu:22.04
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Docker Desktop installed and running
Topics: slsa, sbom, supply-chain-security, syft, grype, provenance, cyclonedx, spdx, ci-cd, devsecops
Create a free account to start this lab.