SlideShare a Scribd company logo
Security Implications
of a DevOps transformation
Greg Sarjeant
- Puppet
- Manager of Professional Services
- 20 Years in IT
- Puppet user since 2012
Agenda
● Overview
● Technical baseline
● Implications for security
Practical DevOps
Overview
What do we mean by DevOps?
Practical DevOps
Most DevOps conversation is loosely defined
● What DevOps isn’t
● Value proposition
● High-level characteristics
— Fewer silos
— Common tools
— Tech closer to customers
Practical DevOps
This makes it hard to quantify
What are the impacts on security?
Practical DevOps
Let’s Simplify
Application
Dev
Server
Ops
Disclaimer:
None of the examples in this
presentation are
endorsements
Technical Foundation
How did we get here?
Practical DevOps
DevOps needs a
“Hello, World”
Proposal
Five Key Components
● Version Control
● Package Management
● Automated Testing
● Continuous Integration
● Infrastructure as Code
Practical DevOps
Let’s start a company
Keep it simple
● Get a host
● Install web server
● Write the app
Practical DevOps
Initial development workflow
● Log on to production server
● Write the webpage
Practical DevOps
Wait, there’s more than one language?
Practical DevOps
Time for reinforcements
Harry Hello
Can say “Hello” in 57
languages
Wendy World
Can say “World” in 62
languages
Practical DevOps
Complication 1: Collaboration
● Who owns the file?
● Is someone else editing it?
● How do I request a change?
● What changed last?
Practical DevOps
Improvement 1: Version Control
Authoritative source for application code
● File history
● Change tracking
● Conflict resolution
● Version rollback
Practical DevOps
Version Control: Security Implications
● Attack vector
● Access controls
— View code
— Commit code
● Sensitive data
Practical DevOps
Revised workflow
● Commit files to git repository
● Log in to prod
● Check files out
Practical DevOps
Complication 2: Distribution
● No validation
● No dependencies
● Version management
● Dev tools on Prod servers
Practical DevOps
Improvement 2: Package Management
Atomic collections of related files
● Metadata
● Standard inspection tools
● Programmatic deployment tools
● Pre- and post- install tasks
● Uninstall/rollback functionality
Practical DevOps
Package Management: Security Implications
● Installation is generally trusted
● Validate package integrity
— MD5 sums
Practical DevOps
Revised workflow
● Commit files to git repository
● Build package
● Log in to prod
● Install package
Practical DevOps
Time to make the
magic happen
Let’s ship this thing…
Nice work, Harry.
Practical DevOps
Let’s build a test server!
Practical DevOps
How about
“Harry”?
What do we
call it?
Test
Prod
Complication 3: Validation
Manual testing has weaknesses
● Slow: a person has to perform the steps
● Unreliable: people miss steps
● Late: can’t happen until after deployment
Practical DevOps
Test
Prod
Improvement 3: Automated tests
● Fast
● Consistent
● Run early and often
— Locally
— On check-in
— On deployment
Practical DevOps
Automated tests: Security Implications
● Generally positive!
● Validate code, behavior
● Validate package contents
Practical DevOps
Revised workflow
● Commit to git repository
● Invoke tests
● Build package
● Invoke tests
● Deploy to test
● Invoke tests
● Deploy to prod
● Invoke tests
Practical DevOps
Test
Prod
Tests
Pass
Now we’re cooking with gas
Complication 4: Orchestration
We’re just telling the computers what to do
● Manage code
● Run tests
● Build packages
● Deploy packages
Practical DevOps
Improvement 4: Continuous Integration
Continuous Integration Servers
● Define jobs
● Run tests
● Build packages
● Deploy apps
● Run jobs on target servers
● Chain jobs together
● Stop execution if a job fails
Practical DevOps
Continuous Integration: Security Implications
● Single point of entry to infrastructure
● Elevated access to managed servers
● Arbitrary job execution
Practical DevOps
All the pieces are in place
Practical DevOps
Test
Prod
I’ll take it
from here
The test server just failed
Somebody call the sysadmin!
Here I come to save the day
Practical DevOps
Complication 5: Systems administration
Practical DevOps
Progressively smaller anchors
● Run books
● Pile of shell scripts
● Golden images
● VM templates
Practical DevOps
Improvement 5: Infrastructure as code
● Rewrite configuration instructions
● Interpreted by computers
● Managed identically to app code
Practical DevOps
Infrastructure as code: Security implications
● Agents run as root on all servers
● Code is generally trusted
● Wide-ranging abilities
— Package installation
— Service reconfiguration
— Arbitrary script execution
● Runs unattended
Practical DevOps
Sysadmins join the pipeline
Practical DevOps
Test
Prod
DevOps
The directed use of
automation to build a common
workflow for developers and
operations
DevOps
The directed use of
automation to build a common
workflow for developers and
operations
But what about all those security
questions?
Implications: Security
Are DevOps and security mutually exclusive?
Practical DevOps
There is a perception that
DevOps is incompatible with
strong security.
We feed this perception
● Emphasize trust over verification
● Purist mentality
— If it interferes with efficiency, it’s not DevOps
● Security is an afterthought – deal with it
in Production
Practical DevOps
Is security the new ops?
Security organizations have real
concerns
Security concerns
● Financial protection
● Intellectual property
● Customer data
Practical DevOps
Compromises are costly and on the rise
Requirements of security organizations
● Rigor
— Minimize opportunities to introduce
vulnerabilities
● Visibility
— Understand what has changed, so that effects
can be evaluated
● Responsiveness
— When a vulnerability is identified, remediate it
as quickly as possible
Practical DevOps
DevOps strengths:
security
weaknesses?
DevOps Strength: Collaboration
● Dev and Ops teams working together is a
huge benefit
● Security often gets left out
● Stop throwing over the wall to ops, keep
throwing over the wall to security
Practical DevOps
DevOps Strength: Automation
● Fewer eyes and minds on the code
● Less consideration of concerns outside of
direct application functionality
— We’re only validating what we test
Practical DevOps
DevOps Strength: Speed
● More changes introduced to production
more frequently
● Less time to measure the impact of a
change
● Often making updates before previous
changes have been validated
Practical DevOps
These aren’t fundamental flaws
We’ve just been insufficiently inclusive
Collaboration: Include Security
● Design for security
● Assess security implications of changes
in tickets
● Incorporate security patches into the
delivery pipeline
Practical DevOps
Automation: Automate tests and validation
● Trigger vulnerability scans on deploy to test
— This can be expensive
— Tie to deployment schedule, but leave time for remediation
● Build tests for security
— System configuration
— Package versions
— Input validation
● Incorporate monitoring, logging
— Install and configure servers and agents
— Detect, repor, and alertt on anomalous behavior
Practical DevOps
Speed: Accelerate remediation
● Use delivery pipeline to push OS patches
to production
● Update, test, and deploy custom
applications more quickly
● Use monitoring and logging to identify
vulnerabilities and anomalous behavior
more quickly
Practical DevOps
Use the pipeline to our advantage
Practical DevOps
Test
Prod
Security Implications for a DevOps Transformation

