SlideShare a Scribd company logo
Compliance Automation
with InSpec and Chef Automate
Infracoders/ DevOps / CloudNativeMeetup GRAZ - 11th September, 2018
Agenda
19:00-20:00 Talk
• Do you know all your IT-vulnerabilities?
• Edmund Haselwanter,CEO @ Infralovers
20:00-21:00 Networking
• At the bar in the front
www.infralovers.com
A little bit of History
• Client: Can we automate our Compliance Profiles?
> YES, we can!
• Prototype with Serverspec for Compliance Check
Automation and Chef and Puppet for Infrastructure
Automation
• Opensourced at https://dev-sec.io
www.infralovers.com
Compliance Automation
Compliance Automation
Compliance Automation
A little bit of History II
• Birth of InSpec (https://inspec.io)
✓ Inspired by Serverspec
✓ Compliance Primitives (Profiles, Weight, Description, ..)
✓ Better Transport Options (SSH/WinRM/Docker)
✓ A lot more Resources
• InSpec 2.0 Supports Cloud Platforms like AWS, Azure, …
www.infralovers.com
Compliance Automation
PART OF A PROCESS OF CONTINUOUS COMPLIANCE
Scan for
Compliance
Build & Test
Locally
Build & Test
CI/CD Remediate Verify
A SIMPLE EXAMPLE OF AN INSPEC CIS RULE
InSpec
▪ Translate compliance into Code
▪ Clearly express statements of policy
▪ Move risk to build/test from runtime
▪ Find issues early
▪ Write code quickly
▪ Run code anywhere
▪ Inspect machines, data and APIs
Turn security and
compliance into code
control ‘cis-1.4.1’ do
title ‘1.4.1 Enable SELinux in /etc/grub.conf’
desc ‘
Do not disable SELinux and enforcing
in your GRUB configuration. These are important security
features that prevent attackers from escalating their access
to your systems. For reference see …
‘
impact 1.0
expect(grub_conf.param ‘selinux’).to_not eq ‘0’
expect(grub_conf.param ‘enforcing’).to_not eq ‘0’
end
Continuous Workflow
Detect
Correct
Compliance as Code
ROLE OF THE COMPLIANCE OFFICERACCELERATED CYCLE
INFRASTRUCTURE
AS CODE
POLICY
AS CODE
PRACTICE
AS CODE
Separate
certificatio
n & testing
Common
language for
describing &
applying policy
Compliance at velocity
Compliance at VelocityManual Compliance
Reactive
engagement
Proactive
engagement
Checking
implementations
by hand
Expressing policy
as testable code
Short term
compliance
Long term process
improvement
One language, One workflow
Linux Demo https://kitchen.ci + InSpec for
Infracode Testing
Windows Demo
Detect: InSpec
Correct: Ansible
AWS Demo
Provision: Terraform
Detect: InSpec
www.infralovers.com
Chef Automate
• Commercial Offeringfrom Chef Inc
• Comes with readymade Compliance Profiles
• Supports Notifications(e.g. Slack/ServiceNow/Custom)
• Shiny Web UI to gain Visibility into current State
www.infralovers.com
The Chef Automate Platform
Continuous Automation for High Velocity IT
Workflow • Local development • Integration • Tooling (APIs & SDKs)
COLLABORATE
▪ Package
▪ Test
▪ Approve
BUILD
▪ Provision
▪ Configure
▪ Execute
▪ Update
DEPLOY
▪ Secure
▪ Comply
▪ Audit
▪ Measure
▪ Log
MANAGE
Infrastructure Automation Compliance AutomationApplication Automation
OSS AUTOMATION ENGINES
Increase Speed
▪ Package infrastructure and app
configuration as code
▪ Continuously automate
infrastructure and app updates
Improve Efficiency
▪ Define and execute standard
workflows and automation
▪ Audit and measure effectiveness of
automation
Decrease Risk
▪ Define compliance rules as code
▪ Deliver continuous compliance as
part of standard workflow
Jumpstart your compliance test coverage
Compliance in production
Amazon Linux
2014.09 / 2015.03
CentOS
6 / 7
HP UX
11i
IBM AIX
5.3 / 6.1 / 7.1
RHEL
6 / 7
SLES
11 / 12
Ubuntu Server
12.04 / 14.04
Windows
7 / 8 / 10 / 2012 / 2012R2
Chef Automate ships with profiles for:
Visibility into the real-time compliance of your entire fleet
Compliance in production
Automate Demo AWS
www.infralovers.com
Automate Demo Windows Example
www.infralovers.com
SLACK Alert
Questions?
Mail: ehaselwanter@infralovers.com
Twitter: @ehaselwanter

More Related Content

PDF
Chef Automate - Infracoders Canberra August 8, 2017
PDF
Chef Automate - Wellington DevOps August 2, 2017
PPTX
MuleSoft Atlassian mtv meetup
PDF
Aditya aws devops
PPTX
CI: Meow or Never
PPTX
X-celerate 2019: Iterating fast with the MERN Stack
PPTX
Kubernetes Community Growth and Use Case
PPTX
AWS and GKE Migration and Multicloud
Chef Automate - Infracoders Canberra August 8, 2017
Chef Automate - Wellington DevOps August 2, 2017
MuleSoft Atlassian mtv meetup
Aditya aws devops
CI: Meow or Never
X-celerate 2019: Iterating fast with the MERN Stack
Kubernetes Community Growth and Use Case
AWS and GKE Migration and Multicloud

What's hot (20)

PDF
Building a Scalable Email Processor With AWS
PPTX
Alfresco Process Services REST API - Alfresco DevCon 2018
PDF
java in cloud - adopt cloud dev's DHARMA
PDF
Aws certified dev ops administrator
PPTX
Infrastructure Automation with Chef
PPTX
DEVNET-1122 Integrating Cisco Collaboration into Web Apps
PPTX
DevCon 2018 - 5 ways to use AWS with Alfresco
PPTX
Code Camp Auckland 2015 - DEV1 Microsoft API Approaches 101
PDF
Service Bot
PDF
Accelerating DevOps Pipelines with AWS
PPTX
.NET microservices with Azure Service Fabric
PDF
Infrastructure as Code
PPTX
Upgrading to Alfresco 6
PDF
Serverless Media Workflow
PDF
Infrastructure as code
PPTX
Serverless @ oracle meetup
PDF
Serverless Computing 친해지기,Hands on실습 (한국오라클 김종규 컨설턴트)
PPTX
Building Content-Rich Java Apps in the Cloud with the Alfresco API
PDF
Service Bot
PDF
Bring api manager into your stack
Building a Scalable Email Processor With AWS
Alfresco Process Services REST API - Alfresco DevCon 2018
java in cloud - adopt cloud dev's DHARMA
Aws certified dev ops administrator
Infrastructure Automation with Chef
DEVNET-1122 Integrating Cisco Collaboration into Web Apps
DevCon 2018 - 5 ways to use AWS with Alfresco
Code Camp Auckland 2015 - DEV1 Microsoft API Approaches 101
Service Bot
Accelerating DevOps Pipelines with AWS
.NET microservices with Azure Service Fabric
Infrastructure as Code
Upgrading to Alfresco 6
Serverless Media Workflow
Infrastructure as code
Serverless @ oracle meetup
Serverless Computing 친해지기,Hands on실습 (한국오라클 김종규 컨설턴트)
Building Content-Rich Java Apps in the Cloud with the Alfresco API
Service Bot
Bring api manager into your stack
Ad

Similar to Compliance Automation (20)

PPTX
Compliance Automation with Inspec Part 1
PDF
Bay Area Chef Meetup February
PDF
Infrastructure and Compliance Delight with Chef Automate
PDF
Managing Complexity at Velocity
PDF
Compliance Automation with InSpec
PDF
Intermediate/Compliance training Guide
PDF
Philly security shell meetup
PPTX
Compliance Automation with InSpec
PDF
Chef Automating Everything-AWS-PubSec-SAO-WashDC_2018
PDF
Mitigate potential compliance risks
PPTX
2019 Chef InSpec Jumpstart Part 1 of 2
PPTX
Compliance Automation with Inspec Part 2
PDF
Compliance Automation Workshop
PDF
Melbourne Chef Meetup: Automating Azure Compliance with InSpec
PDF
DevSec Delight with Compliance as Code - Matt Ray - AgileNZ 2017
PDF
Chef compliance - Intermediate Training
PDF
A Journey to Improve Infrastructure Compliance With InSpec
PPTX
Compliance Automation with Inspec Part 3
PDF
Automating Compliance with InSpec - AWS North Sydney
PDF
DevOpsDays Singapore - Continuous Auditing with Compliance as Code
Compliance Automation with Inspec Part 1
Bay Area Chef Meetup February
Infrastructure and Compliance Delight with Chef Automate
Managing Complexity at Velocity
Compliance Automation with InSpec
Intermediate/Compliance training Guide
Philly security shell meetup
Compliance Automation with InSpec
Chef Automating Everything-AWS-PubSec-SAO-WashDC_2018
Mitigate potential compliance risks
2019 Chef InSpec Jumpstart Part 1 of 2
Compliance Automation with Inspec Part 2
Compliance Automation Workshop
Melbourne Chef Meetup: Automating Azure Compliance with InSpec
DevSec Delight with Compliance as Code - Matt Ray - AgileNZ 2017
Chef compliance - Intermediate Training
A Journey to Improve Infrastructure Compliance With InSpec
Compliance Automation with Inspec Part 3
Automating Compliance with InSpec - AWS North Sydney
DevOpsDays Singapore - Continuous Auditing with Compliance as Code
Ad

More from Infralovers (9)

PDF
How not to Cloud
PDF
Docker Cheatsheet_02
PDF
Docker Cheatsheet_01
PPTX
AuroraWP - Infracoders Meetup Graz
PDF
What is cloud native and why should you care - Infracoders / DevOps / CloudNa...
PDF
Git Essentials Cheatsheet Deutsch
PDF
Bots are taking my job - so I started rollin' my own - Infracoders Meetup Graz
PDF
Habitat hack slides - Infracoders Meetup Graz
PPTX
Containers, Habitat and Orchestration - Infracoders Meetup Graz
How not to Cloud
Docker Cheatsheet_02
Docker Cheatsheet_01
AuroraWP - Infracoders Meetup Graz
What is cloud native and why should you care - Infracoders / DevOps / CloudNa...
Git Essentials Cheatsheet Deutsch
Bots are taking my job - so I started rollin' my own - Infracoders Meetup Graz
Habitat hack slides - Infracoders Meetup Graz
Containers, Habitat and Orchestration - Infracoders Meetup Graz

Recently uploaded (20)

PDF
project resource management chapter-09.pdf
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PDF
WOOl fibre morphology and structure.pdf for textiles
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PPTX
Chapter 5: Probability Theory and Statistics
PDF
STKI Israel Market Study 2025 version august
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PDF
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
PPTX
1. Introduction to Computer Programming.pptx
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PPT
What is a Computer? Input Devices /output devices
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PPTX
observCloud-Native Containerability and monitoring.pptx
PDF
Hindi spoken digit analysis for native and non-native speakers
PPTX
O2C Customer Invoices to Receipt V15A.pptx
PPTX
Modernising the Digital Integration Hub
project resource management chapter-09.pdf
NewMind AI Weekly Chronicles – August ’25 Week III
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
WOOl fibre morphology and structure.pdf for textiles
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
Chapter 5: Probability Theory and Statistics
STKI Israel Market Study 2025 version august
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
1. Introduction to Computer Programming.pptx
gpt5_lecture_notes_comprehensive_20250812015547.pdf
What is a Computer? Input Devices /output devices
Programs and apps: productivity, graphics, security and other tools
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
observCloud-Native Containerability and monitoring.pptx
Hindi spoken digit analysis for native and non-native speakers
O2C Customer Invoices to Receipt V15A.pptx
Modernising the Digital Integration Hub

Compliance Automation

  • 1. Compliance Automation with InSpec and Chef Automate Infracoders/ DevOps / CloudNativeMeetup GRAZ - 11th September, 2018
  • 2. Agenda 19:00-20:00 Talk • Do you know all your IT-vulnerabilities? • Edmund Haselwanter,CEO @ Infralovers 20:00-21:00 Networking • At the bar in the front www.infralovers.com
  • 3. A little bit of History • Client: Can we automate our Compliance Profiles? > YES, we can! • Prototype with Serverspec for Compliance Check Automation and Chef and Puppet for Infrastructure Automation • Opensourced at https://dev-sec.io www.infralovers.com
  • 7. A little bit of History II • Birth of InSpec (https://inspec.io) ✓ Inspired by Serverspec ✓ Compliance Primitives (Profiles, Weight, Description, ..) ✓ Better Transport Options (SSH/WinRM/Docker) ✓ A lot more Resources • InSpec 2.0 Supports Cloud Platforms like AWS, Azure, … www.infralovers.com
  • 9. PART OF A PROCESS OF CONTINUOUS COMPLIANCE Scan for Compliance Build & Test Locally Build & Test CI/CD Remediate Verify A SIMPLE EXAMPLE OF AN INSPEC CIS RULE InSpec ▪ Translate compliance into Code ▪ Clearly express statements of policy ▪ Move risk to build/test from runtime ▪ Find issues early ▪ Write code quickly ▪ Run code anywhere ▪ Inspect machines, data and APIs Turn security and compliance into code control ‘cis-1.4.1’ do title ‘1.4.1 Enable SELinux in /etc/grub.conf’ desc ‘ Do not disable SELinux and enforcing in your GRUB configuration. These are important security features that prevent attackers from escalating their access to your systems. For reference see … ‘ impact 1.0 expect(grub_conf.param ‘selinux’).to_not eq ‘0’ expect(grub_conf.param ‘enforcing’).to_not eq ‘0’ end
  • 11. Compliance as Code ROLE OF THE COMPLIANCE OFFICERACCELERATED CYCLE INFRASTRUCTURE AS CODE POLICY AS CODE PRACTICE AS CODE Separate certificatio n & testing Common language for describing & applying policy Compliance at velocity Compliance at VelocityManual Compliance Reactive engagement Proactive engagement Checking implementations by hand Expressing policy as testable code Short term compliance Long term process improvement One language, One workflow
  • 12. Linux Demo https://kitchen.ci + InSpec for Infracode Testing
  • 14. AWS Demo Provision: Terraform Detect: InSpec www.infralovers.com
  • 15. Chef Automate • Commercial Offeringfrom Chef Inc • Comes with readymade Compliance Profiles • Supports Notifications(e.g. Slack/ServiceNow/Custom) • Shiny Web UI to gain Visibility into current State www.infralovers.com
  • 16. The Chef Automate Platform Continuous Automation for High Velocity IT Workflow • Local development • Integration • Tooling (APIs & SDKs) COLLABORATE ▪ Package ▪ Test ▪ Approve BUILD ▪ Provision ▪ Configure ▪ Execute ▪ Update DEPLOY ▪ Secure ▪ Comply ▪ Audit ▪ Measure ▪ Log MANAGE Infrastructure Automation Compliance AutomationApplication Automation OSS AUTOMATION ENGINES Increase Speed ▪ Package infrastructure and app configuration as code ▪ Continuously automate infrastructure and app updates Improve Efficiency ▪ Define and execute standard workflows and automation ▪ Audit and measure effectiveness of automation Decrease Risk ▪ Define compliance rules as code ▪ Deliver continuous compliance as part of standard workflow
  • 17. Jumpstart your compliance test coverage Compliance in production Amazon Linux 2014.09 / 2015.03 CentOS 6 / 7 HP UX 11i IBM AIX 5.3 / 6.1 / 7.1 RHEL 6 / 7 SLES 11 / 12 Ubuntu Server 12.04 / 14.04 Windows 7 / 8 / 10 / 2012 / 2012R2 Chef Automate ships with profiles for:
  • 18. Visibility into the real-time compliance of your entire fleet Compliance in production
  • 20. Automate Demo Windows Example www.infralovers.com SLACK Alert