{"id":994247,"date":"2026-06-24T11:00:31","date_gmt":"2026-06-24T14:00:31","guid":{"rendered":"https:\/\/elcanary.com\/?p=994247"},"modified":"2026-11-18T15:15:48","modified_gmt":"2026-11-18T18:15:48","slug":"o-que-e-devsecops-guia-completo","status":"publish","type":"post","link":"https:\/\/elcanary.com\/en\/blog\/governar\/o-que-e-devsecops-guia-completo\/","title":{"rendered":"What is DevSecOps?"},"content":{"rendered":"<div class=\"vgblk-rw-wrapper limit-wrapper\">\n<h2 id=\"guia-completo-devsecops\">A Complete Guide to DevSecOps: Concepts, Lifecycle, Shift Left, and Integration with CI\/CD<\/h2>\n<p>Understand <strong>What is DevSecOps?<\/strong> It has become essential for companies that develop, purchase, integrate, or operate software in digital environments that are increasingly exposed to cyber risks. For many years, application security was treated as a final step in the development process, almost always carried out close to delivery or just before going live in production. This model led to delays, rework, accumulated vulnerabilities, poor risk visibility, and an often-contentious relationship between development, operations, and security teams.<\/p>\n<p>DevSecOps emerges as a natural evolution of DevOps. The goal is to integrate information security, privacy, quality, governance, and risk management into the software development lifecycle without unnecessarily hindering delivery speed. Instead of treating security as a late-stage audit, DevSecOps proposes that controls be incorporated from the planning stage through coding, versioning, building, automated testing, continuous delivery, deployment, observability, and incident response.<\/p>\n<p>In practice, DevSecOps is not just a tool, a CI\/CD pipeline, or a change to the pipeline. It is an operational and cultural approach that combines people, processes, technology, automation, metrics, and shared responsibility. Developers gain a better understanding of security risks. Security teams move beyond acting solely as final reviewers and begin to build reusable standards, policies, automation workflows, and objective acceptance criteria. Operations and infrastructure contribute standardized environments, secure configuration, observability, resilience, and recoverability.<\/p>\n<p>This guide explains <strong>What is DevSecOps?<\/strong>, why the concept is important for companies, how its full cycle works, what \u201cShift Left\u201d means, how to integrate security practices into CI\/CD pipelines, and which tools can support a pragmatic journey. The article also features practical examples, governance recommendations, maturity metrics, explanatory tables, and a final section with frequently asked questions to support professionals in technology, security, privacy, auditing, legal, compliance, and executive leadership.<\/p>\n<h2 id=\"indice\">Table of Contents<\/h2>\n<ul>\n<li><a href=\"#o-que-e-devsecops\">What is DevSecOps?<\/a><\/li>\n<li><a href=\"#por-que-devsecops-e-importante\">Why is DevSecOps important for companies?<\/a><\/li>\n<li><a href=\"#devops-devsecops-diferencas\">DevOps and DevSecOps: Key Differences<\/a><\/li>\n<li><a href=\"#shift-left\">The Concept of \"Shift Left\" in DevSecOps<\/a><\/li>\n<li><a href=\"#ciclo-completo-devsecops\">The Complete DevSecOps Cycle<\/a><\/li>\n<li><a href=\"#devsecops-no-ci-cd\">How to Integrate DevSecOps into CI\/CD<\/a><\/li>\n<li><a href=\"#exemplos-praticos-ci-cd\">Practical Examples of DevSecOps in the Pipeline<\/a><\/li>\n<li><a href=\"#ferramentas-open-source-devsecops\">Open-Source Tools for DevSecOps and a Reference to Snyk<\/a><\/li>\n<li><a href=\"#governanca-devsecops\">Governance, Roles, and Responsibilities in DevSecOps<\/a><\/li>\n<li><a href=\"#riscos-e-desafios\">Key Risks and Implementation Challenges<\/a><\/li>\n<li><a href=\"#evidencias-maturidade\">Evidence of compliance and maturity<\/a><\/li>\n<li><a href=\"#boas-praticas\">Best Practices for Implementing DevSecOps<\/a><\/li>\n<li><a href=\"#relacao-lgpd-iso-nist-cis\">Relationship with the LGPD, ISO 27001, NIST, and CIS Controls<\/a><\/li>\n<li><a href=\"#conclusao\">Conclusion<\/a><\/li>\n<li><a href=\"#perguntas-frequentes\">Frequently Asked Questions on This Topic<\/a><\/li>\n<\/ul>\n<h2 id=\"o-que-e-devsecops\">What is DevSecOps?<\/h2>\n<p><strong>What is DevSecOps?<\/strong> It can be explained as the continuous integration of security practices into the DevOps model. The term combines development, security, and operations. Its purpose is to ensure that security is incorporated into the software lifecycle from the very beginning, rather than simply being verified at the end. This involves test automation, code analysis, dependency verification, secret protection, infrastructure-as-code validation, access controls, monitoring, traceability, incident response, and continuous improvement.<\/p>\n<p>DevSecOps is based on a simple idea: the sooner a security issue is identified, the lower the cost of fixing it tends to be. An authentication flaw detected during an architectural review can be corrected through design adjustments. The same flaw discovered after deployment to production may require emergency changes, service interruptions, communication with customers, forensic investigation, legal analysis, privacy incident handling, and reputational damage.<\/p>\n<p>Therefore, DevSecOps should not be viewed as a barrier to development. When implemented correctly, it reduces friction, makes security criteria more predictable, and helps teams deliver software with less risk. Instead of relying solely on manual reviews, the company creates automated and repeatable mechanisms to detect vulnerabilities, insecure configurations, and policy violations.<\/p>\n<p>A mature DevSecOps program typically has three pillars. The first is a culture of shared responsibility, in which security is no longer the sole responsibility of a single, isolated department. The second is automation, which enables security controls to be enforced at scale, especially in environments with multiple repositories, microservices, APIs, containers, and cloud infrastructure. The third is governance, which defines policies, priorities, risk criteria, exceptions, roles, evidence, and metrics.<\/p>\n<p>To further explore recognized best practices, organizations can consult public resources such as the <a href=\"https:\/\/owasp.org\/www-project-devsecops-guideline\/\" target=\"_blank\" rel=\"noopener\">OWASP DevSecOps Guideline<\/a>, the <a href=\"https:\/\/csrc.nist.gov\/pubs\/sp\/800\/218\/final\" target=\"_blank\" rel=\"noopener\">NIST Secure Software Development Framework<\/a> and the <a href=\"https:\/\/owasp.org\/www-project-top-ten\/\" target=\"_blank\" rel=\"noopener\">OWASP Top 10<\/a>. These guidelines help structure secure development practices, control automation, and application risk management.<\/p>\n<p>&nbsp;<\/p>\n<h2 id=\"por-que-devsecops-e-importante\">Why is DevSecOps important for companies?<\/h2>\n<p>The question <strong>What is DevSecOps?<\/strong> This issue typically arises when companies realize that their traditional security models can no longer keep pace with the speed of software delivery. Modern applications consist of proprietary code, third-party libraries, APIs, open-source components, containers, managed cloud services, automated pipelines, integrations with vendors, and sensitive data. This ecosystem increases the attack surface and requires more distributed controls.<\/p>\n<p>Without DevSecOps, it\u2019s common for security issues to be discovered too late. A team may spend weeks developing a feature, pass it through functional testing, and only discover at the very end that there are critical authorization flaws, vulnerable dependencies, exposed secrets, excessive permissions, or a lack of logs. When this happens, the project may be delayed, the team may push for release even with high risk, and the security team may be viewed as an obstacle.<\/p>\n<p>With DevSecOps, the company integrates security into the normal engineering workflow. Policies are codified, tests are run automatically, vulnerabilities are prioritized by risk, exceptions are logged, fixes are tracked, and metrics are reported to leadership. This model promotes predictability, reduces rework, and improves alignment between innovation and security.<\/p>\n<h3>Business Benefits of DevSecOps<\/h3>\n<p>DevSecOps delivers benefits that extend beyond the technical realm. For executive leadership, it enhances the ability to demonstrate governance over digital risks. For compliance and auditing, it provides objective evidence that controls are in place. For legal and privacy teams, it reduces the likelihood of incidents involving personal data. For product and business teams, it prevents delays caused by late fixes and improves confidence in digital deliveries.<\/p>\n<table style=\"width: 100%; border-collapse: collapse; margin: 20px 0;\">\n<thead>\n<tr>\n<th style=\"border: 1px solid #ccc; padding: 10px; background-color: #ffd910; color: #000; vertical-align: middle; text-align: left;\">Benefit<\/th>\n<th style=\"border: 1px solid #ccc; padding: 10px; background-color: #ffd910; color: #000; vertical-align: middle; text-align: left;\">How it works in practice<\/th>\n<th style=\"border: 1px solid #ccc; padding: 10px; background-color: #ffd910; color: #000; vertical-align: middle; text-align: left;\">Impact on the company<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Reduction in rework<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Errors are detected during the commit, pull request, or build.<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Lower correction costs and fewer project delays.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Greater traceability<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Test results, approvals, and exceptions are recorded.<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Improved support for audits, investigations, and accountability.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Risk-Based Prioritization<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Critical vulnerabilities halt releases, while minor issues follow the patch schedule.<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">More efficient use of time by the safety and engineering teams.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Compliance Improvement<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Controls are performed in a standardized manner across multiple projects.<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Increased maturity in security, privacy, and governance.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"devops-devsecops-diferencas\">DevOps and DevSecOps: Key Differences<\/h2>\n<p>DevOps aims to bring development and operations closer together to accelerate deliveries, improve quality, reduce deployment failures, and enhance collaboration. DevSecOps maintains these objectives but adds security as a native component of the process. The difference lies not in creating more bureaucracy, but in adding controls that are proportionate to the risk\u2014preferably automated and integrated into the teams\u2019 workflow.<\/p>\n<p>In the traditional DevOps model, a pipeline can compile code, run unit tests, package artifacts, and deploy to environments. In the DevSecOps model, that same pipeline can also perform static code analysis, check for vulnerable dependencies, detect secrets, validate infrastructure-as-code configurations, generate SBOMs, sign artifacts, analyze container images, and enforce approval policies prior to production.<\/p>\n<table style=\"width: 100%; border-collapse: collapse; margin: 20px 0;\">\n<thead>\n<tr>\n<th style=\"border: 1px solid #ccc; padding: 10px; background-color: #ffd910; color: #000; vertical-align: middle; text-align: left;\">Appearance<\/th>\n<th style=\"border: 1px solid #ccc; padding: 10px; background-color: #ffd910; color: #000; vertical-align: middle; text-align: left;\">DevOps<\/th>\n<th style=\"border: 1px solid #ccc; padding: 10px; background-color: #ffd910; color: #000; vertical-align: middle; text-align: left;\">DevSecOps<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Main focus<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Speed, automation, and delivery reliability.<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Speed, reliability, and safety built into the cycle.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Safety Moment<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Often at the end or in occasional reviews.<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">From planning, coding, building, testing, deploying, and operations.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Liability<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Development and operations.<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Development, security, operations, product, governance, and leadership.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Controls<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Functional testing, automated builds, and automated deployment.<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Functional tests, security controls, policies, and automated evidence.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"shift-left\">The Concept of \"Shift Left\" in DevSecOps (Moving Security to the Left in the Process)<\/h2>\n<p>\"Shift Left\" is one of the most important concepts to understand <strong>What is DevSecOps?<\/strong>. The term refers to the practice of moving security activities to earlier stages of the development cycle. In a visual flow from left to right, planning and coding are on the left, while final testing, approval, and production are on the right. Shifting security to the left means identifying and correcting problems before they progress to more expensive and critical stages.<\/p>\n<p>\"Shift Left\" does not mean shifting all security responsibility onto developers, nor does it mean requiring every team member to become an expert in offensive security, cryptography, or incident response. The concept means providing guidance, automation, secure standards, rapid feedback, and clear criteria so that the team can build secure software with less reliance on late-stage reviews.<\/p>\n<h3>How \"Shift Left\" Works in Practice<\/h3>\n<p>In a traditional approach, a vulnerability may only be discovered during a penetration test conducted close to the release date. With a Shift Left approach, some of this risk can be mitigated through threat modeling during the design phase, the use of approved libraries, automated dependency validation, static analysis rules, code reviews, security testing on pull requests, and blocking policies in the pipeline.<\/p>\n<p>For example, imagine an API that handles personal data. During the planning phase, the team identifies what data will be collected, what legal basis applies, which user roles will have access, and which events need to be logged. During development, authentication, authorization, and input validation standards are applied. In the pull request, automated tools check for common flaws. During the build, vulnerable dependencies are assessed. Before deployment, the infrastructure configuration is validated. After release, logs and alerts monitor for anomalous behavior. This is \u201cShift Left\u201d combined with continuous operations.<\/p>\n<h3>Shift Left does not eliminate Shift Right<\/h3>\n<p>Although \u201cShift Left\u201d is essential, it does not eliminate the need for security in production. DevSecOps must also consider \u201cShift Right\u201d\u2014that is, monitoring, detection, response, behavioral analysis, real-world testing, incident management, and continuous learning. Some flaws only become apparent under real-world load, when integrating with external systems, or due to unexpected user behavior. Therefore, true maturity lies in combining proactive prevention with detection and operational response.<\/p>\n<h2 id=\"ciclo-completo-devsecops\">The Complete DevSecOps Cycle<\/h2>\n<p>The complete DevSecOps cycle covers the entire software lifecycle from start to finish. It begins before the first line of code is written and continues after the application is in production. Below, each stage is described, along with its objectives, common practices, and examples of applicable controls.<\/p>\n<h3>1. Planning and Requirements<\/h3>\n<p>The first step involves understanding business objectives, functional requirements, non-functional requirements, processed data, integrations, relevant threats, regulatory obligations, and minimum security criteria. During this phase, the team should discuss privacy by design, information classification, API exposure, authentication requirements, audit trails, data retention, service continuity, and service criticality.<\/p>\n<p>A common mistake is to begin development without minimum security requirements. This leads to important decisions being made implicitly by each developer, which increases inconsistency. In DevSecOps, security requirements must be clear, testable, and prioritized alongside product requirements.<\/p>\n<h3>2. Design and Secure Architecture<\/h3>\n<p>In this phase, the team defines the architecture, components, data flows, integrations, trust zones, authentication mechanisms, authorization, encryption, segregation, logging, and availability. Threat modeling is a particularly useful practice, as it helps identify abuse scenarios, critical assets, threat actors, impacts, and preventive controls.<\/p>\n<p>A practical example is analyzing a payment application. Before implementing the solution, the team must map out where sensitive data flows, which systems access this information, how keys are protected, what permissions are required, and how suspicious events will be detected. This exercise reduces risky decisions and improves the quality of the implementation.<\/p>\n<h3>3. Secure Encryption<\/h3>\n<p>During coding, DevSecOps encourages the use of secure patterns, code reviews, trusted libraries, input validation, proper error handling, session management, protection against injection, secret management, and least-privilege practices. Security must be integrated into the developer\u2019s environment, with rapid feedback in the IDE, commit hooks, and pull requests.<\/p>\n<p>Secure coding also depends on ongoing education. Short training sessions, internal examples, reference guides, review checklists, and communities of practice are more effective than generic, one-off training sessions. The goal is to turn knowledge into consistent behavior.<\/p>\n<h3>4. Version Control and Code Review<\/h3>\n<p>The code repository is a central component of the DevSecOps cycle. It must include branch protection rules, mandatory reviews for critical changes, permission controls, commit signing where applicable, a traceable history, and integration with automated checks.<\/p>\n<p>In a pull request, the company can perform static analysis, secret checks, dependency analysis, and pattern validations. The results should be presented in a way that is understandable to the developer. Critical findings may block approval, while minor findings may generate tasks for further handling based on risk criteria.<\/p>\n<h3>5. Secure build<\/h3>\n<p>During the build phase, the code is compiled, packaged, and prepared for distribution. In DevSecOps, this step must ensure that the artifact is produced in a controlled environment, with verified dependencies, execution logs, permission segregation, and protection against unauthorized modifications.<\/p>\n<p>Best practices include using standardized runners, reliable base images, blocking insecure dependencies, generating SBOMs, signing artifacts, and storing them in repositories with access control. The build should be reproducible whenever possible, allowing you to trace which code, dependency, and configuration gave rise to a particular artifact.<\/p>\n<h3>6. Automated security testing<\/h3>\n<p>Automated security testing is a central part of DevSecOps. It can include SAST, SCA, secret analysis, container analysis, DAST, API testing, and validation of infrastructure as code and policies as code. Each type of test serves a different purpose, and none of them can solve all problems on its own.<\/p>\n<p>The key is to combine tools with prioritization criteria. Running dozens of tools without proper governance can lead to excessive alerts, false positives, and team burnout. A good program starts with the most valuable controls, establishes clear blocking rules, and evolves gradually.<\/p>\n<h3>7. Release and Approval<\/h3>\n<p>The release phase consolidates evidence and determines whether the artifact can proceed to production. In DevSecOps, this decision must take into account test results, open vulnerabilities, system criticality, external exposure, processed data, approved exceptions, and the remediation plan.<\/p>\n<p>Not every vulnerability should block a release. Blocking measures should be proportional to the risk. A critical, exploitable flaw in an application exposed to the internet may prevent the release. A low-severity finding in an internal component may proceed with a defined deadline for correction. The important thing is that the decision be transparent, documented, and aligned with the organization\u2019s risk policy.<\/p>\n<h3>8. Secure Deployment<\/h3>\n<p>Secure deployment involves controlled deployment, environment segregation, proper configuration, secret management, permission validation, rollback, approval when necessary, and observability. In modern environments, this may include Kubernetes, containers, infrastructure as code, and cloud platforms.<\/p>\n<p>Practices such as blue-green deployment, canary releases, and feature flags can reduce operational risks. However, they must be accompanied by monitoring, rollback criteria, and clear accountability. An automated deployment without security controls merely automates risks.<\/p>\n<h3>9. Operation, Monitoring, and Response<\/h3>\n<p>After deployment, DevSecOps continues. The application should generate useful logs, metrics, alerts, and audit trails. Authentication events, administrative changes, access to sensitive data, authorization failures, abnormal errors, and suspicious patterns should be monitored based on the system\u2019s criticality.<\/p>\n<p>The operation also includes continuous vulnerability management. New vulnerabilities may arise in dependencies already in use, container images, operating systems, or libraries. Therefore, the pipeline must integrate with processes for updating, patching, prioritizing, and responding.<\/p>\n<h3>10. Learning and Continuous Improvement<\/h3>\n<p>DevSecOps is a cycle of continuous improvement. Incidents, near misses, recurring vulnerabilities, process failures, and frequent exceptions should serve as learning opportunities. The company should review standards, update templates, improve automated testing, train teams, and adjust policies.<\/p>\n<p>Maturity is not measured solely by the number of tools, but by the ability to reduce actual risk, address root causes, and maintain consistent practices over time.<\/p>\n<h2 id=\"devsecops-no-ci-cd\">How to Integrate DevSecOps into CI\/CD<\/h2>\n<p>Integrating DevSecOps into CI\/CD means embedding security controls within the continuous integration and continuous delivery pipeline. The pipeline then becomes a mechanism for quality, security, compliance, and traceability. To achieve this, it is important to organize controls by stage, avoiding the concentration of all checks at a single point.<\/p>\n<p>A common mistake is trying to handle everything at the end of the pipeline. This leads to lengthy runs, a backlog of alerts, and frustration. A better strategy is to distribute checks according to when they make the most sense. Secret detection can occur at commit and in pull requests. SAST can occur in pull requests and during the build. SCA can occur during the build and periodically. DAST can occur in the staging environment. Monitoring occurs in production.<\/p>\n<table style=\"width: 100%; border-collapse: collapse; margin: 20px 0;\">\n<thead>\n<tr>\n<th style=\"border: 1px solid #ccc; padding: 10px; background-color: #ffd910; color: #000; vertical-align: middle; text-align: left;\">CI\/CD Stage<\/th>\n<th style=\"border: 1px solid #ccc; padding: 10px; background-color: #ffd910; color: #000; vertical-align: middle; text-align: left;\">Recommended DevSecOps Controls<\/th>\n<th style=\"border: 1px solid #ccc; padding: 10px; background-color: #ffd910; color: #000; vertical-align: middle; text-align: left;\">Objective<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Commit<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Detection of secrets and basic validation of patterns.<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Prevent credentials, tokens, and keys from being sent to the repository.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Pull request<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">SAST, code review, SCA, and policy checks.<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Provide prompt feedback before the code merge.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Build<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Dependency analysis, SBOM generation, signing, and secure packaging.<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Ensure the integrity and traceability of the artifact.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Container image<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Vulnerability scanning and base image validation.<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Reduce exposure caused by vulnerable software packages or insecure configurations.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Approval<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">DAST, API testing, and configuration validation.<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Identify observable flaws in a runtime environment.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Production<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Logs, alerts, monitoring, response, and ongoing vulnerability management.<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Detect incidents, monitor residual risk, and continuously improve.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Blocking criteria in the pipeline<\/h3>\n<p>A key consideration in CI\/CD integration is determining when the pipeline should block a deployment. Blocking everything can bring development to a standstill. Blocking nothing reduces the value of automation. Striking the right balance depends on objective criteria.<\/p>\n<p>A pragmatic policy may stipulate that exploitable critical vulnerabilities in exposed applications block the release. High-severity vulnerabilities may block the release depending on the context, the existence of a known exploit, the component\u2019s exposure, and the data being processed. Medium- and low-severity findings may result in tasks, provided there are deadlines, assigned responsibilities, and follow-up. Exposed secrets, private keys, and actual credentials must be addressed immediately, including revocation and investigation.<\/p>\n<h3>Exception Handling<\/h3>\n<p>Not every finding will be corrected immediately. That is why exception management is an important part of DevSecOps. An exception must include a justification, scope, person responsible, deadline, accepted risk, compensating controls, and appropriate approval. Exceptions without a deadline or periodic review become an informal way of accepting risks indefinitely.<\/p>\n<p>Governance must distinguish between false positives, accepted risk, compensatory mitigation, and planned corrections. Each category requires a different approach. This care improves the quality of the metrics and prevents unproductive disputes between security and engineering.<\/p>\n<h2 id=\"exemplos-praticos-ci-cd\">Practical Examples of DevSecOps in the Pipeline<\/h2>\n<p>The examples below show how DevSecOps practices can be integrated into CI\/CD pipelines. They are presented conceptually to facilitate adaptation to different platforms, such as GitLab CI, GitHub Actions, Jenkins, Azure DevOps, Tekton, or other equivalent solutions.<\/p>\n<h3>Example 1: Detecting secrets before the merge<\/h3>\n<p>One of the simplest and most valuable controls is detecting secrets in the code. API tokens, passwords, private keys, and banking credentials can be accidentally pushed to repositories. When this happens, the fix should not simply be to remove the secret from the file. It is also necessary to revoke the credential, analyze exposure, and replace the secret with a secure management mechanism.<\/p>\n<p>In a DevSecOps workflow, secret detection can occur at three points: locally in the developer's environment, in the pull request, and in the main pipeline. Tools such as <a href=\"https:\/\/github.com\/gitleaks\/gitleaks\" target=\"_blank\" rel=\"noopener\">Gitleaks<\/a> can support this verification. The pipeline may automatically fail when a real secret is identified, requiring a fix before the merge.<\/p>\n<h4>Recommended flow<\/h4>\n<ul>\n<li>Configure secret detection patterns in the repository.<\/li>\n<li>Run checks on pull requests.<\/li>\n<li>Block the merge when actual credentials are exposed.<\/li>\n<li>Log an internal incident when the secret has already been sent to the remote repository.<\/li>\n<li>Revoke and replace compromised credentials.<\/li>\n<li>Use a secret vault or protected variables from the pipeline.<\/li>\n<\/ul>\n<h3>Example 2: SAST in a pull request<\/h3>\n<p>Static code analysis, known as SAST, examines the source code without necessarily running the application. It can identify patterns associated with vulnerabilities such as injection, insecure use of functions, inadequate input validation, exposure of sensitive information, and authorization errors. In DevSecOps, SAST should provide feedback close to the time of the change.<\/p>\n<p>Tools such as <a href=\"https:\/\/semgrep.dev\/\" target=\"_blank\" rel=\"noopener\">Semgrep<\/a> They can be used to create rules specific to a language, framework, or internal standard. A company can, for example, create rules to prevent the direct use of concatenated SQL queries, require approved cryptography libraries, or flag endpoints that lack authorization checks.<\/p>\n<h4>Best Practices for SAST<\/h4>\n<ul>\n<li>Start with high-value rules to reduce noise.<\/li>\n<li>Customize rules in accordance with internal architecture standards.<\/li>\n<li>Address critical issues before the merge.<\/li>\n<li>Record false positives in a controlled manner.<\/li>\n<li>Periodically review rules and severity levels.<\/li>\n<\/ul>\n<h3>Example 3: SCA for Open Source Dependencies<\/h3>\n<p>Modern applications rely heavily on open-source libraries. This model accelerates development but also creates risks related to vulnerable components, transitive dependencies, incompatible licenses, and the software supply chain. Software composition analysis, known as SCA, identifies dependencies and known vulnerabilities.<\/p>\n<p>Tools such as <a href=\"https:\/\/owasp.org\/www-project-dependency-check\/\" target=\"_blank\" rel=\"noopener\">OWASP Dependency-Check<\/a> e <a href=\"https:\/\/owasp.org\/www-project-dependency-track\/\" target=\"_blank\" rel=\"noopener\">OWASP Dependency-Track<\/a> can support dependency management and SBOM. The <a href=\"https:\/\/snyk.io\/product\/open-source-security-management\/\" target=\"_blank\" rel=\"noopener\">Snyk Open Source<\/a> It is also a widely recognized tool for identifying vulnerabilities and licensing issues in dependencies, and is included here as a requested exception.<\/p>\n<h4>Sample Policy on Dependencies<\/h4>\n<ul>\n<li>Block dependencies with exploitable critical vulnerabilities.<\/li>\n<li>Require a remediation plan for high-severity vulnerabilities.<\/li>\n<li>Generate an SBOM for mission-critical applications.<\/li>\n<li>Monitor for new vulnerabilities after deployment.<\/li>\n<li>Avoid libraries that are not maintained, lack an active community, or do not have a reliable track record.<\/li>\n<\/ul>\n<h3>Example 4: Container Security<\/h3>\n<p>Containers have brought standardization and speed, but they also require specific precautions. Images may contain vulnerable packages, privileged users, embedded secrets, unnecessary layers, or insecure configurations. In DevSecOps, the pipeline must analyze the image before it is published to the registry and before deployment.<\/p>\n<p>Tools such as <a href=\"https:\/\/github.com\/aquasecurity\/trivy\" target=\"_blank\" rel=\"noopener\">Trivy<\/a> They can analyze images of containers, file systems, repositories, and infrastructure-as-code configurations. The policy can block images with critical vulnerabilities, require minimal base images, and prevent execution as root when not justified.<\/p>\n<h3>Example 5: Infrastructure as Code<\/h3>\n<p>Infrastructure as code allows you to create environments in a repeatable manner, but incorrect configurations can expose services, data, and credentials. Public buckets, broad firewall rules, excessive permissions, and a lack of encryption are common examples of issues that can be detected before deployment.<\/p>\n<p>Tools such as <a href=\"https:\/\/www.checkov.io\/\" target=\"_blank\" rel=\"noopener\">Chekhov<\/a>, <a href=\"https:\/\/github.com\/tenable\/terrascan\" target=\"_blank\" rel=\"noopener\">Terrascan<\/a> e <a href=\"https:\/\/www.openpolicyagent.org\/\" target=\"_blank\" rel=\"noopener\">Open Policy Agent<\/a> They can validate configurations and policies. The company can set rules such as: denying public storage by default, requiring encryption, restricting exposed ports, and preventing broad administrative permissions.<\/p>\n<h3>Example 6: DAST in a certification environment<\/h3>\n<p>Dynamic application testing, known as DAST, tests an application while it is running. It can identify externally observable issues, such as configuration errors, missing headers, information exposure, authentication issues, and certain types of endpoint vulnerabilities.<\/p>\n<p>A well-known open-source tool for this type of testing is the <a href=\"https:\/\/www.zaproxy.org\/\" target=\"_blank\" rel=\"noopener\">OWASP ZAP<\/a>. In DevSecOps, it can be run against a staging environment with dummy data, test credentials, and a controlled scope. Critical results must be evaluated before release.<\/p>\n<h2 id=\"ferramentas-open-source-devsecops\">Open-Source Tools for DevSecOps and a Reference to Snyk<\/h2>\n<p>Tools are important, but they are no substitute for governance, culture, and process. The choice should take into account programming language, architecture, cloud environment, deployment model, team capabilities, ease of integration, and quality of results. The table below lists examples of open-source tools useful in DevSecOps and includes Snyk as an additional reference, as requested.<\/p>\n<table style=\"width: 100%; border-collapse: collapse; margin: 20px 0;\">\n<thead>\n<tr>\n<th style=\"border: 1px solid #ccc; padding: 10px; background-color: #ffd910; color: #000; vertical-align: middle; text-align: left;\">Tool<\/th>\n<th style=\"border: 1px solid #ccc; padding: 10px; background-color: #ffd910; color: #000; vertical-align: middle; text-align: left;\">Category<\/th>\n<th style=\"border: 1px solid #ccc; padding: 10px; background-color: #ffd910; color: #000; vertical-align: middle; text-align: left;\">Use in DevSecOps<\/th>\n<th style=\"border: 1px solid #ccc; padding: 10px; background-color: #ffd910; color: #000; vertical-align: middle; text-align: left;\">Note<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\"><a href=\"https:\/\/semgrep.dev\/\" target=\"_blank\" rel=\"noopener\">Semgrep<\/a><\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">SAST<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Static code analysis in commits, pull requests, and builds.<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Useful for custom rules and internal secure coding standards.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\"><a href=\"https:\/\/owasp.org\/www-project-dependency-check\/\" target=\"_blank\" rel=\"noopener\">OWASP Dependency-Check<\/a><\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">SCA<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Identification of known vulnerabilities in dependencies.<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Suitable for pipelines that need to evaluate third-party components.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\"><a href=\"https:\/\/owasp.org\/www-project-dependency-track\/\" target=\"_blank\" rel=\"noopener\">OWASP Dependency-Track<\/a><\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">SBOM and the supply chain<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Ongoing management of components, SBOM, and dependency risks.<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">It helps track risks beyond the build phase.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\"><a href=\"https:\/\/github.com\/gitleaks\/gitleaks\" target=\"_blank\" rel=\"noopener\">Gitleaks<\/a><\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Detection of Secrets<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Search for credentials, tokens, and keys exposed in the code.<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">It can be used locally and in the pipeline to reduce secret leaks.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\"><a href=\"https:\/\/www.zaproxy.org\/\" target=\"_blank\" rel=\"noopener\">OWASP ZAP<\/a><\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">DAST<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Dynamic security testing of running applications.<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Recommended in a controlled environment with a defined scope.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\"><a href=\"https:\/\/github.com\/aquasecurity\/trivy\" target=\"_blank\" rel=\"noopener\">Trivy<\/a><\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Containers, SCA, and IaC<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Analysis of images, dependencies, files, and settings.<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Widely used in container and Kubernetes pipelines.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\"><a href=\"https:\/\/www.checkov.io\/\" target=\"_blank\" rel=\"noopener\">Chekhov<\/a><\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Infrastructure as Code<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Validation of cloud and IaC configurations before deployment.<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Helps detect insecure configurations in infrastructure templates.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\"><a href=\"https:\/\/github.com\/tenable\/terrascan\" target=\"_blank\" rel=\"noopener\">Terrascan<\/a><\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Infrastructure as Code<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Analysis of policies and configurations in IaC.<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">It can support preventive controls in cloud environments.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\"><a href=\"https:\/\/www.openpolicyagent.org\/\" target=\"_blank\" rel=\"noopener\">Open Policy Agent<\/a><\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Politics as Code<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Defining and implementing policies for pipelines, APIs, and infrastructure.<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Useful for standardizing technical governance decisions.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\"><a href=\"https:\/\/falco.org\/\" target=\"_blank\" rel=\"noopener\">Falco<\/a><\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Runtime detection<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Monitoring for suspicious behavior in containers and Linux environments.<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Complements \"Shift Left\" with operational detection in production.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\"><a href=\"https:\/\/snyk.io\/product\/open-source-security-management\/\" target=\"_blank\" rel=\"noopener\">Snyk<\/a><\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">SCA, code, containers, and IaC<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">A resource for identifying, prioritizing, and fixing vulnerabilities in dependencies, code, containers, and infrastructure as code.<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Included as a specific reference requested, even though it is not listed here as an open-source tool.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"governanca-devsecops\">Governance, Roles, and Responsibilities in DevSecOps<\/h2>\n<p>When explaining <strong>What is DevSecOps?<\/strong>, it is important to note that governance is just as important as automation. Without governance, tools generate alerts but do not necessarily reduce risks. A governance framework defines who makes decisions, who carries them out, who approves exceptions, which risks are acceptable, what evidence is required, and which metrics will be tracked.<\/p>\n<h3>Roles involved<\/h3>\n<p>DevSecOps works best when there is collaboration across various departments. Development implements controls in the code and fixes vulnerabilities. Security defines standards, supports automation, reviews risks, and guides teams. Operations ensures reliable environments, monitoring, and response. Product prioritizes security requirements alongside functionality. Privacy evaluates the handling of personal data. Legal and compliance help interpret regulatory obligations. Audit assesses evidence and effectiveness. Leadership defines risk appetite and removes organizational barriers.<\/p>\n<table style=\"width: 100%; border-collapse: collapse; margin: 20px 0;\">\n<thead>\n<tr>\n<th style=\"border: 1px solid #ccc; padding: 10px; background-color: #ffd910; color: #000; vertical-align: middle; text-align: left;\">Area<\/th>\n<th style=\"border: 1px solid #ccc; padding: 10px; background-color: #ffd910; color: #000; vertical-align: middle; text-align: left;\">Responsibility in DevSecOps<\/th>\n<th style=\"border: 1px solid #ccc; padding: 10px; background-color: #ffd910; color: #000; vertical-align: middle; text-align: left;\">Expected evidence<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Development<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Apply security standards, fix vulnerabilities, and participate in reviews.<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Pull requests, fixes, tests, and commit history.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Information Security<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Define policies, risk criteria, automation processes, and technical guidelines.<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Policies, standards, pipeline rules, and vulnerability reports.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Operations and Platform<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Maintain secure environments, observability, and deployment processes.<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Logs, metrics, configurations, runbooks, and deployment records.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Privacy and Legal<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Assess the impacts on the processing of personal data and legal obligations.<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Evaluation reports, opinions, treatment records, and privacy requirements.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Leadership<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Define priorities, risk tolerance, and resources for continuous improvement.<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Formal decisions, indicators, budget, and executive oversight.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Minimum Policies to Support DevSecOps<\/h3>\n<p>A company that wants to implement DevSecOps should formalize policies and minimum standards. This does not mean creating lengthy documents that are difficult to implement. Ideally, the company should produce objective guidelines that are aligned with the pipeline and the teams\u2019 day-to-day work.<\/p>\n<ul>\n<li>Safe Development Policy.<\/li>\n<li>Criteria for classifying the criticality of applications.<\/li>\n<li>Application Vulnerability Management Standard.<\/li>\n<li>Policy on the Use of Open Source Components.<\/li>\n<li>Secret Management Standard.<\/li>\n<li>Security standard for containers and base images.<\/li>\n<li>Rules for branch protection and code review.<\/li>\n<li>Criteria for security exceptions.<\/li>\n<li>Minimum logging and monitoring requirements.<\/li>\n<li>Procedure for Responding to Incidents Involving Applications.<\/li>\n<\/ul>\n<h2 id=\"riscos-e-desafios\">Key Risks and Implementation Challenges<\/h2>\n<p>Implementing DevSecOps requires care. Many organizations start by purchasing or installing tools, but fail to adopt the approach because they do not adjust their processes, roles, metrics, and culture. The following are the most common challenges.<\/p>\n<h3>Excessive alerts and false positives<\/h3>\n<p>When tools are enabled without calibration, they can generate thousands of alerts. This leads to alert fatigue, reduces trust, and causes teams to ignore results. The solution is to start with relevant rules, prioritize by risk, adjust severity levels, address false positives, and establish clear blocking criteria.<\/p>\n<h3>Lack of support from leadership<\/h3>\n<p>DevSecOps changes the way a company delivers software. Without executive support, teams may view security as an additional, low-priority task. Leadership must make it clear that security is an integral part of product quality and that critical risks should not be treated as mere technical details.<\/p>\n<h3>Unclear Responsibilities<\/h3>\n<p>If the company does not define responsibilities, vulnerabilities get stuck between departments. Development may have to wait for a decision from Security. Security may have to wait for a fix from Development. Operations may not know whether to block the deployment. A matrix of responsibilities prevents this problem.<\/p>\n<h3>Automation without a process<\/h3>\n<p>Automating tests is a good thing, but automation without a process does not guarantee maturity. It is necessary to define what will be done with the results, who will monitor deadlines, how exceptions are approved, which metrics will be used, and how improvements will be prioritized.<\/p>\n<h3>Low team performance<\/h3>\n<p>Tools identify problems, but people need to understand the causes and how to fix them. Without training, teams may simply silence alerts or apply superficial fixes. Hands-on training, internal examples, and expert support are essential.<\/p>\n<h2 id=\"evidencias-maturidade\">Evidence of compliance and maturity<\/h2>\n<p>A mature DevSecOps organization can demonstrate that its controls are in place, are being implemented, and are producing results. Evidence is important for audits, certifications, investigations, client due diligence, accountability, and corporate governance.<\/p>\n<p>Evidence should preferably be generated by the workflow itself. Manual reports can be useful, but automated evidence is more consistent. Pipelines, repositories, vulnerability tools, issue tracking systems, and observability platforms are important sources.<\/p>\n<table style=\"width: 100%; border-collapse: collapse; margin: 20px 0;\">\n<thead>\n<tr>\n<th style=\"border: 1px solid #ccc; padding: 10px; background-color: #ffd910; color: #000; vertical-align: middle; text-align: left;\">Practice<\/th>\n<th style=\"border: 1px solid #ccc; padding: 10px; background-color: #ffd910; color: #000; vertical-align: middle; text-align: left;\">A Sign of Maturity<\/th>\n<th style=\"border: 1px solid #ccc; padding: 10px; background-color: #ffd910; color: #000; vertical-align: middle; text-align: left;\">How to evaluate<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">SAST in the pipeline<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Implementation reports, history of findings and corrections.<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Check coverage by repository and average time to fix.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Dependency Management<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">SBOM, component inventory, and vulnerability alerts.<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Assess whether critical applications have an up-to-date inventory.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Branch Protection<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Repository settings and approval rules.<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Confirm whether critical changes require review and successful testing.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Exception Handling<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Record including justification, deadline, person in charge, and approval.<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Analyze overdue exceptions and their recurrence by system.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Production Monitoring<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Logs, alerts, runbooks, and incident records.<\/td>\n<td style=\"border: 1px solid #ccc; padding: 10px; vertical-align: middle;\">Check coverage, alert quality, and event response.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"boas-praticas\">Best Practices for Implementing DevSecOps<\/h2>\n<p>A successful implementation should start small, measure results, and evolve consistently. The company does not need to implement all controls at once. The most important thing is to create a sustainable foundation.<\/p>\n<h3>Start with critical applications<\/h3>\n<p>Prioritize systems exposed to the internet, applications that process personal data, financial platforms, systems integrated with third parties, and business-critical services. This approach allows you to quickly demonstrate value and reduce significant risks.<\/p>\n<h3>Set a minimum baseline<\/h3>\n<p>The baseline should specify minimum controls based on criticality. A critical application may require SAST, SCA, secret detection, DAST, SBOM, architecture review, and advanced monitoring. A low-criticality internal application can start with simpler controls. This differentiation prevents excessive costs and improves acceptance.<\/p>\n<h3>Automate using clear criteria<\/h3>\n<p>Automation must be accompanied by decision rules. The pipeline needs to know what to block, what to flag, and what to log. Criteria should take into account severity, known exploits, exposure, the criticality of the asset, the presence of sensitive data, and compensating controls.<\/p>\n<h3>Create reusable templates<\/h3>\n<p>Platform and security teams can create pipeline templates, infrastructure-as-code examples, secure base images, internal libraries, approved modules, and standardized configurations. This reduces the workload for teams and improves consistency.<\/p>\n<h3>Measure What Matters<\/h3>\n<p>Metrics should support decision-making, not just generate reports. Useful metrics include pipeline coverage with security controls, average time to fix by severity, open critical vulnerabilities, expired exceptions, percentage of applications with an SBOM, recurrence of failures, and the rate of builds blocked due to actual risk.<\/p>\n<h3>Incorporate security into the backlog<\/h3>\n<p>Vulnerabilities and security improvements should be added to the backlog with the appropriate priority. When security is left out of the product development process, fixes end up competing informally with features and are ultimately postponed. DevSecOps requires visibility and continuous management.<\/p>\n<h3>Promote continuing education<\/h3>\n<p>Training sessions should be practical and context-specific. Instead of simply explaining general concepts, use real examples from the company, coding standards, common vulnerabilities, and architectural decisions. The goal is to reduce the recurrence of errors and increase the teams\u2019 autonomy.<\/p>\n<h2 id=\"relacao-lgpd-iso-nist-cis\">Relationship with the LGPD, ISO 27001, NIST, and CIS Controls<\/h2>\n<p>DevSecOps is directly linked to governance, information security, privacy, and compliance. Although it is not a single standard, it supports the practical implementation of various requirements found in frameworks and regulations.<\/p>\n<h3>DevSecOps and the LGPD<\/h3>\n<p>The General Data Protection Law requires attention to the processing of personal data, security, prevention, accountability, and transparency. DevSecOps contributes by incorporating privacy and security from the design phase, reducing vulnerabilities in applications, improving the traceability of changes, supporting incident management, and generating evidence of technical and organizational controls.<\/p>\n<p>In an application that processes personal data, DevSecOps practices help ensure data minimization, access control, encryption, logging, environment segregation, and vulnerability management. This does not replace a legal assessment or a privacy program, but it strengthens the technical capacity to protect data.<\/p>\n<h3>DevSecOps and ISO\/IEC 27001<\/h3>\n<p>ISO\/IEC 27001 addresses information security management systems. DevSecOps supports controls related to secure development, change management, access control, vulnerability management, vendor security, logging, monitoring, and continuous improvement. The organization can use evidence from the pipelines to demonstrate the implementation of controls during internal and external audits.<\/p>\n<h3>DevSecOps and NIST SSDF<\/h3>\n<p>The NIST Secure Software Development Framework provides practices for reducing vulnerabilities in software. DevSecOps can operationalize these practices through secure requirements, protection of the development environment, code review, automated testing, component management, and vulnerability response. The relationship is straightforward: the SSDF provides guidance on what to consider, while DevSecOps helps translate that guidance into operational workflows.<\/p>\n<h3>DevSecOps and CIS Controls<\/h3>\n<p>The CIS Controls include practices related to inventory, data protection, vulnerability management, access control, logging, incident response, and application security. DevSecOps contributes particularly to software inventory, component management, vulnerability remediation, credential protection, and environment monitoring.<\/p>\n<h2 id=\"conclusao\">Conclusion<\/h2>\n<p>Understand <strong>What is DevSecOps?<\/strong> It means understanding that security must keep pace with modern software development and operations. In digital environments, it is no longer enough to perform one-off tests at the end of a project. Applications are constantly changing, dependencies are updated, new vulnerabilities emerge, infrastructure is provisioned via code, and teams deliver value in increasingly shorter cycles.<\/p>\n<p>DevSecOps addresses this scenario by integrating security into planning, architecture, code, CI\/CD, deployment, operations, and continuous improvement. The \u201cShift Left\u201d concept enables the early identification of issues, reduces rework, and improves the quality of deliveries. At the same time, monitoring and response practices maintain active security after deployment to production.<\/p>\n<p>An effective journey does not begin with the number of tools, but with clear objectives, governance, risk criteria, and cross-functional collaboration. Open-source tools such as Semgrep, OWASP Dependency-Check, OWASP Dependency-Track, Gitleaks, OWASP ZAP, Trivy, Checkov, Terrascan, Open Policy Agent, and Falco can support different stages of the cycle. Snyk, as an additional reference requested, is also relevant for organizations seeking capabilities for analyzing and prioritizing dependencies, code, containers, and infrastructure as code.<\/p>\n<p>For companies seeking maturity, DevSecOps should be treated as an ongoing practice encompassing governance, information security, cybersecurity, data protection, and software engineering. The expected outcome is not merely to identify vulnerabilities, but to reduce actual risk, increase confidence in deliveries, generate evidence of compliance, and build more secure digital products from the ground up.<\/p>\n<h2 id=\"perguntas-frequentes\">Frequently Asked Questions on This Topic<\/h2>\n<details id=\"e-n-accordion-item-5850\" style=\"margin: 0 0 14px 0; padding: 16px 18px; border: 1px solid #ddd; border-radius: 8px; background-color: #fff;\" open=\"\">\n<summary style=\"font-weight: bold; cursor: pointer; line-height: 1.5; color: #000;\" tabindex=\"0\" data-accordion-index=\"1\" aria-expanded=\"true\" aria-controls=\"e-n-accordion-item-5850\">What is DevSecOps, and why is this concept important for companies?<\/summary>\n<p style=\"margin: 12px 0 0 0; padding: 0; line-height: 1.7; color: #333;\">DevSecOps is the integration of security into the DevOps cycle, incorporating controls from planning through production operations. The concept is important because it reduces vulnerabilities, minimizes rework, improves traceability, and enables companies to deliver software faster and with less risk.<\/p>\n<\/details>\n<details id=\"e-n-accordion-item-5851\" style=\"margin: 0 0 14px 0; padding: 16px 18px; border: 1px solid #ddd; border-radius: 8px; background-color: #fff;\">\n<summary style=\"font-weight: bold; cursor: pointer; line-height: 1.5; color: #000;\" tabindex=\"0\" data-accordion-index=\"2\" aria-expanded=\"false\" aria-controls=\"e-n-accordion-item-5851\">How can a company begin to implement DevSecOps without disrupting its development teams?<\/summary>\n<p style=\"margin: 12px 0 0 0; padding: 0; line-height: 1.7; color: #333;\">The company can start with critical applications, define a minimum baseline of controls, automate high-value checks, and create objective blocking criteria. Ideally, it should begin with secret detection, dependency analysis, and SAST on pull requests, evolving as the teams gain maturity.<\/p>\n<\/details>\n<details id=\"e-n-accordion-item-5852\" style=\"margin: 0 0 14px 0; padding: 16px 18px; border: 1px solid #ddd; border-radius: 8px; background-color: #fff;\">\n<summary style=\"font-weight: bold; cursor: pointer; line-height: 1.5; color: #000;\" tabindex=\"0\" data-accordion-index=\"3\" aria-expanded=\"false\" aria-controls=\"e-n-accordion-item-5852\">What are the key DevSecOps controls in a CI\/CD pipeline?<\/summary>\n<p style=\"margin: 12px 0 0 0; padding: 0; line-height: 1.7; color: #333;\">Key controls include static code analysis, verification of vulnerable dependencies, detection of secrets, container analysis, validation of infrastructure as code, dynamic testing during acceptance, SBOM generation, artifact signing, and production monitoring.<\/p>\n<\/details>\n<details id=\"e-n-accordion-item-5853\" style=\"margin: 0 0 14px 0; padding: 16px 18px; border: 1px solid #ddd; border-radius: 8px; background-color: #fff;\">\n<summary style=\"font-weight: bold; cursor: pointer; line-height: 1.5; color: #000;\" tabindex=\"0\" data-accordion-index=\"4\" aria-expanded=\"false\" aria-controls=\"e-n-accordion-item-5853\">What does \u201cShift Left\u201d mean in DevSecOps, and how can this concept be applied?<\/summary>\n<p style=\"margin: 12px 0 0 0; padding: 0; line-height: 1.7; color: #333;\">\"Shift Left\" means moving security activities to the early stages of development. In practice, this involves secure requirements, threat modeling, code reviews, automated testing on pull requests, dependency validation, and rapid feedback to developers before defects make it to production.<\/p>\n<\/details>\n<details id=\"e-n-accordion-item-5854\" style=\"margin: 0 0 14px 0; padding: 16px 18px; border: 1px solid #ddd; border-radius: 8px; background-color: #fff;\">\n<summary style=\"font-weight: bold; cursor: pointer; line-height: 1.5; color: #000;\" tabindex=\"0\" data-accordion-index=\"5\" aria-expanded=\"false\" aria-controls=\"e-n-accordion-item-5854\">What evidence shows that a DevSecOps program is working?<\/summary>\n<p style=\"margin: 12px 0 0 0; padding: 0; line-height: 1.7; color: #333;\">Relevant evidence includes pipeline reports, a history of fixed vulnerabilities, average time to fix, branch protection rules, records of approved exceptions, an up-to-date SBOM, monitoring logs, coverage metrics, and metrics on the reduction of recurring defects.<\/p>\n<\/details>\n<details id=\"e-n-accordion-item-5855\" style=\"margin: 0 0 14px 0; padding: 16px 18px; border: 1px solid #ddd; border-radius: 8px; background-color: #fff;\">\n<summary style=\"font-weight: bold; cursor: pointer; line-height: 1.5; color: #000;\" tabindex=\"0\" data-accordion-index=\"6\" aria-expanded=\"false\" aria-controls=\"e-n-accordion-item-5855\">How does DevSecOps relate to the LGPD and personal data protection?<\/summary>\n<p style=\"margin: 12px 0 0 0; padding: 0; line-height: 1.7; color: #333;\">DevSecOps supports the LGPD by incorporating security and privacy by design, reducing vulnerabilities in systems that process personal data, and improving access control, logging, traceability, incident management, and documentation of technical and organizational measures.<\/p>\n<\/details>\n<details id=\"e-n-accordion-item-5856\" style=\"margin: 0 0 14px 0; padding: 16px 18px; border: 1px solid #ddd; border-radius: 8px; background-color: #fff;\">\n<summary style=\"font-weight: bold; cursor: pointer; line-height: 1.5; color: #000;\" tabindex=\"0\" data-accordion-index=\"7\" aria-expanded=\"false\" aria-controls=\"e-n-accordion-item-5856\">Which departments should be involved in the implementation of DevSecOps?<\/summary>\n<p style=\"margin: 12px 0 0 0; padding: 0; line-height: 1.7; color: #333;\">DevSecOps should involve development, information security, operations, platform, architecture, product, privacy, legal, compliance, auditing, and leadership. Integrated participation prevents unclear responsibilities and allows security to be treated as part of product quality.<\/p>\n<\/details>\n<details id=\"e-n-accordion-item-5857\" style=\"margin: 0 0 14px 0; padding: 16px 18px; border: 1px solid #ddd; border-radius: 8px; background-color: #fff;\">\n<summary style=\"font-weight: bold; cursor: pointer; line-height: 1.5; color: #000;\" tabindex=\"0\" data-accordion-index=\"8\" aria-expanded=\"false\" aria-controls=\"e-n-accordion-item-5857\">What are the most common mistakes made when implementing DevSecOps?<\/summary>\n<p style=\"margin: 12px 0 0 0; padding: 0; line-height: 1.7; color: #333;\">The most common mistakes include focusing solely on tools, generating excessive alerts, failing to define blocking criteria, ignoring expired exceptions, leaving security off the backlog, failing to train developers, and failing to measure whether controls reduce actual risks.<\/p>\n<\/details>\n<details id=\"e-n-accordion-item-5858\" style=\"margin: 0 0 14px 0; padding: 16px 18px; border: 1px solid #ddd; border-radius: 8px; background-color: #fff;\">\n<summary style=\"font-weight: bold; cursor: pointer; line-height: 1.5; color: #000;\" tabindex=\"0\" data-accordion-index=\"9\" aria-expanded=\"false\" aria-controls=\"e-n-accordion-item-5858\">How can you measure the maturity of DevSecOps in an organization?<\/summary>\n<p style=\"margin: 12px 0 0 0; padding: 0; line-height: 1.7; color: #333;\">Maturity can be measured by CI\/CD control coverage, average time to fix, the percentage of critical applications with automated testing, the number of overdue exceptions, the presence of an SBOM, log quality, integration with risk management, and the reduction of recurring vulnerabilities.<\/p>\n<\/details>\n<details id=\"e-n-accordion-item-5859\" style=\"margin: 0 0 14px 0; padding: 16px 18px; border: 1px solid #ddd; border-radius: 8px; background-color: #fff;\">\n<summary style=\"font-weight: bold; cursor: pointer; line-height: 1.5; color: #000;\" tabindex=\"0\" data-accordion-index=\"10\" aria-expanded=\"false\" aria-controls=\"e-n-accordion-item-5859\">Does DevSecOps replace audits, penetration testing, and vulnerability management?<\/summary>\n<p style=\"margin: 12px 0 0 0; padding: 0; line-height: 1.7; color: #333;\">DevSecOps does not replace audits, penetration testing, or vulnerability management. It complements these practices by automating continuous controls, proactively applying patches, and generating evidence. Specialized testing, independent audits, and formal risk management remain important components of a comprehensive security strategy.<\/p>\n<\/details>\n<\/div>\n<p><!-- .vgblk-rw-wrapper --><\/p>","protected":false},"excerpt":{"rendered":"<p>Entenda o que \u00e9 DevSecOps e como integrar seguran\u00e7a no desenvolvimento de software. Transforme seu pipeline com pr\u00e1ticas eficazes.<\/p>","protected":false},"author":4,"featured_media":995276,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[444,3,6],"tags":[223,512,66,82,513,514,84],"class_list":["post-994247","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-governar","category-identificar","category-proteger","tag-ciberseguranca","tag-desenvolvimento-de-software","tag-devsecops","tag-gestao-de-riscos","tag-integracao-continua","tag-pipelines","tag-seguranca-da-informacao"],"acf":[],"_links":{"self":[{"href":"https:\/\/elcanary.com\/en\/wp-json\/wp\/v2\/posts\/994247","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elcanary.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elcanary.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elcanary.com\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/elcanary.com\/en\/wp-json\/wp\/v2\/comments?post=994247"}],"version-history":[{"count":0,"href":"https:\/\/elcanary.com\/en\/wp-json\/wp\/v2\/posts\/994247\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/elcanary.com\/en\/wp-json\/wp\/v2\/media\/995276"}],"wp:attachment":[{"href":"https:\/\/elcanary.com\/en\/wp-json\/wp\/v2\/media?parent=994247"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elcanary.com\/en\/wp-json\/wp\/v2\/categories?post=994247"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elcanary.com\/en\/wp-json\/wp\/v2\/tags?post=994247"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}