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
    • Better CX with AIOps

      Build Better CX Across the Entire User Journey with AIOps

      Putting Customer Communication at the Core of New Apps

      Putting Customer Communication at the Core of New Apps

      AIoT and Intelligence on the Edge

      AIoT and Intelligence on the Edge

      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

  • Cloud
    • JFrog DevOps

      JFrog Makes Free DevOps Resources Available for COVID-19 Projects

      Scalyr

      Scalyr Alters Log Analytics Economics

      APM and Application Stability: Where Two Monitoring Roads Merge and Diverge

      APM and Application Stability: Where Two Monitoring Roads Merge and Diverge

      Google CloudBees

      Google Names CloudBees App Dev Partner of the Year

      Scalyr

      Sysdig Extends Cloud Monitoring Alliance With IBM

  • Continuous Delivery
    • CD Foundation

      CD Foundation Serves Up Tekton Pipelines Beta

      GitLab open source

      GitLab Shifts 18 Features Into Core Open Source Platform

      CircleCI DevOps

      CircleCI Surfaces More DevOps Insights

      SignalFX

      OverOps Allies With SonarQube To Improve Application Quality

      managed DevOps

      2nd Watch Allies With GitLab for Managed DevOps Service

  • Continuous Testing
    • Shift-Right Testing: The Emergence of TestOps

      Shift-Right Testing: The Emergence of TestOps

      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

  • DevSecOps
    • Top iOS Security

      Top iOS Security Gotchas

      ClickShare Vulnerabilities

      ClickShare Vulnerabilities May Have Been Patched, But They Mask a Much Bigger Problem

      2020 DevSecOps Community Survey: Of 5,045 Developers, Guess How Many Are Happy?

      2020 DevSecOps Community Survey: Of 5,045 Developers, Guess How Many Are Happy?

      vault

      HashiCorp Strengthens Vault Secrets Management

      Palo Alto Networks

      Palo Alto Networks Advances DevSecOps in the Cloud

  • Leadership Suite
    • Digital Resiliency Wins

      The Way Forward: Digital Resiliency Wins

      Software delivery metrics

      Is It Time to End the Software Metric Madness?

      DevOps Institute

      DevOps Institute Cert Exams Now Available for Open Testing

      Coronavirus Economic Shutdown: Analysts Hit the Brakes on Global IT Spending Estimates

      Coronavirus Economic Shutdown: Analysts Hit the Brakes on Global IT Spending Estimates

      Digital Transformation Efforts Hindered by Lack of Upskilling

      Digital Transformation Efforts Hindered by Lack of Upskilling

  • Practices
    • Open Source Vulnerabilities

      Open Source Vulnerabilities Were Up 50% in 2019 — How Will It Impact Software Development in 2020?

      Top iOS Security

      Top iOS Security Gotchas

      DevOps - Open Source Logging

      Why DevOps are Keen on Open Source Logging

      TechStrong TV

      TechStrong TV: Celebrating the Strength of the Tech Community

      Keys to the Kingdom: Protect Your Server from Hackers

      Keys to the Kingdom: Protect Your Server from Hackers

  • ROELBOB
    • excuses

      Root Cause

      archived

      Archived

      scales

      Scales

      seo-optimization

      SEO Optimization

      figments-of-imagination

      Figments of Imagination

  • Toolbox
    • GitHub private repositories

      GitHub Makes Private Repositories Free for Unlimited Users

      GitLab GitHub

      GitLab Responds To GitHub Making Teams Free – We All Win

      Copado

      Copado Launches DevOps COVID-19 Initiative

      CircleCI DevOps

      CircleCI Surfaces More DevOps Insights

      compuware mainframe

      Compuware Shifts Mainframe App Testing Left

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

Home » Blogs » How DevOps Can Help Improve Security

How DevOps Can Help Improve Security

By Lori MacVittie on July 21, 2016 Leave a Comment

Recent Posts By Lori MacVittie
  • The Definition of Faster in the Age of App Capital
  • Sharding for Scale: Architecture Matters
  • Automation: Critical Missing Pieces in the CD Puzzle
More from Lori MacVittie
Related Posts
  • Bridging the gap between DevOps and Security
  • DevOps’ Role in Developing a Robust and Secure IoT Framework
  • Security and DevOps: the horses are finally here
    Related Categories
  • Blogs
  • DevSecOps
    Related Topics
  • automation
  • devops
  • enterprise
  • security
Show more
Show less

Automation and standardization along with development-inspired reviews can address the three top risks to IT security.

The term “DevOps” these days tends to evoke images of automation and push-button application deployments whenever app dev wants. It’s anarchy, it’s chaos, and it’s a frightening notion to those for whom stability and security of the core business network is their top priority. After all, folks in the DevOps camp routinely cheer on a “Chaos Monkey,” whose sole purpose is to break things in the production network. On the surface, that hardly seems conducive to stability or security.

So, it might be surprising to discover that the seemingly laissez faire approach to building and delivering apps with DevOps is actually one of the best ways to combat significant risks to IT security.

Not kidding.

top 3 risks it security spiceworks surveyFirst, let’s consider the survey, conducted by SpiceWorks, in which IT pros were asked to rank a set of threats in order of risk to IT security.

According to the report, the respondents ranked the following threats as their organization’s biggest three risks to IT security as human error, lack of process and external threats.

All three of which DevOps can positively impact, without negatively impacting stability or reliability of the core, business network. Let’s examine how, shall we?

Human Error

