Skip to content
Français
Sync not enabled: your progress stays in this browser My learning
Select theme
Français

DevSecOps training: security across the whole delivery

  • 10 min

By updated

Improve this page

This training teaches you to build security into every step of software delivery, from design to runtime (execution in production), and to prove that each control works. DevSecOps means placing these controls inside the delivery chain instead of leaving them to an end-of-project audit. The training teaches a method: which risk you are dealing with, which control covers it, where to place it and how to show that it really blocks. It has 17 modules and 134 lessons, or about 87 hours on the Complete track. It is aimed at a DevOps engineer, a sysadmin or a developer who already knows Linux, Git, containers, CI/CD and the basics of Terraform.

What does the DevSecOps training contain, and how long does it take?

The programme brings together 134 lessons spread over 17 modules, for about 87 hours of work on the Complete track. The modules follow the delivery cycle and, apart from the Presentation, are grouped into four levels, d1 to d4, described in the section on how the programme is organised.

What you followVolume (Complete track)
Modules17
Lessons134
Labs31
Lessons with a check quiz131
Estimated durationabout 87 hours
Practicelabs played with the dsoxlab CLI: those of the common thread, in the devsecops-dsoxlab-training repository, and twelve taken from the Python, Terraform, Docker and Kubernetes catalogues

These volumes describe the Complete track, which contains the whole training. The Essential track is a shorter subset, described in the section on the two tracks; the My course page shows the lessons of each. The hours add up reading, labs and quizzes: they are orders of magnitude, not a reading time.

Who is this training for?

The training assumes the DevOps basics are in place and does not teach them again. If one of the prerequisites below is missing, follow the training that covers it first: the DevSecOps modules point to it instead of repeating it.

PrerequisiteWhyWhere to learn it
Linuxcontainers and runners (the machines that run pipelines) run on itLinux training
Gitevery control starts at the repositoryGit training (in French)
Containersimage, registry, executionDocker training
CI/CDthe pipeline is an asset to secureGitHub Actions or GitLab CI
IaCwe scan TerraformTerraform training (in French)
Kubernetes, for level d3 on the Complete trackthe deployment and runtime lessons and the Kubernetes labs assume kubectl, a namespace and a DeploymentKubernetes training

Kubernetes is not a prerequisite to get started, and the Essential track does not ask for its basics. Only level d3 on the Complete track assumes them: the "Controlled deployment" module has no lesson on the Essential track, labs V8 and V9 set up a local kind cluster (a Kubernetes that runs in Docker containers on your workstation), and the labs taken from the Kubernetes training run on virtual machines where a cluster, installed with the kubeadm tool, is already ready. Follow the Kubernetes training before level d3 if you aim for the Complete track.

The Essential track has a single exception: the V11 challenge requires, in a runbook (the written procedure to follow during an incident), the kubectl rollout undo command, which one Essential lesson presents.

To place yourself, ask four questions: can you write a multi-stage Dockerfile, read a CI workflow file, revert a pushed commit, and say what terraform plan does? Four yeses: start with the "Culture and flow" module. One no: go through the matching training first; a targeted reading of its modules is often enough.

A method, not a catalogue of scanners

A course organised tool by tool, with a chapter on static code analysis (SAST), one on testing the running application (DAST) and one on image scanning, leaves the reader to link each scanner to the risk it covers. Here, every control is presented in the same order: the risk, the class of control (the family of tools that answers it, such as static analysis), where to place it in the chain, the result it produces and how to handle that result. The tool comes last, and a single one serves as the reference implementation for each need.

NeedReference toolWhy this one
Secrets in the codeGitleaksfree, fast, reads the Git history
Static analysisSemgrepreadable rules, SARIF output, the standard results format
Dependencies, image, IaCTrivya single binary for three scans
IaC misconfigurationCheckovwide Terraform coverage
Inventory and signingSyft, Cosignopen standards, Sigstore (the free artifact-signing project)
Encrypted secrets in GitSOPSfiles reviewed in code review
ComplianceCINC AuditorInSpec profiles (compliance rules written as code), free distribution
Runtime detectionFalcograduated project of the CNCF, the foundation that hosts Kubernetes

All these tools are open source and run locally, with no paid cloud. The alternatives (detect-secrets, KICS, OpenSCAP, Tetragon) remain documented on the site, outside the training.

One single project, notes-api, hardened version after version

Rather than isolated exercises, the training follows a single product, notes-api, a small Flask API that stores notes. You evolve it through twelve versions, from V0 to V11, plus a side version V9b: a first pipeline, a threat model, security gates (controls that make the pipeline fail), an identity without a secret, a signed image that a cluster can refuse, and finally a reliability objective (SLO) and delivery performance metrics (DORA). Each version is a lab whose five checks judge the result produced, never the shape of your YAML alone.

The common thread page lists the thirteen labs and, for each, the lesson that teaches the practice: you do it right after that lesson.

