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 2)

SonarQube

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

Chetan ConikeeBy Chetan Conikee on March 17, 2020 1 Comment

In part one of this two-part series, I explored how organizations can more effectively automate security quality decisions and discard doing automation for automation’s sake. I shared why security scans need to be faster, more reliable and comprehensive. Only then can security be meaningfully automated into developer workflows without slowing them down.

Recent Posts By Chetan Conikee
  • The DevOps Sweet Spot: Inserting Security at Pull Requests (Part 1)
  • GDPR and Data Leakage: How Semantic Graphing Can Help
Chetan Conikee More from Chetan Conikee
Related Posts
  • The DevOps Sweet Spot: Inserting Security at Pull Requests (Part 1)
  • ShiftLeft Advances DevOps with Industry’s Most Developer-Friendly Automated Application Security Platform
  • ShiftLeft and CircleCI Strengthen DevOps Security by Inserting Code Analysis as Far Left as Developer Pull Requests
    Related Categories
  • Blogs
  • DevOps Practice
  • DevSecOps
    Related Topics
  • appsec
  • devops
  • devsecops
  • pull requests
  • sdlc
  • security
  • shift left
Show more
Show less

But, the other part of this is understanding where these security scans should take place throughout the SDLC. Why? Because inserting security too early or too late in development and pre-production can have drastic impacts on remediation efficiency, developer productivity and more. 

Shifting Security as Far Left as Pull Requests

Identifying vulnerabilities once they’re in production is the riskiest, as well as the most time-consuming and expensive remediation. Working in pre-production test environments or builds reduces the risk, but not much of the time or efficiency in remediation. Conversely, inserting code analysis into developer IDE’s is too early. While in theory the IDE could be a good place for security feedback, in practice, it slows down the developer’s machine and comes at a huge cost of productivity.

Instead, commits and pull requests are the ideal place to insert security because it delivers the right vulnerability information to the right developer at the right time. Combine this with integrations into ticketing and other systems and the full developer workflow can be meaningfully automated.

Simply by getting the right developer, the right vulnerabilities information breaks down one of the biggest challenges in AppSec. Developers typically outnumber AppSec team members by 50-1 or more—hence a security scan that generates 100 vulnerabilities creates a tremendous amount of work for a single AppSec professional. However, assigned to the right developers, at an average of two per person, the challenge immediately becomes more manageable. Still accuracy matters because, while the burden may be spread out, developers triaging false positives is an expensive resource focusing on a low value task.

Getting developers security feedback at the right time is also vitally important. When developers get immediate security feedback, vulnerabilities become easier to fix because the code is still fresh in their mind. Furthermore, fixing vulnerabilities early has compounding benefits. Since insecure code never goes into production, not only is the attack surface reduced, but additional code that is dependent on the vulnerability never gets written. This minimizes the most expensive and time-consuming security fixes, which require not only fixing the underlying vulnerability, but also rewriting dependent code. Best of all, with immediate, regular, comprehensive and accurate security feedback, developers will ultimately learn and adopt more secure coding practices overtime.

Lastly, by inserting security at the commit or pull request, security and developers can establish a shared responsibility model on more realistic terms. When security can commit to accuracy and timely KPIs, developers can commit to triaging and fixing vulnerabilities faster. This reduces MTTR, puts a downward trend on defect density and reduces the application’s overall attack surface. It also reflects the realities that AppSec professionals have a limited ability to triage vulnerabilities, because they don’t know the code intimately and that only developers can fix the underlying vulnerabilities.

By solving the fundamental challenges of speed, accuracy and comprehensiveness to deliver the right vulnerability to the right developer at the right time, security earns the ability to ask more from developers, and CISOs and CTOs can jointly accept responsibility for protecting applications and data.

The rate at which software is being created and shipped isn’t slowing down, but many organizations have struggled to find where security most effectively fits into this process. By inserting security at the pull request, not only can developers identify and remediate vulnerabilities faster and more accurately, they can better automate security quality decisions. By taking this approach, organizations are fundamentally changing how engineering and security collaborate within enterprises.

— Chetan Conikee

Filed Under: Blogs, DevOps Practice, DevSecOps Tagged With: appsec, devops, devsecops, pull requests, sdlc, security, shift left

  • 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
« Social Distancing in the Age of Automation
Cloudbees Strong Growth And Business Momentum Continues For Fiscal Year Ending January 31: Drives Record Annual Recurring Revenue, Makes Key Acquisitions, Sets Industry Vision For Software Delivery Management »