Pular para o conteúdo
← DevSecOps and software supply chain security

Aula 1 de 7 · 8 min

DevSecOps: shifting security left across the lifecycle

DevSecOps makes security part of every stage of building software instead of a final gate. Learn what “shift left” means, what changes at each stage, and the NIST framework that describes it.

Por enquanto esta página está em inglês.

For a long time, software security worked like a customs checkpoint. Developers built a product for months, then handed it to a security team who tested it just before release. Problems found at that point were expensive: code had to be rewritten, deadlines slipped, and sometimes the product shipped anyway with known issues. DevOps made releases faster and more frequent, which made the checkpoint model impossible. You cannot run a weeks-long review before a release that happens several times a day.

DevSecOps is the answer: development, security and operations sharing responsibility for security throughout the software development lifecycle (SDLC). The phrase “shift left” comes from drawing the lifecycle as a line from left (planning) to right (running in production). Shifting left means moving security activities earlier, where problems are cheaper to fix and developers get feedback while the code is still fresh in their minds.

A DevSecOps pipeline from plan to operate, with a security control under each stage: threat modelling, secrets scanning and SAST, dependency scanning and SBOM, DAST, signing and provenance, policy checks, and posture monitoring.
Security as part of every stage, not a gate at the end.

What security looks like at each stage

StageSecurity activityQuestion it answers
PlanThreat modelling, security requirementsWhat could go wrong with this feature, and what must it never allow?
CodeSecure coding guidance, secrets detection, code reviewIs this change safe, and does it leak anything?
BuildStatic analysis (SAST), dependency scanning, SBOM generationDoes the code or anything it pulls in have known problems?
TestDynamic testing (DAST) against a running test buildHow does the running application behave when given hostile input?
ReleaseArtifact signing, provenanceCan we prove this artifact is the one we built?
DeployInfrastructure as code checks, admission policiesIs the environment configured safely before anything goes live?
OperateMonitoring, posture management, incident responseIs it still safe today, and would we notice if not?

The NIST Secure Software Development Framework

NIST SP 800-218, the Secure Software Development Framework (SSDF), gives these ideas a common structure. It groups practices into four families: prepare the organisation (PO), protect the software (PS), produce well-secured software (PW) and respond to vulnerabilities (RV). The SSDF does not prescribe tools. It describes outcomes, such as “protect all forms of code from unauthorised access and tampering”, which makes it useful for comparing your own pipeline or a supplier’s. NIST SP 800-204D goes further and describes how to build supply chain security into CI/CD pipelines specifically.

Culture matters as much as tools

Shifting left is not the same as dumping security work on developers. Tools that flood a pull request with hundreds of low-value warnings teach people to ignore them. The OWASP DevSecOps Guideline and CISA’s Secure by Design principles both stress that the organisation producing software should own its security outcomes, and that secure defaults beat long checklists.

  • Start small: one or two checks that catch real problems, tuned to keep false alarms low.
  • Give feedback where developers already work: in the editor and the pull request, not in a separate report weeks later.
  • Make the secure path the easy path: templates, pre-approved base images and libraries.
  • Name security champions in each team rather than routing everything through one central group.
  • Measure time to fix, not only the number of findings.

Where FireAI fits

A developer’s Mac is the first stage of the pipeline: it holds source code, signing keys and access tokens. FireAI protects that machine’s network side. Rules follow each app’s verified code signature, a new app or command-line tool must ask before it connects, and the world map shows where development tools actually send data. It is not a code scanner and does not replace any of the pipeline checks in this course.

Para lembrar

  • DevSecOps shares security responsibility across development, security and operations.
  • “Shift left” moves security checks earlier, where fixes are cheaper and faster.
  • NIST’s SSDF (SP 800-218) groups secure development practices into PO, PS, PW and RV.
  • Good DevSecOps keeps signal high and makes the secure path the easy one.

Teste seus conhecimentos

  1. 1. What does “shift left” mean in DevSecOps?

    • Moving servers to another region
    • Moving security activities earlier in the development lifecycle — Certo.
    • Letting the security team approve every commit
    • Dropping production monitoring

    Drawn left to right, the lifecycle starts with planning. Shifting left means finding problems earlier, where they cost less to fix.

  2. 2. Which NIST publication is the Secure Software Development Framework?

    • SP 800-53
    • SP 800-218 — Certo.
    • SP 800-61
    • SP 800-190

    SP 800-218 is the SSDF. SP 800-53 is a control catalogue, 800-61 covers incident response and 800-190 container security.

  3. 3. Why can a noisy security scanner harm a DevSecOps programme?

    • It uses too much disk
    • Developers learn to ignore warnings, including the real ones — Certo.
    • It makes code run slower
    • It is always illegal

    Alert fatigue destroys trust. Well-tuned checks that catch real issues are worth more than exhaustive noisy ones.

Praticar com o FireAI

Coloque esta lição em prática no seu próprio Mac.

Fontes

Coloque em prática no seu Mac

Teste todos os recursos grátis por 17 dias, sem cartão.

Baixar para Mac Docs