Home / Blog

Kiber təhlükəsizlik · 11 min read

What is DevSecOps and how to learn it?

DevSecOps means placing security not at the end of the software development process but at every stage of it — code, build, container, infrastructure and release. A DevSecOps engineer sets up automated checks in the CI/CD pipeline: code and dependency analysis, secret scanning, container image hardening, Kubernetes policies and infrastructure validation. This way, security becomes the job of the pipeline rather than of a separate department.

  • DevSecOps is not a separate technology — it is the weaving of automated security checks into the DevOps flow.
  • The core principle is shifting security left (shift left): finding the problem at the commit stage, not in the production environment.
  • The role's daily work is not installing tools — it is triaging findings and reducing false positives.
  • Learning sequence: Linux/Git/CI → code and dependency analysis → container → Kubernetes → IaC and cloud → final project.
  • The strongest proof for a portfolio: a working pipeline with scanning stages and its audit report.

What is DevSecOps and how does it differ from DevOps?

DevOps is a workflow built so that software is written, built and released faster. DevSecOps adds control points to that flow: every change is automatically checked for vulnerabilities, leaked secrets and misconfiguration. Speed is not lost, because the checks run not manually but as the pipeline's own steps.

This approach is known as the shift-left principle. The logic is simple: fixing a mistake while the code is being written is far easier than fixing it in the production environment. NIST's Secure Software Development Framework (SSDF) and the OWASP DevSecOps guideline propose the same sequence — a separate check for each of the requirements, code, build and release stages.

DevOps and DevSecOps: what changes in the workflow
StageIn DevOpsIn DevSecOps
Plan and designFeatures and the release date are plannedA threat model and security requirements are also written
Writing codeCode review looks at functionalityStatic code analysis (SAST) and secret scanning are added to code review
DependenciesIt is enough that the package worksDependency analysis (SCA) checks libraries for vulnerabilities and versions
Build and artifactThe image is built and pushed to the registryThe image is scanned, signed, and its provenance is recorded
DeployThe success criterion is speed and stabilityAdmission control stops a workload that does not comply with policy
RuntimeMonitoring looks at performance and availabilityAnomalies, configuration drift and privilege escalation are also monitored
ResponsibilitySecurity is the job of a separate departmentSecurity is the shared job of the pipeline and the team

What does a DevSecOps engineer do day to day?

Most of the role is not installing new tools but making the existing pipeline understandable and tolerable. If a long list of warnings appears after every commit, the team stops looking at them within a week. That is why the main product of a DevSecOps engineer is the quality of the signal.

At which stages of the CI/CD pipeline is security checked?

  1. Writing code: simple rules run in the developer's environment — dangerous functions and hardcoded values become visible immediately.
  2. Commit and pull request: secret scanning and fast SAST rules run; if a key ends up in the repository, the merge is blocked.
  3. Build: the dependency tree is checked with a full SAST scan and SCA, and library versions with known vulnerabilities are flagged.
  4. Container: the image is built on a minimal base, scanned, signed, and provenance information is stored together with the artifact.
  5. Before deploy: infrastructure-as-code (IaC) files — the Terraform plan — are evaluated against policy rules.
  6. Inside the cluster: admission control rejects a manifest that does not comply with policy, and RBAC and network policies narrow the scope.
  7. Runtime: behavior monitoring and configuration drift detection reveal manual changes and anomalous activity.
Pipeline stages and the corresponding checks
StageCheck that runsWhat it prevents
Commit / PRsecret scanning, fast SASTKeys, tokens and passwords ending up in the repository
Buildfull SAST, SCAVulnerable library versions and known code patterns
Containerimage scanning, minimal base, image signingBloated images, unnecessary packages, forged artifacts
Before deployTerraform and policy checksOpen storage, broad permissions, unencrypted resources
ClusterRBAC, network policies, admission controlRoot containers, uncontrolled internal traffic
Runtimemonitoring, configuration drift detectionHidden manual changes and privilege escalation

What knowledge do you need beforehand to learn DevSecOps?

DevSecOps is an intermediate-level track. This means you must understand the system itself before you learn security. Without knowing what works and how, it is impossible to read a scan result — the text that appears on the screen remains just a red line to you.

If you have no IT experience at all, going straight into DevSecOps is a waste of time. Building a foundation first through Linux administration or the defensive team (Blue Team) track gives faster results.

How do you learn DevSecOps — what should a step-by-step roadmap look like?

  1. Foundation: Linux, Git and CI basics. Learn the anatomy of a pipeline — stages, artifacts, environment separation. Outcome: you should set up a simple CI job yourself.
  2. Code and dependency analysis. Add SAST, SCA and secret scanning to the same pipeline. Outcome: you should be able to sort findings by severity and suppress false positives.
  3. Container security. Image minimization, signing, runtime policies. Outcome: build two images of the same application and compare the size and the number of vulnerabilities.
  4. Kubernetes. RBAC, network policies, admission control and handling of sensitive data. Outcome: a small cluster with the principle of least privilege applied to every pod.
  5. IaC and cloud configuration. Terraform checks, configuration drift, narrowing permissions. Outcome: at least three misconfigurations stopped at the plan stage.
  6. Final project. Build a secure pipeline from scratch and then audit it — what you found, what you fixed, what remains.

