DevOps.com

Where the world meets DevOps

  • Latest
    • Articles
    • Features
    • Most Read
    • News
    • News Releases
  • Topics
    • AI
    • Continuous Delivery
    • Continuous Testing
    • Cloud
    • Culture
    • DevSecOps
    • Enterprise DevOps
    • Leadership Suite
    • DevOps Practice
    • ROELBOB
    • DevOps Toolbox
    • IT as Code
  • DevOps Chats
  • Webinars
    • Upcoming
    • On-Demand Webinars
  • Library
  • Events
    • Virtual Summits
    • Conferences
  • Sponsored Communities
    • CloudBees
    • IT as Code
  • Related Sites
    • MediaOps
    • Container Journal
    • Security Boulevard
    • SweetCode.io
    • Digital Anarchist
    • DevOps TV on YouTube
    • DevOps Chat on SoundCloud
    • DevOps Connect
    • DevOps Dozen
  • Media Kit
  • Follow Us
    • Twitter
    • Google News
    • LinkedIn
    • Facebook
    • DevOps TV on YouTube
    • Email
MENUMENU
  • AI
    • Threading the Needle on Kubernetes Complexity with AI-Powered Observability

      Threading the Needle on Kubernetes Complexity with AI-Powered Observability

      Enterprise AI Books to Read This Spring

      Enterprise AI Books to Read This Spring

      A Deep Dive Into AI for IT Operations

      A Deep Dive Into AI for IT Operations

      ServiceNow

      OpsRamp Adds Recommendation Engine to AIOps Platform

      Three Keys to Successful AI Adoption

      Three Keys to Successful AI Adoption

  • Cloud
    • How to Compare and Contrast APIs to Improve DevOps Processes

      How to Compare and Contrast APIs to Improve DevOps Processes

      managed DevOps

      2nd Watch Allies With GitLab for Managed DevOps Service

      Oracle Adds APIs to Java SDK To Advance DevOps

      Oracle Adds APIs to Java SDK To Advance DevOps

      Mission Makes AWS Expertise Available for Free

      Mission Makes AWS Expertise Available for Free

      managed DevOps

      Extending Cloud to Enable Intelligent Edge

  • Continuous Delivery
    • SonarQube

      OverOps Allies With SonarQube To Improve Application Quality

      managed DevOps

      2nd Watch Allies With GitLab for Managed DevOps Service

      Jira

      Provide Continuous Value with Product-Centric Delivery

      embedded systems

      Wind River Launches CD Platform for Embedded Systems

      F5 NGINX

      F5 Networks Launches Next-Gen ADC Based on NGINX

  • Continuous Testing
    • What Developers Should Take Away from the Iowa Caucus App Debacle

      What Developers Should Take Away from the Iowa Caucus App Debacle

      survey testing

      Survey Sees Little Progress in Drive to Shift Testing Left

      DevOps Software Testing

      DevOps Places Software Testing in the Crosshairs

      testing

      DevOps Chats: Enterprise Continuous Testing With a Shift-Right Mindset

      Investing Mobile Device Testing Lab

      Investing in a Mobile Device Testing Lab

  • DevSecOps
    • Free Remote Endpoint Protection Solution From Qualys

      Free Remote Endpoint Protection Solution From Qualys

      42Crunch

      42Crunch Extends API Security Alliance With Microsoft

      SonarQube

      The DevOps Sweet Spot: Inserting Security at Pull Requests (Part 2)

      Catch Emerging Security Risks Earlier by Leveraging Kubernetes Audit Logs

      Catch Emerging Security Risks Earlier by Leveraging Kubernetes Audit Logs

      The DevOps Sweet Spot: Inserting Security at Pull Requests (Part 1)

      The DevOps Sweet Spot: Inserting Security at Pull Requests (Part 1)

  • Leadership Suite
    • Digital Transformation Efforts Hindered by Lack of Upskilling

      Digital Transformation Efforts Hindered by Lack of Upskilling

      Enterprise AI Books to Read This Spring

      Enterprise AI Books to Read This Spring

      Commercial Objectives in the Age of Automation

      Commercial Objectives in the Age of Automation

      The Role of Soft Skills in Building Strong DevOps Leads

      The Role of Soft Skills in Building Strong DevOps Leads

      Survey Finds IT Modernization Efforts Reap Significant Benefits

      Survey Finds IT Modernization Efforts Reap Significant Benefits

  • Practices
    • SonarQube

      OverOps Allies With SonarQube To Improve Application Quality

      COVID-19 Appian

      COVID-19 Pandemic: Appian Offers Free HR App

      What the Best Developers Do to Be Great at Their Jobs

      What the Best Developers Do to Be Great at Their Jobs

      IT Automation Tools Are No Longer Enough

      IT Automation Tools Are No Longer Enough

      Threading the Needle on Kubernetes Complexity with AI-Powered Observability

      Threading the Needle on Kubernetes Complexity with AI-Powered Observability

  • ROELBOB
    • le-plus-changer

      Le plus ça change, plus c’est la même chose

      webinar

      Webinar

      a-professional-dilemma

      A Professional Dilemma

      limits-of-solidarity

      The Limits of Solidarity

      A-Taxonomy-of-Consequences

      A Taxonomy of Consequences

  • Toolbox
    • Tasktop Viz

      Tasktop Delivers Viz Value Stream Management App

      Jira

      Atlassian Adds No-Code Automation Tool to Jira Cloud

      Catchpoint

      Top Six Open Source Tools for Monitoring Kubernetes and Docker

      DevOps database

      DevOps Brings Pressure to Bear on Database Management

      Nerdio

      The Right Toolchain Is the One You Build

  • IT as Code
  • More Topics
    • Application Performance Management/Monitoring
    • Culture
    • Enterprise DevOps

