What is a DevSecOps Engineer?
DevSecOps is the practice of making security part of everyday development and operations. Code is scanned when it is written, dependencies are checked when they are added, and infrastructure is tested before it reaches production.
A DevSecOps engineer builds and maintains those checks. They sit between developers, operations and the security team, and their real job is to make the secure path the easy path.
How to use this DevSecOps roadmap
If you already work in DevOps, skim steps 1 and 2 and spend most of your time on steps 3 to 6. If you come from security, do the opposite and invest in pipelines and infrastructure as code.
Use a deliberately vulnerable practice app such as OWASP Juice Shop in your own lab. Never scan or test systems you do not own or have written permission to test.
1Step 1: DevOps foundations
You cannot secure a pipeline you do not understand.
What is it?
Linux, networking, git, containers and CI/CD are the ground floor. Security tooling plugs into each of these.
What to learn
Build one complete pipeline yourself before adding any security tools to it.
Learn each topic here
Linux and networking
Permissions, processes, ports, TLS and DNS.
Why it matters: Most findings live at this layer.
Git workflows
Branches, pull requests, protected branches and signed commits.
Why it matters: Controls start at the repo.
CI/CD pipelines
GitHub Actions, GitLab CI or Jenkins stages for build, test and deploy.
Why it matters: This is where checks run.
Containers
Dockerfiles, images, registries and minimal base images.
Why it matters: Images carry vulnerabilities.
Infrastructure as code
Terraform or CloudFormation for repeatable environments.
Why it matters: Config can be scanned like code.
Example
yaml
name: ci
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm ci
- run: npm testA basic pull request pipeline that later steps will add security checks to.
Helpful resource: GitHub Actions docs
2Step 2: Security fundamentals
Learn how attacks work so you know what to prevent.
What is it?
This step covers the common web vulnerabilities, authentication, cryptography basics and how attackers chain small weaknesses together.
What to learn
Read the OWASP Top 10 slowly and map each item to a control you could automate.
Learn each topic here
OWASP Top 10
Broken access control, injection, misconfiguration and the rest of the most common web risks.
Why it matters: It is the shared vocabulary.
Authentication and authorisation
Sessions, tokens, OAuth, MFA and least privilege.
Why it matters: Access control is the top risk.
Cryptography basics
Hashing, encryption, TLS and key management at a practical level.
Why it matters: Misused crypto gives false comfort.
Threat modelling
STRIDE and data flow diagrams to find risks before code exists.
Why it matters: Cheapest point to fix design flaws.
Secure coding
Input validation, output encoding, parameterised queries and safe defaults.
Why it matters: Developers need concrete guidance.
Example
python
# Vulnerable
cur.execute(f"SELECT * FROM users WHERE email = '{email}'")
# Safe: parameterised query
cur.execute("SELECT * FROM users WHERE email = %s", (email,))The difference between an injectable query and a safe one.
Helpful resource: OWASP Top 10
3Step 3: Security testing in the pipeline
Automate the checks developers would otherwise skip.
What is it?
SAST scans source code, SCA checks dependencies, secret scanning catches leaked keys and DAST tests the running app. Each runs at a different point in the pipeline.
What to learn
Start in report-only mode, fix the noise, then make critical findings block merges.
Learn each topic here
SAST
Static analysis tools such as Semgrep or CodeQL find risky code patterns.
Why it matters: Catches bugs before review.
SCA and dependency scanning
Tools like Dependabot, Trivy or Snyk flag vulnerable libraries.
Why it matters: Most code is third-party.
Secret scanning
Gitleaks or built-in platform scanning catches keys in commits.
Why it matters: Leaked keys are exploited within hours.
DAST
OWASP ZAP tests a running staging app from the outside.
Why it matters: Finds runtime issues static tools miss.
Triage and false positives
Tune rules, set severity thresholds and assign owners.
Why it matters: Noisy tools get ignored.
Example
yaml
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: pip install semgrep && semgrep scan --config auto --error
- uses: gitleaks/gitleaks-action@v2Adding static analysis and secret scanning to the pipeline. Pin action versions in real projects.
Helpful resource: OWASP Juice Shop
4Step 4: Container and infrastructure security
Secure what the code runs on.
What is it?
Images, Kubernetes clusters and cloud accounts each have their own common misconfigurations. Policy as code lets you block them automatically.
What to learn
Use minimal base images and run containers as non-root. Two lines remove a lot of risk.
Learn each topic here
Image scanning
Scan images for OS and library vulnerabilities before pushing.
Why it matters: Old base images are a common hole.
IaC scanning
Checkov, tfsec or Trivy flag open buckets and wide security groups in Terraform.
Why it matters: Fix it before it exists.
Kubernetes security
RBAC, network policies, pod security standards and secrets handling.
Why it matters: Clusters are complex attack surfaces.
Policy as code
OPA or Kyverno rules that reject non-compliant deployments.
Why it matters: Consistent enforcement at scale.
Cloud guardrails
Organisation policies, CSPM tools and centralised logging.
Why it matters: Prevents whole classes of mistakes.
Example
dockerfile
FROM node:22-alpine
WORKDIR /app
COPY --chown=node:node . .
RUN npm ci --omit=dev
USER node
CMD ["node", "server.js"]A smaller image that runs as a non-root user.
Helpful resource: Kubernetes security docs
5Step 5: Supply chain security and monitoring
Prove what you ship and watch it once it runs.
What is it?
Supply chain attacks target build systems and dependencies. Signing, SBOMs and build provenance help prove artefacts are genuine. Runtime monitoring catches what slips through.
What to learn
Generate an SBOM for every release now. When the next big library vulnerability lands, you will know in minutes whether you are affected.
Learn each topic here
SBOMs
A software bill of materials lists every component in a build, in formats like SPDX or CycloneDX.
Why it matters: Fast answers during incidents.
Artefact signing
Sigstore and cosign sign images so deployments can verify them.
Why it matters: Stops tampered images.
SLSA framework
Levels of build integrity and provenance.
Why it matters: A roadmap for hardening builds.
Runtime detection
Tools such as Falco watch for suspicious behaviour in containers.
Why it matters: Some attacks only show at runtime.
Logging and alerting
Central logs, SIEM integration and alert routing.
Why it matters: Detection needs data.
Example
bash
syft registry.example.com/api:1.4.2 -o cyclonedx-json > sbom.json
cosign sign --key cosign.key registry.example.com/api:1.4.2
cosign verify --key cosign.pub registry.example.com/api:1.4.2Generating an SBOM, signing an image and verifying the signature.
Helpful resource: SLSA framework
6Step 6: Running a DevSecOps programme
Expert level: make security scale across teams.
What is it?
At senior level the work is people and process: security champions, metrics, compliance mapping and incident response that teams actually follow.
What to learn
Measure time to fix critical findings. It is the number leadership understands.
Learn each topic here
Security champions
Train one developer per team to own security questions.
Why it matters: Security cannot review everything.
Metrics
Mean time to remediate, findings by severity, coverage of scanning.
Why it matters: Shows progress and gaps.
Compliance mapping
Map controls to ISO 27001, SOC 2, PCI DSS or local rules such as UAE IA standards.
Why it matters: Audits become routine.
Incident response
Runbooks, on-call, post-incident reviews.
Why it matters: Breaches are judged by response.
Developer experience
Fast scans, clear fix advice and fewer false positives.
Why it matters: Friction gets bypassed.
Example
text
Q3 security metrics
Critical findings open: 4 (target 0 older than 7 days)
Median time to fix critical: 3.2 days
Repos with SAST: 92%
Signed images in prod: 100%A short dashboard summary leadership can act on.
Helpful resource: OWASP SAMM
DevSecOps roadmap project ideas
Keep everything in one repo so a hiring manager can see the full pipeline grow from basic CI to signed, scanned releases.
Secure CI starter
A pipeline with tests, linting and secret scanning.
Threat model write-up
Data flow diagram and risk list for a sample app.
Full scan pipeline
SAST, SCA, image and IaC scanning with tuned thresholds.
Hardened Kubernetes deploy
RBAC, network policies and admission policies.
Signed supply chain
SBOMs, cosign signatures and verification at deploy.
Programme plan
Metrics dashboard, champions programme and compliance mapping.
Tips to finish this devsecops roadmap
- Stay legal. Only test systems you own or have written permission for.
- Fix, do not just find. A tool that only produces reports adds work without reducing risk.
- Make it fast. Slow pipelines push developers to skip checks.
- Learn both sides. Developers trust people who can write code and explain attacks.
Career paths and next steps
Job titles include DevSecOps engineer, application security engineer, cloud security engineer and platform security engineer. Banks, fintechs and government projects in the UAE and Saudi Arabia hire for these roles as regulation tightens.
Certifications such as CKS, AWS Security Specialty or CSSLP can support your experience later on.
Related roadmaps
DevSecOps Roadmap FAQs
What is the difference between DevOps and DevSecOps?
DevOps joins development and operations. DevSecOps adds security into the same pipeline so it is checked continuously instead of at the end.
Do I need coding for DevSecOps?
Yes. You will write pipeline config, scripts and policies, and you need to read application code to triage findings.
How long does it take to learn DevSecOps?
From a DevOps background, 6 to 8 months. From scratch, plan for a year or more.
Which tools should I learn first?
A CI platform, Semgrep or CodeQL, Trivy, Gitleaks and OWASP ZAP cover most early needs.