CDEP Exam Guide

07:15 on a cold Thursday in October 2025. I was in the kitchen, kettle on, laptop open on the counter, and the CI/CD pipeline I'd built the night before as part of my CDEP lab prep had just failed on a Trivy scan that was flagging a known-good base image. I stared at the output for probably four minutes before I realised I'd misconfigured the severity threshold and it was flagging informationals as blocking. That was my CDEP prep in miniature: not hard, just unforgiving of carelessness.

I took the CDEP in late October 2025 because our MSSP had started being brought in on DevSecOps engagements for clients whose dev teams had moved faster than their security teams. I didn't come to this from a developer background. Six years in defensive security, two in detection engineering, and my relationship with CI/CD before this cert was mostly "I know what a Jenkins pipeline is and I've broken a GitHub Actions workflow on occasion." Which was not a strong starting position.

Why a detection engineer should care about DevSecOps

I'll make the case briefly because I used to make the opposite argument to myself. Detection engineering and DevSecOps have one giant thing in common: they're both about embedding security logic into systems that someone else owns and operates. The detection engineer writes the Sigma rule and hands it to a SOC. The DevSecOps engineer writes the policy-as-code rule and hands it to a dev team. In both cases the quality of the output is measured by how much friction it creates for the people it's constraining. In both cases the trap is writing something theoretically correct that is operationally useless.

That framing was what made the CDEP syllabus click for me. Once I started thinking of it as "detection engineering for build pipelines" instead of "a cert I don't really have a background for", the whole thing got easier.

The ten weeks of prep

I gave myself ten weeks. Used about eight of them productively. Lost two weeks across August and September to work incidents and a trip to the west coast of Ireland with my partner that I wasn't going to cancel for a cert exam.

The HTB Academy DevSecOps modules are the obvious starting point and I'd recommend them. The exam leans on specific tooling that you need hands-on time with, and the modules give you that. Beyond the course material I built a deliberately insecure CI/CD pipeline at home using GitHub Actions, a small kind cluster running on my desktop, and a handful of microservices I'd scraped together from various OWASP juiceshop derivatives. The point was to have a target I knew intimately that I could attack with the DevSecOps tooling to understand what each scanner would actually catch.

David Bianco's writing on detection quality applies surprisingly well to DevSecOps scanning strategy. His thinking on false positive management translates almost directly to managing Trivy and Checkov output in a real pipeline. Jorge Orchilles' purple team material is less directly applicable but his approach to building controls from threat models shaped how I wrote my exam report, specifically the "what threat is this control actually addressing" section that I think earned me real grade points.

The tools you need to be fluent in

You can't pass this exam without actual fluency in a specific set of tools. Reading about them is not sufficient. You need to have broken them, misconfigured them, read their output in anger at 11pm when you thought you were done for the night.

Trivy for container scanning. You need to understand what it scans, what it doesn't scan, how to tune the severity thresholds, and how to write ignore files properly. Snyk for dependency scanning. Checkov for IaC. Semgrep for source code. kube-bench for cluster posture. Falco for runtime behaviour. OPA with Rego for policy-as-code enforcement.

Seven tools. If any of those are unfamiliar to you, block out a weekend per tool before you book the exam. I'm serious. I tried to shortcut this and spent exam day one playing catch-up on Falco rules I should have known already.

Day one of the exam window

I started at 09:00 Dublin time on a Monday in late October. First thing you get is a scenario brief for a client whose CI/CD estate needs a security assessment and a set of concrete objectives to achieve across pipelines, container registries, cluster configurations, and the source repositories that feed the lot.

Day one I did reconnaissance. Read every pipeline configuration. Read every Dockerfile. Read every Helm chart. Didn't run any scanners. Didn't write any findings. Just built a mental map of what was being built, deployed, and run.

Day two I started running tools. Trivy against the registries first, which surfaced the obvious stuff. Checkov against the Terraform. Semgrep against the source repositories. kube-bench against the cluster. Falco I left for day three because the runtime observations needed a baseline I didn't have yet on day two.

The thing I wasted twelve hours on

Day four. I was trying to write an OPA policy that would enforce a specific pod security standard across the cluster, and I could not get it to evaluate correctly. Every variation I tried either matched nothing or matched everything. I spent twelve hours on it across two days, convinced I was missing something fundamental about Rego.

I wasn't. The policy was correct. I'd been testing it against a kind cluster that was running an older admission controller configuration that wasn't enforcing OPA validation at all. So my policy was being ignored regardless of what it said. When I fixed the cluster config the policy worked first time.

Two things I took from this. First, always verify your enforcement mechanism is actually running before you debug your policy. Second, which I learned the hard way on my COAE attempts in the same year, is that the test environment's behaviour has to be understood before you can reason about whether your intervention is working. If you don't know what the baseline is, you can't know what your change did.

The report, the deliverable, the actual grade

The CDEP report is structured around findings per pipeline stage. I used source code, build, container, deployment, runtime, and infrastructure as my six top-level categories, and each finding was slotted under one of those categories with the relevant evidence, tool output, and remediation.

The remediation sections are where I think the report gets graded most strictly. The exam does not want a prose paragraph saying "implement least privilege." It wants a concrete, implementable recommendation: here is the Rego policy you'd add, here is the Terraform change, here is the Helm chart modification, here is the Falco rule that would alert on this if it recurred. Specificity is the entire game.

I also included a short section at the end on detection engineering for CI/CD specifically, which is not something the exam strictly asks for but which I think pushed my report over the line. Writing detections against build-time attacks is still an underserved area and the exam graders, from what I've picked up in the community, respond well to candidates who think about it.

Tools that mattered

  • Trivy: primary container and filesystem scanner. Learn the severity thresholds and the ignore file syntax before the exam starts.
  • Checkov: for IaC. The rulesets are extensive and the output format slots cleanly into report writing.
  • Semgrep: for source code review. Fast enough to run against a decent-sized monorepo in acceptable time and the rulesets are good.
  • Snyk: for dependency scanning. The free tier limits are generous enough for exam prep and the report output is clean.
  • kube-bench: cluster posture. Will tell you what CIS benchmark items your cluster is failing against, which translates directly into findings.
  • Falco: runtime detection. Writing Falco rules well is its own skill and the exam will test whether you can.
  • Open Policy Agent with Rego: for policy-as-code enforcement recommendations. If you can't write a working Rego policy under time pressure, the exam will expose that.

The money and whether you should bother

The CDEP voucher is $490. HTB Academy subscription on top is about $14 a month at the student tier or more at higher tiers. Call it $600 to $700 all in for a serious prep run.

The honest question I had to ask myself was whether a defensive security cert in DevSecOps was going to pay back. The answer in my case was yes because our MSSP started billing DevSecOps assessments and I needed a credible frame to walk into those meetings with. If your day job doesn't touch CI/CD security, and you don't foresee it changing, I'd save the $490 and read the HTB course material at your own pace.

If your path through blue team is heading toward detection engineering, I'd argue the CDEP syllabus is more directly applicable than another endpoint-focused cert. The detection logic you write for build pipelines is some of the most interesting work in the field right now, and the CDEP is one of the only credentials that forces you to actually write it. For complementary thinking from the identity side I wrote about the eIAMA which hits a lot of the same policy-as-code themes from a different angle, and the eAIS writeup covers the AI security space which increasingly intersects with DevSecOps on the model deployment pipeline side.

If you want someone to run the exam window alongside you or sanity-check your Rego policies before you submit, that's what we help with at FsKnockouT. Here's how our CDEP exam support works. We bill after the pass comes through, which is the whole point. Good luck either way.

Back to blog