Home » Blogs » DevOps Practice » The DevOps Sweet Spot: Inserting Security at Pull Requests (Part 1)

The DevOps Sweet Spot: Inserting Security at Pull Requests (Part 1)

Chetan ConikeeBy Chetan Conikee on March 11, 2020 1 Comment

Today’s organizations are increasingly benefiting from the modernization of the software development lifecycle (SDLC), including the adoption of cloud, DevOps, Agile methodologies, containers and more. Thanks to this modernization, organizations are innovating and releasing updates faster than ever before. But these benefits aren’t without challenges.

Recent Posts By Chetan Conikee
  • The DevOps Sweet Spot: Inserting Security at Pull Requests (Part 2)
  • GDPR and Data Leakage: How Semantic Graphing Can Help
Chetan Conikee More from Chetan Conikee
Related Posts
  • Cybric Launches Industry-First Continuous Security-as-a-Service Platform
  • New DevOps Research From Sonatype Reveals Changing Attitudes Toward Application Security
  • 2019 State of DevOps Report Reveals Shifting Security Left is Insufficient; Organizations Must Fundamentally Change How They Work Earlier in the Software Delivery Cycle
    Related Categories
  • Blogs
  • DevOps Practice
  • DevSecOps
    Related Topics
  • devops
  • sdlc
  • security
  • security automation
  • security scans
  • software development lifecycle
Show more
Show less

Application security arguably tops the list of challenges. Security has inherently manual bottlenecks, and is unable to keep up with the pace of automated DevOps pipelines. The result is that security is often left behind, overlooked or simply ignored in the development process. Developers aren’t willing to slow innovation down today for the potential of security breaches tomorrow.

As a result, more and more applications are being shipped into production with vulnerabilities and security flaws. Today, most of the vulnerabilities are found in post-production either via red teams, bug bounty programs or siloed and irregular code analysis scans. At best, these vulnerabilities are fixed in the next version that’s shipped. At worst, your organization is making headlines for millions of personal records being breached.

However, security in the modern SDLC is becoming more symbiotic thanks to two key advancements—speed and accuracy. Overcoming these two challenges enables security to be inserted into developer workflows earlier than ever before. By automating security with every pull request, development organizations can finally embrace security without slowing down innovation.  

