SlideShare a Scribd company logo
Enhance Your Compliance and Governance
With Policy-Based CI/CD
Continuous Lifecycle & Container Conf 2021
Nico Meisenzahl
• Senior Cloud & DevOps Consultant at white duck
• Microsoft MVP, GitLab Hero
• Cloud Native, Kubernetes & Azure
© white duck GmbH 2021
Phone: +49 8031 230159 0
Email: nico.meisenzahl@whiteduck.de
Twitter: @nmeisenzahl
LinkedIn: https://www.linkedin.com/in/nicomeisenzahl
Blog: https://meisenzahl.org
Agenda
• Why do we need compliance and governance in CI/CD?
• What is Open Policy Agent and how does it work?
• How to get started – demo time
© white duck GmbH 2021
Why do we need governance?
• Regulatory compliance: comply with relevant laws,
policies, and regulations
• Standards: adhere to established and standard
requirements
• Contractual commitments: like vendor agreements,
customers contracts
• Corporate requirements: rules and policies defined by the
company to comply with its needs
© white duck GmbH 2021
Compliance and governance in CI/CD?
Shift Left!
• rises awareness
• defines the “how” around the “what” of the pipeline
• security and compliance gates
• ensures requirements are always met
© white duck GmbH 2021
Open Policy Agent (OPA)
“policy-based control for cloud native environments”
• general-purpose policy engine across your stack
• graduated CNCF project introduced by styra
• declarative policy language
• decoupled the application logic from policy decisions
• REST API with sidecar or daemon
• Golang library or Wasm module
• provides APIs for easy management
© white duck GmbH 2021
© white duck GmbH 2021
Ecosystem
• API and service authorization with Envoy, Kong, Traefik, …
• authorization policies for SQL, Kafka, …
• container network authorization with Istio and Linkerd
• test policies for Terraform infrastructure changes
• policies for SSH and sudo
• policy and governance for Kubernetes
• and many more
• https://www.openpolicyagent.org/docs/latest/ecosystem
© white duck GmbH 2021
How OPA works
How OPA works
Rego
• “ray-go”
• declarative Policy Language
• ”is Nico allowed to POST a payload to /api?”
• rules commonly return true/false
• but may return any value
• 140+ build-in functions
• date/time, string, ...
• Regex
• JWT validation
© white duck GmbH 2021
How OPA works
How to get started
• OPA playground
• https://play.openpolicyagent.org
• docs
• https://www.openpolicyagent.org/docs
• OPA CLI
• opa run (server)
• opa eval (swiss-army knife)
Demos
• Terraform change validation with GitLab CI/CD
• Kubernetes manifest security validation with GitHub Actions
• further samples
• dependency deny list
• https://play.openpolicyagent.org/p/b0n6CHElcw
• Kubernetes Ingress validation
• https://play.openpolicyagent.org/p/5o1UFjIl0S
© white duck GmbH 2021
Questions?
• Slides: https://www.slideshare.net/nmeisenzahl
• Demos:
• https://gitlab.com/nico-meisenzahl/demo-opa-terraform-validation
• https://github.com/nmeisenzahl/demo-opa-cicd-validation
© white duck GmbH 2021
Phone: +49 8031 230159 0
Email: nico.meisenzahl@whiteduck.de
Twitter: @nmeisenzahl
LinkedIn: https://www.linkedin.com/in/nicomeisenzahl
Blog: https://meisenzahl.org

More Related Content

PDF
Policy & Governance für Kubernetes
Nico Meisenzahl
 
PDF
Hijack a Kubernetes Cluster - a Walkthrough
Nico Meisenzahl
 
PDF
azdevcom - Hijack a Kubernetes Cluster
Nico Meisenzahl
 
PDF
Azure Saturday Hamburg: Containerize Your .NET Microservice - the Right Way!
Nico Meisenzahl
 
PDF
Die Evolution von Container Image Builds
Nico Meisenzahl
 
PDF
Continuous Lifecycle: Hijack Kubernetes
Nico Meisenzahl
 