More Related Content

PDF
Devops, Secops, Opsec, DevSec *ops *.* ?
PDF
DevOps Continuous Integration & Delivery - A Whitepaper by RapidValue
PDF
Debugging distributed systems
PDF
Software architecture in a DevOps world
PDF
Software architecture in a DevOps world
PPTX
Continuous Integration and Continuous Deployment in Enterprise scenario
PDF
Continuous Testing in DevOps
PDF
Using Crowdsourced Testing to Turbocharge your Development Team
Devops, Secops, Opsec, DevSec *ops *.* ?
DevOps Continuous Integration & Delivery - A Whitepaper by RapidValue
Debugging distributed systems
Software architecture in a DevOps world
Software architecture in a DevOps world
Continuous Integration and Continuous Deployment in Enterprise scenario
Continuous Testing in DevOps
Using Crowdsourced Testing to Turbocharge your Development Team

What's hot (20)

PDF
Skills Matter DevSecOps eXchange Forum 2022 - Software architecture in a DevO...
PDF
Continuous Integration
PDF
"DevOps > CI+CD "
PDF
TDC 2021 - Better software, faster: Principles of Continuous Delivery and DevOps
PPTX
Fundamentals of DevOps and CI/CD
PPTX
DevQAOps - Surviving in a DevOps World
PPTX
Continuous integration, delivery & deployment
PDF
Dev ops
PDF
Agile Engineering Best Practices by Richard Cheng
PPT
Continuous Integration and Builds
PDF
Test driven development_continuous_integration
PDF
DevOps(1) : What's DevOps - (MOSG)
PDF
QA in DevOps: Transformation thru Automation via Jenkins
PDF
Continuous Delivery Distilled
PPTX
Bringing CD to the DoD
PPSX
Continuous Integration - Oracle Database Objects
PPTX
DevOps – The Evolution of Agile
PDF
The Continuous delivery Value @ codemotion 2014
PPTX
Continuous Delivery
PPTX
Introduction to DevOps
Skills Matter DevSecOps eXchange Forum 2022 - Software architecture in a DevO...
Continuous Integration
"DevOps > CI+CD "
TDC 2021 - Better software, faster: Principles of Continuous Delivery and DevOps
Fundamentals of DevOps and CI/CD
DevQAOps - Surviving in a DevOps World
Continuous integration, delivery & deployment
Dev ops
Agile Engineering Best Practices by Richard Cheng
Continuous Integration and Builds
Test driven development_continuous_integration
DevOps(1) : What's DevOps - (MOSG)
QA in DevOps: Transformation thru Automation via Jenkins
Continuous Delivery Distilled
Bringing CD to the DoD
Continuous Integration - Oracle Database Objects
DevOps – The Evolution of Agile
The Continuous delivery Value @ codemotion 2014
Continuous Delivery
Introduction to DevOps
Ad

