Topic

DevSecOps

Security in the delivery pipeline: leaked secrets, static analysis, SBOMs, image and web scans, signed images and policy as code, joined in one pipeline.

  • 8 hands-on labs
  • Beginner to advanced
  • DevOps plan

Opens with the DevOps plan. Cloud, AI, Data and Teams include it too.

Labs

8 labs in order. Beginner to advanced.

Each lab is a real machine built only for you, with a guide and checks that read what you actually did.

  1. Beginner

    Secret scanning with gitleaks

    Scan a payments service and its whole history with gitleaks, stop a webhook from ever being committed, and keep a reviewed list of what is safe to ignore.

  2. Intermediate

    Static analysis with Semgrep

    Scan a Python service with Semgrep's standard rules, write a rule for your team's own mistake, fix every finding and end with a scan that is clean for the right reasons.

  3. Intermediate

    SBOMs and vulnerable dependencies

    Write a software bill of materials for an app and its image, find the libraries with known advisories, upgrade them, and record the one risk that has no fix.

  4. Intermediate

    Image scanning with Trivy

    Scan a container image and its Dockerfile with Trivy, find the old base, the vulnerable libraries and the key baked into it, and rebuild an image that passes.

  5. Intermediate

    Dynamic testing with ZAP

    Scan a running web app from outside with ZAP, fix the headers, cookie and form it flags, and keep a scan plan that accepts one reviewed alert and fails on anything new.

  6. Advanced

    Signing images with Cosign

    Sign a container image by its digest with Cosign, attach its SBOM as a signed attestation, and deploy through a script that refuses anything unsigned.

  7. Advanced

    Policy as code with Conftest and Kyverno

    Write a cluster's rules as code twice: Rego for Conftest to check manifests before deploy, and Kyverno ValidatingPolicies that make the cluster refuse anything that breaks them.

  8. Advanced

    Capstone: a secure delivery pipeline

    Put the whole track into one Gitea Actions pipeline: scan secrets, code and the Dockerfile, build on a separate Docker host, report the image's CVEs, sign it by digest, and stop a teammate's leaked webhook at review.

Learning paths

On these learning paths.