PDF
GitLab Commit: Your Attackers Won't Be Happy! How GitLab Can Help You Secure ...
Nico Meisenzahl
 
PDF
GitLab Commit DevOps: How GitLab Can Save your Kubernetes environment from Be...
Nico Meisenzahl
 
Policy & Governance für Kubernetes
Nico Meisenzahl
 
Hijack a Kubernetes Cluster - a Walkthrough
Nico Meisenzahl
 
azdevcom - Hijack a Kubernetes Cluster
Nico Meisenzahl
 
Azure Saturday Hamburg: Containerize Your .NET Microservice - the Right Way!
Nico Meisenzahl
 
Die Evolution von Container Image Builds
Nico Meisenzahl
 
Continuous Lifecycle: Hijack Kubernetes
Nico Meisenzahl
 
GitLab Commit: Your Attackers Won't Be Happy! How GitLab Can Help You Secure ...
Nico Meisenzahl
 
GitLab Commit DevOps: How GitLab Can Save your Kubernetes environment from Be...
Nico Meisenzahl
 

What's hot (20)

PDF
Azure Meetup Hamburg: Production-Ready Terraform Deployments on Azure
Nico Meisenzahl
 
PDF
Cloud Native Day: Cloud-native Anwendungsentwicklung im Jahr 2021
Nico Meisenzahl
 
PDF
GitLab Commit: Enhance your Compliance with Policy-Based CI/CD
Nico Meisenzahl
 
PDF
Azure Zürich User Group: Azure Kubernetes Service – more than just a managed ...
Nico Meisenzahl
 
PDF
DevOpsCon Berlin: Helm vs Operators – Do I Need to Decide?
Nico Meisenzahl
 
PDF
GitLab Remote Meetup: Enhance Your Kubernetes CI/CD Pipelines with GitLab & ...
Nico Meisenzahl
 
PPTX
FestiveTechCalendar2021 - Have Yourself An​ Azure Container Registry
Philip Welz
 
PDF
EVE Microservices Platform
Alaa Qutaish
 
PDF
Global Azure Bootcamp: Container, Docker & Kubernetes Basics
Nico Meisenzahl
 
PDF
Dutchcontainerdays
4bakker
 
PDF
KCD Guatemala - Abstracciones sobre Abstracciones
Mauricio (Salaboy) Salatino
 
PDF
DevSecCon Singapore 2019: Preventative Security for Kubernetes
DevSecCon
 
PDF
MadridJug From Monolith to k8s with Jenkins X and Zeebe
Mauricio (Salaboy) Salatino
 
PDF
Orchestrating Microservices
Mauricio (Salaboy) Salatino
 
PDF
Developing and Deploying Microservices with Project Tye
Eran Stiller
 
PDF
Introduction to Docker
Siu Tin
 
PDF
Create A Mapping Web Part
Tom Resing
 
PPTX
Secure Your Apps with NGINX Plus and the ModSecurity WAF
NGINX, Inc.
 
PDF
TechWiseTV Workshop: Cisco Developer Program
Robb Boyd
 
PPTX
[AzureCamp 24 Juin 2014] Témoignage de Conuxio par Arnaud Lecoufle
Microsoft Technet France
 
Azure Meetup Hamburg: Production-Ready Terraform Deployments on Azure
Nico Meisenzahl
 
Cloud Native Day: Cloud-native Anwendungsentwicklung im Jahr 2021
Nico Meisenzahl
 
GitLab Commit: Enhance your Compliance with Policy-Based CI/CD
Nico Meisenzahl
 
Azure Zürich User Group: Azure Kubernetes Service – more than just a managed ...
Nico Meisenzahl
 
DevOpsCon Berlin: Helm vs Operators – Do I Need to Decide?
Nico Meisenzahl
 
GitLab Remote Meetup: Enhance Your Kubernetes CI/CD Pipelines with GitLab & ...
Nico Meisenzahl
 
FestiveTechCalendar2021 - Have Yourself An​ Azure Container Registry
Philip Welz
 
EVE Microservices Platform
Alaa Qutaish
 
