SlideShare a Scribd company logo
Policy as Code
(or: how I learned to stop worrying and trust my developers)
Gabe Schuyler
@gabe_sky
Dog Days of Devops 🔥
August, 2022
Gabe Schuyler Dog Days of DevOps @gabe_sky
A tale of DevOps
• Initially insert Ops (governance) into Dev

• Leads to trust

• Leads to cooperation

• Leads to "borrowing" tools and methods

• Infrastructure and con
fi
guration as code ("ops as code")
Gabe Schuyler Dog Days of DevOps @gabe_sky
Policy
• Firewall rules and ACLs

• System security con
fi
guration

• Expected API inputs and outputs

• The "allow list" for an application
Gabe Schuyler Dog Days of DevOps @gabe_sky
Why code?
• Text
fi
les

• Versioned

• Machine readable

• Human reviewable

• Automate-able
Gabe Schuyler Dog Days of DevOps @gabe_sky
Value
• Readable (and Commentable)

• Automate-able (ClickOps must die)

• Move at the same cadence as development

• Include "code review" before changes

• Integrate into testing and QA

• Remove unused policies from the allow list
Gabe Schuyler Dog Days of DevOps @gabe_sky
Examples
• Terraform

• Kubernetes

• Con
fi
guration Management

• Open Policy Agent

• OpenAPI speci
fi
cation
Gabe Schuyler Dog Days of DevOps @gabe_sky
How do we get started?
• Talk to developers about their
fl
ow and tools

• Convert tribal knowledge to code

• Convert manual run-books to automated processes

• Transcribe existing policy into code

• Cooperate
Gabe Schuyler
@gabe_sky
Dog Days of Devops 🔥
August, 2022
Policy as Code

More Related Content

PPTX
Secure Your Open Source Projects For Free
PPTX
How to get start with GitHub_Copilot_for_Management.pptx
PDF
GitOps 101 Presentation.pdf
PPTX
What is DevOps?
PDF
Docs Like Code: Strategies and Stories
PPTX
Cloud Native Transformation (Alexis Richardson) - Continuous Lifecycle 2018 ...
PDF
GitOps and ArgoCD
PPTX
Lessons learned on the Azure API Stewardship Journey.pptx
Secure Your Open Source Projects For Free
How to get start with GitHub_Copilot_for_Management.pptx
GitOps 101 Presentation.pdf
What is DevOps?
Docs Like Code: Strategies and Stories
Cloud Native Transformation (Alexis Richardson) - Continuous Lifecycle 2018 ...
GitOps and ArgoCD
Lessons learned on the Azure API Stewardship Journey.pptx

Similar to Dog Days of Devops 2022: Policy as Code (20)

PDF
DevOps! What, Why and How?
PDF
apidays LIVE Paris 2021 - Lessons from the API Stewardship Journey in Azure b...
PPTX
AWS Kochi User Group Presentation
PDF
Cloud and Network Transformation using DevOps methodology : Cisco Live 2015
PDF
Docs Like Code
PPTX
Azure_DevOps_Presentation BASIC SLIDES.pptx
PPTX
DevOps on GCP Course Compared to AWS
PPTX
Cloud Native Apps with GitOps
PDF
OUG Ireland Meet-up 12th January
PPTX
DevOps_service.pptx
PDF
Cloud native CI/CD with GitOps
PDF
Revolutionize DevOps with ML capabilities. Introduction to Amazon CodeGuru an...
PDF
Extending your Azure Integration Services Solutions with Open AI
PDF
Building A Product Assortment Recommendation Engine
PDF
Mastering azure devOps - Dot Net Tricks
PPTX
DevOps as a Service - Kuberiter
PDF
Enabling your DevOps culture with AWS-webinar
PDF
Constructing Open Source SDKs for Ops Teams with REST and GraphQL
PDF
Agile Secure Cloud Application Development Management
PDF
Application Monitoring using Datadog
DevOps! What, Why and How?
apidays LIVE Paris 2021 - Lessons from the API Stewardship Journey in Azure b...
AWS Kochi User Group Presentation
Cloud and Network Transformation using DevOps methodology : Cisco Live 2015
Docs Like Code
Azure_DevOps_Presentation BASIC SLIDES.pptx
DevOps on GCP Course Compared to AWS
Cloud Native Apps with GitOps
OUG Ireland Meet-up 12th January
DevOps_service.pptx
Cloud native CI/CD with GitOps
Revolutionize DevOps with ML capabilities. Introduction to Amazon CodeGuru an...
Extending your Azure Integration Services Solutions with Open AI
Building A Product Assortment Recommendation Engine
Mastering azure devOps - Dot Net Tricks
DevOps as a Service - Kuberiter
Enabling your DevOps culture with AWS-webinar
Constructing Open Source SDKs for Ops Teams with REST and GraphQL
Agile Secure Cloud Application Development Management
Application Monitoring using Datadog
Ad

More from Gabriel Schuyler (14)