Eight lessons, taken from the Python, Terraform, Docker and Kubernetes trainings, carry labs from those catalogues, twelve in all:

  • two Python labs, carried by the pipeline-ci and sbom lessons of level d2, on the Essential and Complete tracks;
  • two Terraform labs, carried by two lessons of the "Build, containers and IaC" module, at level d2: the first on the Essential and Complete tracks, the second on the Complete track only;
  • one Docker lab, carried by the lesson on the user of an image, at level d2, on the Essential and Complete tracks, on a virtual machine;
  • seven Kubernetes labs, spread over three lessons of level d3, on the Complete track.

Which track should you choose: Essential or Complete?

The Essential track keeps the backbone: one lesson per indispensable practice, from culture to container runtime, without the Kubernetes part of deployment. The Complete track adds the deep dives, the Kubernetes part of deployment and detailed governance. Two modules have no lesson on the Essential track: "Controlled deployment" and "Scale across teams".

The choice of track also decides which common-thread versions you practise, and therefore what you prove. For these versions, the objectives are not spread the same way across the two tracks, as the table shows.

What you practise in the common threadVersionTrack
Analyse the risks of an applicationV1Essential and Complete
Block secrets, flaws and vulnerable dependencies before the mergeV2 and V3Essential and Complete
Build an unprivileged imageV6Essential and Complete
Take a vulnerability through to closure, with dated exceptions and a VEXV10Essential and Complete
Publish with a short-lived identity, no stored secret (OIDC)V4Complete only
Audit workflows and contain pull requestsV5Complete only
Produce an SBOM and prove an artifact's provenanceV7Complete only
Have a cluster refuse an unsigned imageV8Complete only

Three terms in the table are new to anyone starting out in software supply chain security. OIDC (OpenID Connect) lets the pipeline authenticate to a service with a short-lived token, instead of a key stored in the repository. An SBOM is the inventory of a piece of software's components, and provenance proves where and how it was built. A VEX states, for a known flaw, whether it is exploitable in your product.

The common thread page says, for each version, which track it belongs to, including the versions that are not in this table. The twelve labs taken from the Python, Terraform, Docker and Kubernetes catalogues, presented above, come on top of these versions, with the track given for each.

How do you follow your progress in the DevSecOps course?

Each lesson has a checkbox, and your progress is saved in your browser, with no account or sign-up required. The My course page shows the full programme, module by module, with the completion percentage, and a selector filters the display by track (Essential or Complete).

Within each lesson, the course outline in the left column reminds you where you are; at the bottom, a button marks the lesson as read without leaving the page, and a "Go to the next lesson" link then appears next to the confirmation. Your progress stays the same whichever track is displayed.

How is the programme organised, level by level?

The programme moves through four levels, d1 to d4, which group the modules in the order a change travels through the delivery chain. Each level has an expected outcome and a challenge, a lab graded on the state produced rather than on the commands typed. The levels order the programme and drive how the course is displayed.

Level d1: understand the flow and the risks

You read a delivery system as a flow, you place where security enters it and you model the threats of an application. The level groups the modules "Culture and flow", "The delivery system", "DevSecOps fundamentals" and "Threat modeling". The challenge is lab V1, "a threat model: STRIDE on notes-api, checked by the pipeline", playable on the Essential track. STRIDE is a grid that sorts threats into six families, from identity spoofing to denial of service.

Level d2: secure the delivery chain

You secure the code, the dependencies, the secrets, the CI/CD, the build and the supply chain, up to the provenance of artifacts. The level groups "Code and dependencies", "Secrets and machine identity", "Securing CI/CD", "Build, containers and IaC" and "Software supply chain". Secrets deliberately come before pipeline security. The secret zero is the first secret you have to entrust to the pipeline so that it can reach the others: OIDC replaces it with a short-lived token, and you only see the point of that after understanding this problem.

The challenge is lab V7, "SBOM and provenance: know what you ship, prove where it comes from". It exists only on the Complete track: on the Essential track, this level has no playable challenge.

Level d3: protect production

You control what gets deployed, you protect the runtime, you manage vulnerabilities and exceptions, then you observe and respond to incidents. The level groups "Controlled deployment", "Runtime security", "Vulnerabilities and compliance" and "Observe and respond".

The challenge is lab V9, "partitioned runtime: restricted pods and a closed network". It exists only on the Complete track and sets up the local kind cluster. It measures only the runtime: controlled deployment (V8), runtime detection (V9b) and exceptions (V10) remain practices of the level, with no challenge of their own.

Level d4: measure and scale up

You measure the approach, you steer it and you extend it across the organisation, up to the capstone, the synthesis project that assembles the whole course. The level groups "Measure and steer", "Scale across teams" and "Capstone".

The challenge is lab V11, "measuring reliability: an SLO that pages, a runbook, the DORA metrics", playable on the Essential track. An SLO is the reliability objective the team sets for itself, and the DORA metrics measure delivery performance, for example deployment frequency. The challenge measures only that part: no lab assesses the "scale up" part (Security Champions, the developers who relay security within their team, and the internal platform), which is learned through the lessons and their quizzes.

Where are the labs and what environment do they run on?