Global Azure Bootcamp: Container, Docker & Kubernetes Basics
Nico Meisenzahl
 
Dutchcontainerdays
4bakker
 
KCD Guatemala - Abstracciones sobre Abstracciones
Mauricio (Salaboy) Salatino
 
DevSecCon Singapore 2019: Preventative Security for Kubernetes
DevSecCon
 
MadridJug From Monolith to k8s with Jenkins X and Zeebe
Mauricio (Salaboy) Salatino
 
Orchestrating Microservices
Mauricio (Salaboy) Salatino
 
Developing and Deploying Microservices with Project Tye
Eran Stiller
 
Introduction to Docker
Siu Tin
 
Create A Mapping Web Part
Tom Resing
 
Secure Your Apps with NGINX Plus and the ModSecurity WAF
NGINX, Inc.
 
TechWiseTV Workshop: Cisco Developer Program
Robb Boyd
 
[AzureCamp 24 Juin 2014] Témoignage de Conuxio par Arnaud Lecoufle
Microsoft Technet France
 
Ad

Similar to Continuous Lifecycle: Enhance Your Compliance and Governance With Policy-Based CI/CD (20)

PDF
Docker Rosenheim Meetup: Policy & Governance for Kubernetes
Nico Meisenzahl
 
PDF
Dynamic Authorization & Policy Control for Docker Environments
Torin Sandall
 
PDF
Addressing Cloud Security with OPA
DiemShin
 
PDF
Cloud Native User Group: Shift-Left Testing IaC With PaC
smalltown
 
PPTX
Open Policy Agent for governance as a code
Alexander Tokarev
 
PDF
Dynamic Policy Enforcement for Microservice Environments
Nebulaworks
 
PDF
DSO-LG 2021 Reboot: Policy As Code (Anders Eknert)
Michael Man
 
PPTX
Cloud native policy enforcement with Open Policy Agent
LibbySchulze
 
PDF
Defining & Enforcing Policies the GitOps Way
Weaveworks
 
PPTX
apidays LIVE New York 2021 - Simplify Open Policy Agent with Styra DAS by Tim...
apidays
 
PPTX
OPA APIs and Use Case Survey
Torin Sandall
 
PDF
AWS Cloud Governance & Security through Automation - Atlanta AWS Builders
James Strong
 
PDF
Open Policy Agent
Torin Sandall
 
PDF
Ronen Levinson: Unified policy enforcement with opa - Architecture Next 20
CodeValue
 
PDF
Engineering Continuous Security and Compliance
QAware GmbH
 
PDF
Continuous compliance using data and code
Erkang Zheng
 
PDF
A DevOps Mario Developer Game Challenge with GRC
BMK Lakshminarayanan
 
PDF
SOA Governance in Action REST and WS Architectures Jos Dirksen
mpenaboyaro
 
PDF
Hardening Your CI/CD Pipelines with GitOps and Continuous Security
Weaveworks
 
PDF
Optimizing the Ops in DevOps
Gordon Haff
 
Docker Rosenheim Meetup: Policy & Governance for Kubernetes
Nico Meisenzahl
 
Dynamic Authorization & Policy Control for Docker Environments
Torin Sandall
 
Addressing Cloud Security with OPA
DiemShin
 
Cloud Native User Group: Shift-Left Testing IaC With PaC
smalltown
 
Open Policy Agent for governance as a code
Alexander Tokarev
 
Dynamic Policy Enforcement for Microservice Environments
Nebulaworks
 
DSO-LG 2021 Reboot: Policy As Code (Anders Eknert)
Michael Man
 
Cloud native policy enforcement with Open Policy Agent
LibbySchulze
 
Defining & Enforcing Policies the GitOps Way
Weaveworks
 
apidays LIVE New York 2021 - Simplify Open Policy Agent with Styra DAS by Tim...
apidays
 
OPA APIs and Use Case Survey
Torin Sandall
 
AWS Cloud Governance & Security through Automation - Atlanta AWS Builders
James Strong
 
Open Policy Agent
Torin Sandall
 