PDF
2024 Kernelcon Attack and Defense of AI.pdf
PDF
2023 BSides ATX Trending Attack and Defense.pdf
PDF
Trends in Cloud Security Attack & Defense
PDF
Pancakes Con 4 Trends in Cloud Security & Fun Facts about Real Clouds
PDF
Automating Security Tests in Development with Docker
PDF
2022 GrrCON Shifting Right with Policy as Code.pdf
PDF
Texas Cyber Summit 2022: Challenges Securing Cloud-Native.pdf
PDF
fwd:cloudsec 2022: Shifting right with policy-as-code
PDF
Hope 2022: Just Enough RFID Cloning to be Dangerous
PDF
Kernel Con 2022: Securing Cloud Native Workloads
PPTX
ShmooCon 2022: RFID Key Cloning for Angry Bikers
PDF
Cybersecurity in 2022
PDF
Migrating Puppet 3 to 4 -- Code Changes
PDF
IC3 -- Configuration Management 101
2024 Kernelcon Attack and Defense of AI.pdf
2023 BSides ATX Trending Attack and Defense.pdf
Trends in Cloud Security Attack & Defense
Pancakes Con 4 Trends in Cloud Security & Fun Facts about Real Clouds
Automating Security Tests in Development with Docker
2022 GrrCON Shifting Right with Policy as Code.pdf
Texas Cyber Summit 2022: Challenges Securing Cloud-Native.pdf
fwd:cloudsec 2022: Shifting right with policy-as-code
Hope 2022: Just Enough RFID Cloning to be Dangerous
Kernel Con 2022: Securing Cloud Native Workloads
ShmooCon 2022: RFID Key Cloning for Angry Bikers
Cybersecurity in 2022
Migrating Puppet 3 to 4 -- Code Changes
IC3 -- Configuration Management 101
Ad

Recently uploaded (20)

PPTX
Spectroscopy.pptx food analysis technology
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
cloud_computing_Infrastucture_as_cloud_p
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Tartificialntelligence_presentation.pptx
PDF
A comparative study of natural language inference in Swahili using monolingua...
PPT
Teaching material agriculture food technology
PPTX
OMC Textile Division Presentation 2021.pptx
PDF
August Patch Tuesday
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
Heart disease approach using modified random forest and particle swarm optimi...
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PPTX
Machine Learning_overview_presentation.pptx
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Mushroom cultivation and it's methods.pdf
PDF
Machine learning based COVID-19 study performance prediction
PDF
Network Security Unit 5.pdf for BCA BBA.
Spectroscopy.pptx food analysis technology
SOPHOS-XG Firewall Administrator PPT.pptx
Unlocking AI with Model Context Protocol (MCP)
cloud_computing_Infrastucture_as_cloud_p
Empathic Computing: Creating Shared Understanding
Tartificialntelligence_presentation.pptx
A comparative study of natural language inference in Swahili using monolingua...
Teaching material agriculture food technology
OMC Textile Division Presentation 2021.pptx
August Patch Tuesday
Reach Out and Touch Someone: Haptics and Empathic Computing
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Group 1 Presentation -Planning and Decision Making .pptx
Heart disease approach using modified random forest and particle swarm optimi...
Assigned Numbers - 2025 - Bluetooth® Document
Machine Learning_overview_presentation.pptx
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Mushroom cultivation and it's methods.pdf
Machine learning based COVID-19 study performance prediction
Network Security Unit 5.pdf for BCA BBA.

Dog Days of Devops 2022: Policy as Code

  • 1. Policy as Code (or: how I learned to stop worrying and trust my developers) Gabe Schuyler @gabe_sky Dog Days of Devops 🔥 August, 2022
  • 2. Gabe Schuyler Dog Days of DevOps @gabe_sky A tale of DevOps • Initially insert Ops (governance) into Dev • Leads to trust • Leads to cooperation • Leads to "borrowing" tools and methods • Infrastructure and con fi guration as code ("ops as code")
  • 3. Gabe Schuyler Dog Days of DevOps @gabe_sky Policy • Firewall rules and ACLs • System security con fi guration • Expected API inputs and outputs • The "allow list" for an application
  • 4. Gabe Schuyler Dog Days of DevOps @gabe_sky Why code? • Text fi les • Versioned • Machine readable • Human reviewable • Automate-able
  • 5. Gabe Schuyler Dog Days of DevOps @gabe_sky Value • Readable (and Commentable) • Automate-able (ClickOps must die) • Move at the same cadence as development • Include "code review" before changes • Integrate into testing and QA • Remove unused policies from the allow list
  • 6. Gabe Schuyler Dog Days of DevOps @gabe_sky Examples • Terraform • Kubernetes • Con fi guration Management • Open Policy Agent • OpenAPI speci fi cation
  • 7. Gabe Schuyler Dog Days of DevOps @gabe_sky How do we get started? • Talk to developers about their fl ow and tools • Convert tribal knowledge to code • Convert manual run-books to automated processes • Transcribe existing policy into code • Cooperate
  • 8. Gabe Schuyler @gabe_sky Dog Days of Devops 🔥 August, 2022 Policy as Code