Similar to Security Implications for a DevOps Transformation (20)

PPTX
DevSecOps and Drupal: Securing your applications in a modern IT landscape
PPTX
You Build It, You Secure It: Introduction to DevSecOps
PDF
Scale security for a dollar or less
PPTX
Secure DevOPS Implementation Guidance
PPTX
PDF
Strengthen and Scale Security for a dollar or less
PDF
The Rise of DevSecOps in CI_CD Workflows.pdf
PDF
Strengthen and Scale Security Using DevSecOps - OWASP Indonesia
PDF
Divine and felonios cyber security devopsdays austin 2018
PDF
PPTX
PPTX
SecDevOps: The New Black of IT
ODP
PDF
Introduction to DevSecOps
PDF
Securing DevOps Lifecycle
PDF
introduction_to_it_indusry_verticals.pdf
PPT
DevOps in 2014
PPTX
DevOps DevSecOps Based on Training Materials
PPTX
DevSecOps: Integrating Security Into DevOps! {Business Security}
PDF
You build it - Cyber Chicago Keynote
DevSecOps and Drupal: Securing your applications in a modern IT landscape
You Build It, You Secure It: Introduction to DevSecOps
Scale security for a dollar or less
Secure DevOPS Implementation Guidance
Strengthen and Scale Security for a dollar or less
The Rise of DevSecOps in CI_CD Workflows.pdf
Strengthen and Scale Security Using DevSecOps - OWASP Indonesia
Divine and felonios cyber security devopsdays austin 2018
SecDevOps: The New Black of IT
Introduction to DevSecOps
Securing DevOps Lifecycle
introduction_to_it_indusry_verticals.pdf
DevOps in 2014
DevOps DevSecOps Based on Training Materials
DevSecOps: Integrating Security Into DevOps! {Business Security}
You build it - Cyber Chicago Keynote
Ad

More from DevOps.com (20)

PDF
Modernizing on IBM Z Made Easier With Open Source Software
PPTX
Comparing Microsoft SQL Server 2019 Performance Across Various Kubernetes Pla...
PPTX
Comparing Microsoft SQL Server 2019 Performance Across Various Kubernetes Pla...
PDF
Next Generation Vulnerability Assessment Using Datadog and Snyk
PPTX
Vulnerability Discovery in the Cloud
PDF
2021 Open Source Governance: Top Ten Trends and Predictions
PDF
A New Year’s Ransomware Resolution
PPTX
Getting Started with Runtime Security on Azure Kubernetes Service (AKS)
PDF
Don't Panic! Effective Incident Response
PDF
Creating a Culture of Chaos: Chaos Engineering Is Not Just Tools, It's Culture
PDF
Role Based Access Controls (RBAC) for SSH and Kubernetes Access with Teleport
PDF
Monitoring Serverless Applications with Datadog
PDF
Deliver your App Anywhere … Publicly or Privately
PPTX
Securing medical apps in the age of covid final
PDF
How to Build a Healthy On-Call Culture
PPTX
The Evolving Role of the Developer in 2021
PDF
Service Mesh: Two Big Words But Do You Need It?
PPTX
Secure Data Sharing in OpenShift Environments
PPTX
How to Govern Identities and Access in Cloud Infrastructure: AppsFlyer Case S...
PDF
Elevate Your Enterprise Python and R AI, ML Software Strategy with Anaconda T...
Modernizing on IBM Z Made Easier With Open Source Software
Comparing Microsoft SQL Server 2019 Performance Across Various Kubernetes Pla...
Comparing Microsoft SQL Server 2019 Performance Across Various Kubernetes Pla...
Next Generation Vulnerability Assessment Using Datadog and Snyk
Vulnerability Discovery in the Cloud
2021 Open Source Governance: Top Ten Trends and Predictions
A New Year’s Ransomware Resolution
Getting Started with Runtime Security on Azure Kubernetes Service (AKS)
Don't Panic! Effective Incident Response
Creating a Culture of Chaos: Chaos Engineering Is Not Just Tools, It's Culture
Role Based Access Controls (RBAC) for SSH and Kubernetes Access with Teleport
Monitoring Serverless Applications with Datadog
Deliver your App Anywhere … Publicly or Privately
Securing medical apps in the age of covid final
How to Build a Healthy On-Call Culture
The Evolving Role of the Developer in 2021
Service Mesh: Two Big Words But Do You Need It?
Secure Data Sharing in OpenShift Environments
How to Govern Identities and Access in Cloud Infrastructure: AppsFlyer Case S...
Elevate Your Enterprise Python and R AI, ML Software Strategy with Anaconda T...