Ronen Levinson: Unified policy enforcement with opa - Architecture Next 20
CodeValue
 
Engineering Continuous Security and Compliance
QAware GmbH
 
Continuous compliance using data and code
Erkang Zheng
 
A DevOps Mario Developer Game Challenge with GRC
BMK Lakshminarayanan
 
SOA Governance in Action REST and WS Architectures Jos Dirksen
mpenaboyaro
 
Hardening Your CI/CD Pipelines with GitOps and Continuous Security
Weaveworks
 
Optimizing the Ops in DevOps
Gordon Haff
 
Ad

More from Nico Meisenzahl (18)

PDF
Cloud-Native & Sustainability: How and Why to Build Sustainable Workloads
Nico Meisenzahl
 
PDF
Container Day Security: How to Prevent Your Kubernetes Cluster From Being Hacked
Nico Meisenzahl
 
PDF
Festive Tech Calendar: Festive time with AKS networking
Nico Meisenzahl
 
PDF
ContainerConf 2022: Hijack Kubernetes
Nico Meisenzahl
 
PDF
ContainerConf 2022: Kubernetes is awesome - but...
Nico Meisenzahl
 
PDF
KCD Munich 2022: How to Prevent Your Kubernetes Cluster From Being Hacked
Nico Meisenzahl
 
PDF
KCD Munich 2022: Hijack a Kubernetes Cluster - a Walkthrough
Nico Meisenzahl
 
PDF
Cloud Love Conference: Kubernetes is awesome, but...
Nico Meisenzahl
 
PDF
How to Prevent Your Kubernetes Cluster From Being Hacked
Nico Meisenzahl
 
PDF
Container Days: Hijack a Kubernetes Cluster - a Walkthrough
Nico Meisenzahl
 
PPTX
Hijack a Kubernetes Cluster - a Walkthrough
Nico Meisenzahl
 
PDF
Hijack a Kubernetes Cluster - a Walkthrough
Nico Meisenzahl
 
PDF
Microsoft DevOps Forum 2021 – DevOps & Security
Nico Meisenzahl
 
PDF
GitHub Actions 101
Nico Meisenzahl
 
PDF
Azure Rosenheim Meetup: Azure Service Operator
Nico Meisenzahl
 
PDF
Azure Service Operator - Provision Your Resources in a Cloud-Native Way
Nico Meisenzahl
 
PDF
Effiziente CI/CD-Pipelines – mit den richtigen Tools klappt das
Nico Meisenzahl
 
PDF
DevOpsCon London: How containerized Pipelines can boost your CI/CD
Nico Meisenzahl
 
Cloud-Native & Sustainability: How and Why to Build Sustainable Workloads
Nico Meisenzahl
 
Container Day Security: How to Prevent Your Kubernetes Cluster From Being Hacked
Nico Meisenzahl
 
Festive Tech Calendar: Festive time with AKS networking
Nico Meisenzahl
 
ContainerConf 2022: Hijack Kubernetes
Nico Meisenzahl
 
ContainerConf 2022: Kubernetes is awesome - but...
Nico Meisenzahl
 
KCD Munich 2022: How to Prevent Your Kubernetes Cluster From Being Hacked
Nico Meisenzahl
 
KCD Munich 2022: Hijack a Kubernetes Cluster - a Walkthrough
Nico Meisenzahl
 
Cloud Love Conference: Kubernetes is awesome, but...
Nico Meisenzahl
 
How to Prevent Your Kubernetes Cluster From Being Hacked
Nico Meisenzahl
 
Container Days: Hijack a Kubernetes Cluster - a Walkthrough
Nico Meisenzahl
 
Hijack a Kubernetes Cluster - a Walkthrough
Nico Meisenzahl
 
Hijack a Kubernetes Cluster - a Walkthrough
Nico Meisenzahl
 
Microsoft DevOps Forum 2021 – DevOps & Security
Nico Meisenzahl
 
GitHub Actions 101
Nico Meisenzahl
 
Azure Rosenheim Meetup: Azure Service Operator
Nico Meisenzahl
 