Automation — Security at the Speed of DevOps

These days, many vendors claim to insert security into DevOps pipelines, often during the build. While it’s true that security scans may be automatically started, they still finish in siloed processes that don’t keep up with the pace of releases. We call this “automation for automation’s sake.” It does not measurably improve defect density, slow the accrual of technical debt or reduce mean time to repair (MTTR). The only value that automating this way provides is checking a box on a compliance form.  

So, how can organizations more effectively automate security quality decisions? 

First, security tests and scans need to be dramatically faster. Legacy code analysis takes such a long time that many vendors recommend sacrificing comprehensiveness by scanning only differentials. Even then, they still aren’t fast enough to keep up with CI/CD. It goes without saying that organizations cannot meaningfully automate security into processes such as builds or pull requests, that take just a fraction of the time.

Second, the results need to be more reliable. The goal of security automation should be to fail insecure code. However, historically, code analysis tools are plagued by so many false positives that no code would ever pass any test. Only with reliable results can insecure code be confidently failed. 

Third, security scans must be comprehensive as false negatives lead to vulnerabilities going undetected into production. This is, in part, because developers are not asking the right security questions when scanning their code. Traditional code analysis tools leverage pattern matching techniques—they look for symptoms of a vulnerability that are common across all code bases. For example, lack of input validation from sources is a classic cause of injection vulnerabilities. However, there are many vulnerabilities that are unique to each code base, such as business logic flaws, data leakage, hard-coded literals and insider threats.

For example, all applications are purpose-built to meet specific business needs, meaning vulnerabilities may go beyond coding errors and present themselves as business logic flaws in the design of an application. Take the First American Financial breach. Thanks to an insecure direct object reference (IDOR), an attacker has the potential to manipulate an internal implementation object. In the case of First American Financial, this was a URL or form parameter. Given the asymmetrical advantage that attackers have, defenders must protect from all possible vulnerabilities, but attackers need to only find one vulnerable route. As such, partial security can be as problematic as no security.

Only when security is completely comprehensive—reliable enough to fail with confidence and fast enough to keep up—can it be meaningfully automated into developer workflows without slowing them down.

Yet, comprehensive security scanning is only part of the equation. In the second article of this series, I’ll dig into where these security scans should be taking place in the development cycle to make them most effective.

— Chetan Conikee

Filed Under: Blogs, DevOps Practice, DevSecOps Tagged With: devops, sdlc, security, security automation, security scans, software development lifecycle

  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • More
  • Click to share on Pinterest (Opens in new window)
  • Click to share on Tumblr (Opens in new window)

Like this:

Like Loading...
Sponsored Content
Featured eBook
Top 10 Kubernetes Security Best Practices

Top 10 Kubernetes Security Best Practices

Over the last couple of years, Kubernetes has become all the rage and is now the most popular container orchestration and scheduling clustered system. Tons of developers have jumped on the Kubernetes bandwagon, drawing on their experience to provide best-in-class rules for items you should look out for when pushing ... Read More
« Enterprise AI Books to Read This Spring
Trend Micro Blocked 13 Million High-Risk Email Threats in 2019 »

Top Stories of the Week

  • View DevOps.com Privacy Policy

Upcoming Webinars

Wed 25

From Monoliths to Microservices: A Tale of Migrations (Part 1)

Wed, March 25, 1:00 pm - 2:00 pm EDT
Mon 30

Value Stream Management: The What and Why

Mon, March 30, 1:00 pm - 2:00 pm EDT
Tue 31

Observability in Java: Getting Started with OpenTelemetry

Tue, March 31, 1:00 pm - 2:00 pm EDT

More Webinars

Past Webinars

Latest from DevOps.com

Small Teams Focused on Delivering Outcomes Produce the Best ...
March 25, 2020 | Larry Gordon
Le plus ça change, plus c’est la même chose
March 25, 2020 |