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
    • AWS Community Hub
    • 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
    • Granulate

      Granulate Applies AI to Linux Server Optimization

      Snyk

      Snyk Acquires DeepCode to Apply AI to DevSecOps

      PagerDuty

      PagerDuty Applies AIOps to IT Incident Management

      Puppet Windows

      Puppet Deepens Windows Integration

      NVIDIA Arm

      NVIDIA to Create AI Powerhouse by Acquiring Arm for $40B

  • Cloud
    • VMware

      VMware Starts to Gain Some Momentum on AWS

      report cloud

      Report: Cloud Expertise Now Superior to University Degree

      cloud

      Are We There Yet? The Long, Hot Road Trip to the Cloud

      secrets

      Safeguarding Secrets Within the Pipeline

      Tricentis

      Tricentis Extends Testing Reach to ServiceNow Applications

  • Continuous Delivery
    • logs

      How Logs Can Empower Your CI/CD Delivery Pipeline

      JFrog

      JFrog Sets Future Course Post-IPO

      DevOps Best Practices

      CircleCI Looks to Advance DevOps Best Practices Adoption

      CircleCI Salesforce

      CircleCI Adds to Salesforce CI/CD Orbs Collection

      Harness Drone

      Harness Acquires Drone CI Project

  • Continuous Testing
    • continuous testing

      Continuous Testing: Complementary to Agile and DevOps

      crowdtesting

      Crowdtesting: How to Ensure Quality in Disruptive Times

      Eggplant test

      Eggplant Employs AI to Surface Test Recommendations

      test run time

      4 Steps To Achieve a 66% Reduction in Test Run Time

      gameday

      How to Run a Remote GameDay

  • DevSecOps
    • certificates

      The Importance of Digital Certificates to DevOps Teams

      Conway's Law

      Should Conway’s Law Be Applied to DevSecOps?

      financial apps

      The Role of DevSecOps in Finance App Dev

      Snyk

      Snyk Acquires DeepCode to Apply AI to DevSecOps

      Synopsys

      Synopsys Report Shows DevSecOps Progress

  • Leadership Suite
    • recruitment

      Eliminating Unconscious Bias in Tech Recruitment

      enterprises

      Surveys Show COVID-19 Changes to Enterprises Likely Long-Term

      agility

      3 Steps for Organizational Agility in the COVID-19 Era

      developer

      Low-Code: An Oasis During Developer Drought

      WFH

      Report: As WFH Took Hold, Few Adjusted Their Security Posture

  • Practices
    • Survey Surfaces High Reliance on DevOps to Build and Deploy APIs

      traceability

      3 Ways Traceability Boosts Decision-Making, Accountability

      shadow IT

      5 Steps to Avoid Shadow IT Around Low-Code

      strongDM

      TechStrong TV: How strongDM Helps Fintech MANTL With Access Management

      logs

      How Logs Can Empower Your CI/CD Delivery Pipeline

  • ROELBOB
    • devops-epitaph

      DevOps Epitaph

      comfortably-numb

      Comfortably Numb

      behavior-driven-development

      Behavior Driven Development

      exit-strategies

      Exit Strategies

      value-of-conventions

      The Value of Conventions

  • Toolbox
    • Microsoft

      Microsoft Advances DevOps Agenda

      traceability

      3 Ways Traceability Boosts Decision-Making, Accountability

      strongDM

      TechStrong TV: How strongDM Helps Fintech MANTL With Access Management

      logs

      How Logs Can Empower Your CI/CD Delivery Pipeline

      PagerDuty

      PagerDuty Applies AIOps to IT Incident Management

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

Home » Blogs » DevSecOps » Automation: The Human-Free Zone Approach to Software

DeepFactor

Automation: The Human-Free Zone Approach to Software

Galen EmeryBy Galen Emery on August 5, 2020 Leave a Comment

Humans hate repetitive manual tasks. We suck at them—we make mistakes, lose concentration, get bored. Throughout history, humans have instinctually developed automation to keep us away from the hazard-prone, tedious work of these tasks.

Related Posts
  • Automation: The Human-Free Zone Approach to Software
  • DevOps, Continuous Delivery – It’s All About Automation
  • How to Calculate ROI on Infrastructure Automation 
    Related Categories
  • Blogs
  • DevSecOps
    Related Topics
  • application development
  • automation
  • devsecops
  • production
Show more
Show less

In software, we use configuration management, deployment tools and lean/agile processes born out of factories and the automation principles established there to automate the software factory. Utilizing automation reduces software errors and increases reliability and productivity by allowing the work performed to scale to hundreds and even thousands of systems.

As we’ve written scripts and functions to help ourselves, we’ve had to implement access control, least privilege, two-person rule and other security principles to secure against the human threat and to prevent catastrophic loss through either a malicious actor, leaked credentials or other type of compromise. And this problem gets more complex and difficult the more automation is involved. However, what if we harness the power of automation to solve our security risks—to remove the human threat mostly or entirely from production by enforcing a single path to production via CI/CD pipelines, building and deploying signed artifacts and system hardening including explicit removal of human/remote access?