We’ve all fat-fingered configurations and code before. Usually we catch them, but once in a while they sneak into production and wreak havoc on security. A number of “big names” have been caught in this situation, where a simple typo introduced a security risk. Often these occur because we’re so familiar with what we’re typing that we see what we expect to see, rather than what we actually typed. We’ve entered that command a hundred times, after all; we know what it’s supposed to look like and we aren’t as careful as we (likely) should be because it’s Friday and it’s almost 5 o’clock. Whatever the reason, we’ve done it, and it’s the repetitious nature of the beast that actually ends up biting us in the proverbial derriere.

Codifying those commands into scripts or, even better, into templates means once it’s right, it’s right. The inescapable reality that we will fat-finger something eventually is reduced to virtually nil because we aren’t typing it in over and over and over, each time with less and less attention. The reliance on codification, on templates and APIs and scripts as a means to automate tasks, is not just about speed but also repeatability. And accurate repeatability at that. That’s the kind of assurance you need to prevent “human error” from exposing apps—and the business—to a wide range of risks.

To reduce risk from human error via DevOps you can:

  1. Use templates to standardize common service configurations;
  2. Automate common tasks to avoid simple typographical errors; and
  3. Read twice, execute once.

Lack of Process

This is probably my favorite risk (and not just because it lets me talk up Six Sigma and some really hairy mathematical equations) because it encompasses such a broad category of problems. First, there’s the fact that there’s almost no review of the scripts that folks already use to configure, change, shut down and start up services across the production network. Don’t let anyone tell you they don’t use scripts to eliminate the yak shaving that exists in networking and infrastructure, too. They do. But they aren’t necessarily reviewed, they are certainly aren’t versioned like the code artifacts they are, and they rarely are reused. Everyone has their “own” favorite language and scripts, and they are the Frank Sinatra of IT: They do it their own way. (Yes, I know you’re probably too young to get that reference, but until your musical icons have a better one, that’s the one I’m using because my generation didn’t have a better one, either.)

The other problem is simply there’s no governed process. It’s tribal knowledge. Bob does X and then Alice pushes Y and someone from Team Rocket* pushes button to make it go live. What can happen—and sometimes does—is one step is simply overlooked. It isn’t that there is no process, it’s that there’s no real standardization and no overarching governing process. There’s no one coordinating between Bob and Alice and Team Rocket to ensure the process goes smoothly. The thing is that the app might go live and actually work in production minus a few services, but if those services are related to security in any way (such as locking down a port), then your lackadaisical approach to the deployment process just put the business at risk.

To reduce risk from lack of process:

  1. Define the deployment process, clearly. Understand prerequisites and dependencies and eliminate redundancies or unnecessary steps.
  2. Move toward the use of orchestration as the ultimate executor of the deployment process, employing manual steps only when necessary.
  3. Review and manage any scripts used to assist in the process.

External Threats

At first glance this one seems to be the least likely candidate for being addressed with DevOps. Given that malware and multi-layered DDoS attacks are the most existential threats to business today, that’s understandable. There are entire classes of vulnerabilities that only can be detected manually, by developers or experts reviewing the code. There’s DevOps in that, but it doesn’t really extend to production, where risks becomes reality when it’s exploited.

More extensive testing, and development of web app security policies during development that can then be deployed in production is one way that DevOps can reduce risk. Adopting a DevOps approach to developing those policies—and treating them like code, too—provides a faster, likely more thorough policy that does a better job overall of preventing the existential threats from being all-too-real nightmares.

To reduce the risk of threats becoming reality:

  1. Shift web app security policy development and testing left, into the app dev life cycle.
  2. Treat web app security policies like code. Review and standardize.
  3. Test often, even in production. Automate using technology such as dynamic application security testing (DAST) and when possible, integrate results into dev life cycle for faster remediation that reduces risk earlier.

There is no technology, methodology or approach to IT security that will completely eliminate risk short of a complete power outage. Given that’s not a viable option, the best approach is one that reduces risk to acceptable levels (where acceptable is defined by your business’s tolerance, regulatory requirements and how much your MBO is based on not being hacked this quarter). DevOps and security are a good fit, as the former can help standardize, codify, automate and expand security practices across production and dev/test.

So get out there, and put some DevOps in your security. And while you’re at it, put security in your DevOps.

* Yes, that’s a Pokémon reference. I figured I needed something more modern after tossing Frank Sinatra in there. If you got both, give yourself +5 geek points.

Filed Under: Blogs, DevSecOps Tagged With: automation, devops, enterprise, security

  • 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
Hybrid Cloud Security 101

Hybrid Cloud Security 101

No matter where you are in your hybrid cloud journey, security is a big concern. Hybrid cloud security vulnerabilities typically take the form of loss of resource oversight and control, including unsanctioned public cloud use, lack of visibility into resources, inadequate change control, poor configuration management, and ineffective access controls ... Read More
« How a Programmer Allocates Time
DevOps Chat: GitHub Enterprise as a Hosted Service, with Jean-Louis Vignaud »

TechStrong TV – Live Streaming

TechStrong TV - All Episodes

Top Stories of the Week

  • View DevOps.com Privacy Policy

Upcoming Webinars

Mon 20

Automating Security Beyond the Perimeter of Cloud Native Apps

Mon, April 20, 1:00 pm - 2:00 pm EDT
Tue 21

DevOps Patterns & Antipatterns for Continuous Software Updates

Tue, April 21, 11:00 am - 12:00 pm EDT
Tue 21

How Uber Reduced AWS Costs 15% in 30 Days

Tue, April 21, 1:00 pm - 2:00 pm EDT

More Webinars

Past Webinars

Latest from DevOps.com

Open Source Vulnerabilities Were Up 50% in 2019 — How Will I...
April 20, 2020 |