Recently uploaded (20)

PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PPTX
ISO 45001 Occupational Health and Safety Management System
PDF
System and Network Administration Chapter 2
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PPT
Introduction Database Management System for Course Database
PDF
Understanding Forklifts - TECH EHS Solution
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PPTX
history of c programming in notes for students .pptx
PDF
AI in Product Development-omnex systems
PDF
System and Network Administraation Chapter 3
PTS Company Brochure 2025 (1).pdf.......
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Odoo Companies in India – Driving Business Transformation.pdf
Softaken Excel to vCard Converter Software.pdf
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
ISO 45001 Occupational Health and Safety Management System
System and Network Administration Chapter 2
Which alternative to Crystal Reports is best for small or large businesses.pdf
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Wondershare Filmora 15 Crack With Activation Key [2025
2025 Textile ERP Trends: SAP, Odoo & Oracle
How to Migrate SBCGlobal Email to Yahoo Easily
Introduction Database Management System for Course Database
Understanding Forklifts - TECH EHS Solution
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Design an Analysis of Algorithms II-SECS-1021-03
history of c programming in notes for students .pptx
AI in Product Development-omnex systems
System and Network Administraation Chapter 3

Security Implications for a DevOps Transformation

  • 1. Security Implications of a DevOps transformation
  • 2. Greg Sarjeant - Puppet - Manager of Professional Services - 20 Years in IT - Puppet user since 2012
  • 3. Agenda ● Overview ● Technical baseline ● Implications for security Practical DevOps
  • 4. Overview What do we mean by DevOps? Practical DevOps
  • 5. Most DevOps conversation is loosely defined ● What DevOps isn’t ● Value proposition ● High-level characteristics — Fewer silos — Common tools — Tech closer to customers Practical DevOps
  • 6. This makes it hard to quantify What are the impacts on security?
  • 8. Disclaimer: None of the examples in this presentation are endorsements
  • 9. Technical Foundation How did we get here? Practical DevOps
  • 11. Proposal Five Key Components ● Version Control ● Package Management ● Automated Testing ● Continuous Integration ● Infrastructure as Code Practical DevOps
  • 12. Let’s start a company Keep it simple ● Get a host ● Install web server ● Write the app Practical DevOps
  • 13. Initial development workflow ● Log on to production server ● Write the webpage Practical DevOps
  • 14. Wait, there’s more than one language? Practical DevOps
  • 15. Time for reinforcements Harry Hello Can say “Hello” in 57 languages Wendy World Can say “World” in 62 languages Practical DevOps
  • 16. Complication 1: Collaboration ● Who owns the file? ● Is someone else editing it? ● How do I request a change? ● What changed last? Practical DevOps
  • 17. Improvement 1: Version Control Authoritative source for application code ● File history ● Change tracking ● Conflict resolution ● Version rollback Practical DevOps
  • 18. Version Control: Security Implications ● Attack vector ● Access controls — View code — Commit code ● Sensitive data Practical DevOps
  • 19. Revised workflow ● Commit files to git repository ● Log in to prod ● Check files out Practical DevOps
  • 20. Complication 2: Distribution ● No validation ● No dependencies ● Version management ● Dev tools on Prod servers Practical DevOps
  • 21. Improvement 2: Package Management Atomic collections of related files ● Metadata ● Standard inspection tools ● Programmatic deployment tools ● Pre- and post- install tasks ● Uninstall/rollback functionality Practical DevOps
  • 22. Package Management: Security Implications ● Installation is generally trusted ● Validate package integrity — MD5 sums Practical DevOps
  • 23. Revised workflow ● Commit files to git repository ● Build package ● Log in to prod ● Install package Practical DevOps
  • 24. Time to make the magic happen Let’s ship this thing…
  • 26. Let’s build a test server! Practical DevOps How about “Harry”? What do we call it? Test Prod
  • 27. Complication 3: Validation Manual testing has weaknesses ● Slow: a person has to perform the steps ● Unreliable: people miss steps ● Late: can’t happen until after deployment Practical DevOps Test Prod
  • 28. Improvement 3: Automated tests ● Fast ● Consistent ● Run early and often — Locally — On check-in — On deployment Practical DevOps
  • 29. Automated tests: Security Implications ● Generally positive! ● Validate code, behavior ● Validate package contents Practical DevOps
  • 30. Revised workflow ● Commit to git repository ● Invoke tests ● Build package ● Invoke tests ● Deploy to test ● Invoke tests ● Deploy to prod ● Invoke tests Practical DevOps Test Prod Tests Pass
  • 32. Complication 4: Orchestration We’re just telling the computers what to do ● Manage code ● Run tests ● Build packages ● Deploy packages Practical DevOps
  • 33. Improvement 4: Continuous Integration Continuous Integration Servers ● Define jobs ● Run tests ● Build packages ● Deploy apps ● Run jobs on target servers ● Chain jobs together ● Stop execution if a job fails Practical DevOps
  • 34. Continuous Integration: Security Implications ● Single point of entry to infrastructure ● Elevated access to managed servers ● Arbitrary job execution Practical DevOps
  • 35. All the pieces are in place Practical DevOps Test Prod I’ll take it from here
  • 36. The test server just failed Somebody call the sysadmin!
  • 37. Here I come to save the day Practical DevOps
  • 38. Complication 5: Systems administration Practical DevOps
  • 39. Progressively smaller anchors ● Run books ● Pile of shell scripts ● Golden images ● VM templates Practical DevOps
  • 40. Improvement 5: Infrastructure as code ● Rewrite configuration instructions ● Interpreted by computers ● Managed identically to app code Practical DevOps
  • 41. Infrastructure as code: Security implications ● Agents run as root on all servers ● Code is generally trusted ● Wide-ranging abilities — Package installation — Service reconfiguration — Arbitrary script execution ● Runs unattended Practical DevOps
  • 42. Sysadmins join the pipeline Practical DevOps Test Prod
  • 43. DevOps The directed use of automation to build a common workflow for developers and operations DevOps The directed use of automation to build a common workflow for developers and operations
  • 44. But what about all those security questions?
  • 45. Implications: Security Are DevOps and security mutually exclusive? Practical DevOps
  • 46. There is a perception that DevOps is incompatible with strong security.
  • 47. We feed this perception ● Emphasize trust over verification ● Purist mentality — If it interferes with efficiency, it’s not DevOps ● Security is an afterthought – deal with it in Production Practical DevOps Is security the new ops?
  • 49. Security concerns ● Financial protection ● Intellectual property ● Customer data Practical DevOps Compromises are costly and on the rise
  • 50. Requirements of security organizations ● Rigor — Minimize opportunities to introduce vulnerabilities ● Visibility — Understand what has changed, so that effects can be evaluated ● Responsiveness — When a vulnerability is identified, remediate it as quickly as possible Practical DevOps
  • 52. DevOps Strength: Collaboration ● Dev and Ops teams working together is a huge benefit ● Security often gets left out ● Stop throwing over the wall to ops, keep throwing over the wall to security Practical DevOps
  • 53. DevOps Strength: Automation ● Fewer eyes and minds on the code ● Less consideration of concerns outside of direct application functionality — We’re only validating what we test Practical DevOps
  • 54. DevOps Strength: Speed ● More changes introduced to production more frequently ● Less time to measure the impact of a change ● Often making updates before previous changes have been validated Practical DevOps
  • 55. These aren’t fundamental flaws We’ve just been insufficiently inclusive
  • 56. Collaboration: Include Security ● Design for security ● Assess security implications of changes in tickets ● Incorporate security patches into the delivery pipeline Practical DevOps
  • 57. Automation: Automate tests and validation ● Trigger vulnerability scans on deploy to test — This can be expensive — Tie to deployment schedule, but leave time for remediation ● Build tests for security — System configuration — Package versions — Input validation ● Incorporate monitoring, logging — Install and configure servers and agents — Detect, repor, and alertt on anomalous behavior Practical DevOps
  • 58. Speed: Accelerate remediation ● Use delivery pipeline to push OS patches to production ● Update, test, and deploy custom applications more quickly ● Use monitoring and logging to identify vulnerabilities and anomalous behavior more quickly Practical DevOps
  • 59. Use the pipeline to our advantage Practical DevOps Test Prod