With this, we can validate the chain of custody on all changes to the system while also proving that outside actors cannot make unauthorized changes. This is what we’re looking for when we talk about DevSecOps.

Automation to the Rescue

Here are the processes humans should be fully or at least partially removed from to optimize software effectiveness, security and efficiency:

  • Code and pipeline.
  • Artifact deployment.
  • Automated access.

Code and Pipeline (partial human interaction)

Let’s start on the left, with our code and pipeline. The rules here are simple and familiar. We start with source code management and the two-person rule. No one individual can write and commit code without approval from someone else. Implementing the two-person rule as well as securing production access ensures that access control happens solely within the pipeline and we have full enforcement of the two-person rule. We can have a full team review along with static code analysis, but the core rule is that no one person has the power to write and commit code, ensuring that a single human cannot be responsible for making a change.

The code repository is watched by our pipeline with the task of testing, building and verifying a versioned artifact. This artifact is everything in our code at a moment in time. When we think about rollback scenarios, we’re thinking about deploying the previous artifact. This artifact is checksummed so we can attest to its integrity at any point, and we can validate the checksum by pulling the code and building it ourselves.

Artifact Deployment

And we need an artifact for not just our application code from development, but also based on what the infrastructure looks like from Operations. This is part of the promise of DevSecOps: Ops writes code that gets checked into repositories just like Development. This allows us to pair our application artifact with our operations artifact. These artifacts together are what we deploy—the system at a moment in time and the application at a moment in time. So, at this point, we’ve established that two humans (at least) have looked at the source code and, once committed, that our pipeline has picked up those changes, performed static code analysis on it and created signed artifacts, ready to be deployed to a test environment. Now that we have our artifacts, we need to deploy them.

Again, the goal is to not use humans, so after our artifacts are built we must test deployment. The way we ensure security is having the pipeline push the artifacts to a secured artifact store and our systems pull from there as we approve environments to receive the update. This accomplishes two important things: First, by having a push from our pipeline, we again maintain that chain of custody tracing back to source control. Second, we limit which environments are updated by having those systems subscribe to the appropriate artifact stores. The only work humans do here is performing testing and deciding when to promote. The automation actually takes care of the actual promotion work. Now finally, we have the ability to run our artifacts in production.

Automated Access

The idea of a continuous delivery pipeline isn’t new and is practiced by many teams today. What we’re going to add to this is a production system that does not have inbound access.

Because in this design systems pull from the artifact store, the only rule needed is outbound from production to the artifact store. This means you can disable remote management entirely, trusting fully in the chain of custody established in the pipeline. This trust, along with ensuring remote management is disabled, establishes the human-free pipeline. We have shifted user access focus into source code repositories and into the management of the CI/CD pipeline. We have visibility into every stage of the process and eliminated the need for users to have login credentials to production systems. The credential management is also a function of pipeline management, drastically reducing its complexity.

This is what it means to practice DevSecOps—understanding how automation actually enables the security team to reduce the complexity of our security model and gets security out of the role of blocker and into enabling the business.

Filed Under: Blogs, DevSecOps Tagged With: application development, automation, devsecops, production

  • 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
The 101 of Continuous Software Delivery

The 101 of Continuous Software Delivery

Now, more than ever, companies who rapidly react to changing market conditions and customer behavior will have a competitive edge.  Innovation-driven response is successful not only when a company has new ideas, but also when the software needed to implement them is delivered quickly. Companies who have weathered recent events ... Read More
« How to Build an Accessibility-First Design Culture
Cherwell Now Offers Automated Discovery and Dependency Mapping (DDM) Powered by Resolve Systems »

Upcoming Webinars

Solving the Achilles Heel of DevOps Quality and Speed with Test Environment Management
Tuesday, September 29, 2020 - 11:00 am EDT
How Expedia Improved Developer Productivity and Reduced MTTR by Over 90%
Tuesday, September 29, 2020 - 1:00 pm EDT
From Docker Straight to AWS
Wednesday, September 30, 2020 - 1:00 pm EDT

TechStrong TV – Live Streaming

TechStrong TV - All Episodes

Top Stories of the Week

  • View DevOps.com Privacy Policy

Upcoming Webinars

Tue 29

Solving the Achilles Heel of DevOps Quality and Speed with Test Environment Management

Tue, September 29, 11:00 am - 12:00 pm EDT
Tue 29

How Expedia Improved Developer Productivity and Reduced MTTR by Over 90%

Tue, September 29, 1:00 pm - 2:00 pm EDT
Wed 30

From Docker Straight to AWS

Wed, September 30, 1:00 pm - 2:00 pm EDT

More Webinars

Past Webinars

Latest from DevOps.com

VMware Starts to Gain Some Momentum on AWS
September 28, 2020 | Mike Vizard
The Importance of Digital Certificates to DevOps Teams
September 28, 2020 | David Bisson
Preparing for Digital Life After COVID-19 
September 28, 2020 | Gregg Ostrowski
DevOps Epitaph
September 28, 2020 | ROELBOB
Should Conway’s Law Be Applied to DevSecOps?
September 25, 2020 | Mike Fraser

Most Read on DevOps.com