The common-thread labs live in the devsecops-dsoxlab-training repository and are played with the dsoxlab CLI, on your workstation. The other labs come from the python-dsoxlab-training, terraform-dsoxlab-training, containers-dsoxlab-training and kubernetes-dsoxlab-training repositories, and the lesson that carries them describes them. For the common-thread labs, you need Docker installed and running, uv (a Python tool manager) to install dsoxlab, and the mise tool, which installs the versions pinned by the catalogue, including act, the tool that replays GitHub Actions locally. No cloud account is needed for the common thread.

Terminal window
uv tool install dsoxlab
git clone https://github.com/stephrobert/devsecops-dsoxlab-training.git
cd devsecops-dsoxlab-training
mise install
dsoxlab run capstone-v00-pipeline-minimal
dsoxlab check capstone-v00-pipeline-minimal

dsoxlab run prepares the lab's working directory and dsoxlab check runs its checks. Three clarifications about the environment:

  • from V8 onwards, mise also installs kind, kubectl, helm and cosign, and labs V8 and V9 set up a disposable kind cluster;
  • among the common-thread labs, only V9b needs a virtual machine, which dsoxlab creates on your workstation with KVM or Incus; the labs taken from the Kubernetes catalogue also run on virtual machines, with a kubeadm cluster already installed, and the Docker lab taken at level d2 (lesson on the user of an image) also runs on a virtual machine, including for an Essential learner;
  • twelve of the thirteen common-thread labs play GitHub Actions with act, V9b being the only one that does not: the prerequisite accepts GitLab CI, but no lab in this training plays a GitLab CI pipeline.

Act does not inject into jobs the variables that give access to a GitHub OIDC token. A keyless signature that relies on this token therefore cannot be replayed locally either: some proofs in the common thread are read in the checks rather than run end to end. The commands above are those of the common-thread page, which remains the reference if they change; it also gives the act and cosign versions.

How is what you have learned validated?

A quiz checks that you understood why, a lab that you know how to do it, and the challenge of each level that you know it on a complete case. The quizzes cover most lessons, and a level's lab grades the final state of your repository rather than the commands typed.

The capstone assembles these proofs on a single repository. Its checks read what the pipeline produces, what the image carries or what the cluster admits. Since the d2 and d3 challenges exist only on the Complete track, an Essential learner crosses two finish lines, V1 and V11. They also practise V2, V3, V6 and V10 of the common thread and the labs taken from other catalogues, but with no level challenge for d2 and d3: they read the rest through the lessons and their quizzes.

To go further, outside the course

These pages are not part of the progression, so that it stays finishable. They extend a module when a topic concerns you directly:

What should you do after the training?

The training gives the shared foundation, not a job: DevSecOps leads to distinct paths depending on whether you favour application security, reliability, the platform, the cloud or pipelines. The career paths catalogue describes the responsibilities and the path of each, and the certifications catalogue lists the ones the site prepares with labs and mock exams. A certification validates a body of knowledge recognised by recruiters; it does not replace practice on real incidents: aim for it once the foundations it assumes are in place.

What this training stands for

Security is proven, not declared. A scanner built into the pipeline that has never blocked a build protects nothing. The training therefore recommends a single control that really breaks delivery over five tools that produce reports nobody reads: a control that blocks gets noticed and fixed, an ignored report changes nothing. A blocking control in return has to be tuned with care, otherwise false positives stop deliveries for nothing.

The supply chain is not an optional chapter. By supply chain, we mean everything that goes into your software: dependencies, build tools and pipeline. Recent incidents, such as tj-actions (in French) or the npm worms of the Shai-Hulud family, described in Attacks through package managers in CI/CD, came through the pipeline and the dependencies rather than through an application flaw. That is why SBOM, signing and provenance are at the heart of the course, on a par with dependency scanning.

A badly handled alert is costly, even a false one. A team that ignores a hundred alerts ends up ignoring the hundred and first, the real one. The training advises against suppressing an alert without an expiry date or a written justification: an alert dismissed without a trace becomes a debt that is no longer visible, whereas a dated and justified exception comes back for review when it expires.

Key points

  • DevSecOps builds security into every step of delivery, not at the end, and the training teaches a method: risk, control, placement, result, handling.
  • It assumes Linux, Git, containers, CI/CD and the basics of Terraform; Kubernetes is only required for level d3 on the Complete track.
  • The modules are grouped into four levels, d1 to d4, each closed by a lab graded on the state produced; d2 and d3 have a challenge only on the Complete track.
  • Two tracks, Essential and Complete, share the same programme and the same progression; V1 and V11 are the only challenges playable on the Essential track.
  • Secrets come before pipeline security, because a pipeline without static secrets relies on OIDC.
  • A single project, notes-api, is hardened version after version: its thirteen labs are in the devsecops-dsoxlab-training repository and are played on your workstation, with GitHub Actions replayed by act; twelve labs from other catalogues come on top, carried by eight lessons.
  • All the reference tools are open source and run locally, with no paid cloud.

FAQ: frequently asked questions

These questions are about the training itself: the order to follow, the choice of track, the need for Kubernetes, the CI platform the labs play and how what you have learned is validated.