Azure Service Operator - Provision Your Resources in a Cloud-Native Way
Nico Meisenzahl
 
Effiziente CI/CD-Pipelines – mit den richtigen Tools klappt das
Nico Meisenzahl
 
DevOpsCon London: How containerized Pipelines can boost your CI/CD
Nico Meisenzahl
 

Recently uploaded (20)

PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PPTX
The Future of AI & Machine Learning.pptx
pritsen4700
 
PDF
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
PDF
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
PDF
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PDF
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PDF
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
PDF
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
PPTX
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
PDF
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
Doc9.....................................
SofiaCollazos
 
PDF
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
The Future of AI & Machine Learning.pptx
pritsen4700
 
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
Doc9.....................................
SofiaCollazos
 
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 

Continuous Lifecycle: Enhance Your Compliance and Governance With Policy-Based CI/CD

  • 1. Enhance Your Compliance and Governance With Policy-Based CI/CD Continuous Lifecycle & Container Conf 2021
  • 2. Nico Meisenzahl • Senior Cloud & DevOps Consultant at white duck • Microsoft MVP, GitLab Hero • Cloud Native, Kubernetes & Azure © white duck GmbH 2021 Phone: +49 8031 230159 0 Email: [email protected] Twitter: @nmeisenzahl LinkedIn: https://www.linkedin.com/in/nicomeisenzahl Blog: https://meisenzahl.org
  • 3. Agenda • Why do we need compliance and governance in CI/CD? • What is Open Policy Agent and how does it work? • How to get started – demo time © white duck GmbH 2021
  • 4. Why do we need governance? • Regulatory compliance: comply with relevant laws, policies, and regulations • Standards: adhere to established and standard requirements • Contractual commitments: like vendor agreements, customers contracts • Corporate requirements: rules and policies defined by the company to comply with its needs © white duck GmbH 2021
  • 5. Compliance and governance in CI/CD? Shift Left! • rises awareness • defines the “how” around the “what” of the pipeline • security and compliance gates • ensures requirements are always met © white duck GmbH 2021
  • 6. Open Policy Agent (OPA) “policy-based control for cloud native environments” • general-purpose policy engine across your stack • graduated CNCF project introduced by styra • declarative policy language • decoupled the application logic from policy decisions • REST API with sidecar or daemon • Golang library or Wasm module • provides APIs for easy management © white duck GmbH 2021
  • 7. © white duck GmbH 2021
  • 8. Ecosystem • API and service authorization with Envoy, Kong, Traefik, … • authorization policies for SQL, Kafka, … • container network authorization with Istio and Linkerd • test policies for Terraform infrastructure changes • policies for SSH and sudo • policy and governance for Kubernetes • and many more • https://www.openpolicyagent.org/docs/latest/ecosystem © white duck GmbH 2021
  • 11. Rego • “ray-go” • declarative Policy Language • ”is Nico allowed to POST a payload to /api?” • rules commonly return true/false • but may return any value • 140+ build-in functions • date/time, string, ... • Regex • JWT validation © white duck GmbH 2021
  • 13. How to get started • OPA playground • https://play.openpolicyagent.org • docs • https://www.openpolicyagent.org/docs • OPA CLI • opa run (server) • opa eval (swiss-army knife)
  • 14. Demos • Terraform change validation with GitLab CI/CD • Kubernetes manifest security validation with GitHub Actions • further samples • dependency deny list • https://play.openpolicyagent.org/p/b0n6CHElcw • Kubernetes Ingress validation • https://play.openpolicyagent.org/p/5o1UFjIl0S © white duck GmbH 2021
  • 15. Questions? • Slides: https://www.slideshare.net/nmeisenzahl • Demos: • https://gitlab.com/nico-meisenzahl/demo-opa-terraform-validation • https://github.com/nmeisenzahl/demo-opa-cicd-validation © white duck GmbH 2021 Phone: +49 8031 230159 0 Email: [email protected] Twitter: @nmeisenzahl LinkedIn: https://www.linkedin.com/in/nicomeisenzahl Blog: https://meisenzahl.org