Which tools do you learn to work with in DevSecOps?

DevSecOps tool categories and their purpose
CategoryWhat it checksPlace in the pipeline
SASTRisky patterns in source codeCommit and build
SCAVulnerabilities in third-party librariesBuild
Secret scanningLeaks of keys, tokens, passwordsCommit and history
Image scanningPackage vulnerabilities in the base imageContainer build
Image signing and provenanceAuthenticity of the artifactPush to the registry
Kubernetes policiesRBAC, network policies, admission controlCluster
IaC checkingErrors in Terraform configurationBefore deploy
Runtime monitoringAnomalous behavior and configuration driftProduction environment

Tool names change from year to year, while the categories remain. That is why the right measure of learning is not "how many tools do I know" but the question "can I read the output of this category". Someone who understands one SCA tool in depth moves to a second in a day.

How is DevSecOps practiced in the lab?

How we do it in our lab

Here is how we do it in our lab: the DevSecOps program lasts six months and consists of six modules. M01 covers Linux, Git and CI basics — the anatomy of a pipeline and environment separation are set up. M02 covers code and dependency analysis: SAST, SCA, secret scanning and triaging the results. M03 is devoted to container security, M04 to RBAC, network policies and admission control in Kubernetes, and M05 to Terraform checks and the principle of least privilege. In M06, each participant builds a secure pipeline from scratch and audits it. The acceptance criterion of the final project is measurable: the pipeline must block at no fewer than three stages, and the exception for each blocking rule must be documented. Groups are 8–12 people, and classes are held in offline and online formats. The lab works with Kubernetes, Terraform and Git.

Which DevSecOps project can you build for a portfolio?

  1. Keep the project in a separate repository and state its purpose in one paragraph in the README.
  2. Add a "Before / after" section: what was not blocked, and what is blocked now.
  3. Write down the reason for every decision — why this rule is critical, why another stayed at warning level.
  4. Show how you handle false positives; this is what is asked about most in interviews.
  5. At the end, acknowledge the limitations: what was not tested, what the next step is.

Who is DevSecOps suited for, and who is it still too early for?

This track is designed for the intermediate level, and the minimum age for participation is 18. The easiest transition is for people who already write code or manage infrastructure, because they have already seen the pipeline from the inside.

Starting point by profile
ProfileReadiness levelRecommendation
DeveloperHas code and Git, weak on infrastructureCan start directly; should set aside extra time for Linux and containers
DevOps / SRE engineerHas pipeline and cluster experienceThe fastest transition; attention shifts to security logic
System / network administratorStrong in Linux, weak in CI/CDFirst strengthen the basics of Git and CI
Defensive team analystHas security, lacks automationNeeds preparation in scripting and containers
Beginner with no IT experienceNo foundationFirst Linux administration or the defensive team track

What mistakes are most often made when learning DevSecOps?

These mistakes share one root: seeing security as a barrier built against the team. The model that works is the opposite — a check becomes sustainable when it saves the developer's time.

A quick check

One question to tell whether you are ready: if a secret leaked in your current project, how many minutes would it take you to find and rotate it? If the answer is unclear, your starting point is secrets management.

Is DevSecOps a continuation of DevOps or a separate field?
It is a continuation. DevSecOps is not a separate set of technologies — it is the addition of automated security checks and policies to the existing DevOps flow. That is why it is hard to learn DevSecOps without knowing DevOps.
Is programming knowledge required to learn DevSecOps?
At the application developer level, writing code is not required, but reading code is necessary. Bash is a must, and Python gives a serious advantage for automation and for processing scan results.
How long does it take to learn DevSecOps from scratch?
For someone with a Linux, Git and CI foundation, a structured program takes six months — our DevSecOps program is built for this duration too. Someone without a foundation must first set aside extra time for Linux.
Which certifications are useful for becoming a DevSecOps engineer?
Certifications in container and Kubernetes security, cloud platforms and secure software development strengthen your portfolio. Besides the Log Academy certificate, our program also covers preparation for international certifications.
What is the difference between DevSecOps and a cybersecurity specialist?
A classic cybersecurity specialist detects and investigates incidents. A DevSecOps engineer, on the other hand, builds controls into the pipeline so that the problem never reaches the production environment at all.
Can you start learning DevSecOps with Kubernetes?
It is not recommended. Kubernetes is built on container, network and permission models; without this foundation, RBAC and network policies turn into merely copied YAML.
What lab environment for DevSecOps can you build at home?
Linux on one virtual machine, a local Git server or a free CI, a lightweight Kubernetes distribution and Terraform are enough. This set lets you practice all stages of the pipeline.
Is it possible to move straight into DevSecOps without DevOps experience?
It is possible if you know Linux, Git and container logic. Formal DevOps work experience is not required, but you need to see in practice how a pipeline works.