SlideShare a Scribd company logo
Andreas Zitzelsberger, QAware
@andreasz82
github.com/az82
Engineering Continuous
Security and Compliance
The Problem
Source: NASA
Source: Monty Python’s Flying Circus
Developers
Managers
Auditors
Regulators
Security
Officers
Architects
Customers
Source: NASA
Developers
Managers
Auditors
Regulators
Security
Officers
Architects
Customers
k8s Admission Controller
k8s Network Policy
Clair / OWASP results
Copper.sh rules
k8s Pod Security Policy
Istio Traffic Mgmt Policy
Istio Auth Policy
KubeCI pipeline anatomy
SonarQube rules
Hosts of
Enforcement Points
A Legion of
Compliance Sources
ISO 27001
GDPR
BAFIN
HIPAA
CIS
NIST
BSI
...
...
?
?
What Do We Need?
We need Continuous Security
together with Continuous Compliance,
automated,
making things more secure,
making professional’s lives easier
and not getting in the way of productive development.
Source: Getty Images
The Goals
Centralized policy management creates confidence and auditability
Uniform real-time policies prevent costly mistakes
Bridging business and technical policies helps stakeholders work together
Centralized Policy
Management
GitSec
Centralized policies in versioned repositories
Use Git as repository
Methodology how to map repositories and branches to running software
1. guard, watch
2. a watching, keeping watch
3. to keep watch
4. persons keeping watch, a guard, sentinels of the place where captives are kept, a prison of the time (of night) during which guard
was kept, a watch i.e., a period of time during which part of the guard was on duty, and at the end of which others relieved them
φυλακή
The tool set for GitSec
Policy Manager
K8s Adapter
Istio Adapter
... Adapter
Open Policy Adapter
Apps
K8s
Istio
...
POlPoliPolicy
Repository
Policy Checker
Master Data
Integration
Phylake High-Level Architecture
Uniform Real-Time
Policies
What Is the Open Policy Agent (OPA)?
The Open Policy Agent (OPA) is a cloud native real-time policy engine
CNCF project (Sandbox)
Can be deployed as a sidecar or standalone app
Integrations for common infrastructure components
The Rego language is an accessible formal policy language
Tooling for developing policies in Rego
http://www.openpolicyagent.org/
Unify as far as possible on Open Policies
Bridging Business and
Technical Policies
Business
Policies
Derived
Policies
Technical
Policies
“Be GoDB
compliant”
“Archive your
software”
Use the K8s
admission
controller to
trigger the
archiving
system
Business Policies
godb = true
hippa = false
stgb203 = false
gdpr = true
bsiC5 = true
coporateSecurityGuideline = true
k8sBestPractices = true
archivingRequired = compliance.godb
auditingRequired = any([compliance.godb, compliance.hippa,
compliance.bsiC5])
noSnapshots = any([compliance.godb, compliance.bsiC5,
compliance.coporateSecurityGuideline])
Derived Policies
deny["Invalid Git commit hash annotation" ] {
policies.archivingRequired
not re_match(`^[a-f0-9]{40}$`, gitCommitAnnotation (input))
}
deny[msg] {
policies.noSnapshots
endswith(containers(input)[i].image, ":latest")
msg = sprintf("No explicit image version for the container %s" ,
[containers(input)[i].name])
}
Technical Policies
Where do we stand
now?
Very rough outline of the GitSec methodology
Prototype implementation of Phylake in Go
Prototypical policy manager checker
Supports Kubernetes admission control and Istio network policies
Simple YAML business policy definitions
We are at the very beginning
Lessons Learned
Our ideas are sound and create value
The GitSec concepts need more love and much more detail
Open Policy is not widely supported yet
⇒ It makes sense to integrate component-specific policy definitions now and
converge on Open Policies later
Can I Take Part?
Absolutely!
We want Phylake to be community-driven Open Source (It isn’t, yet)
We’re still at the early stages
Take part, or just stay informed
Contact me: andreas.zitzelsberger@qaware.de
@andreasz82

More Related Content

PDF
Steve Litras [Cribl] | The Power of Infinite Choice | InfluxDays Virtual Expe...
PDF
Cavemen to Captains
PDF
2nd ARCADIA banner
PPTX
Customer Insights Prozess
PPTX
C-Level tools for Cloud security
PPTX
Broader, Better, Faster: Capgemini’s Blueprint for Oracle Supply Chain Cloud
PDF
Cisco Connect 2018 Vietnam - Cisco meraki
PDF
ICIC 2016: New product Introduction BizInt
Steve Litras [Cribl] | The Power of Infinite Choice | InfluxDays Virtual Expe...
Cavemen to Captains
2nd ARCADIA banner
Customer Insights Prozess
C-Level tools for Cloud security
Broader, Better, Faster: Capgemini’s Blueprint for Oracle Supply Chain Cloud
Cisco Connect 2018 Vietnam - Cisco meraki
ICIC 2016: New product Introduction BizInt

What's hot (19)

PPTX
Gain multi-cloud versatility with software load balancing designed for cloud-...
PDF
How to Use the TICK Stack, CoreOS, & Docker to Make Your SaaS Offering Better
PDF
Cloud9 IDE and Bitbucket
PPTX
Ntxissacsc5 blue 2-herding cats and security tools-harold_toomey
PPTX
Cisco Connect 2018 Indonesia - The Network Intutive
PDF
Taking DevOps Monitoring to the Next Level - The 5 Step Guide to Monitoring N...
PDF
DevOps Fest 2020. James Spiteri. Advanced Security Operations with Elastic Se...
PDF
FIWARE Global Summit - Welcome & Opening Remarks
PDF
Société Générale: Monitoring as a service with the Elastic Stack
PPTX
Smart City Lab 5 - Controlling Actuators
PPTX
[Cisco Connect 2018 - Vietnam] Joseph yap journey to the multi cloud
PPTX
Helix Nebula - The Science Cloud - Lessons learned
PPTX
Spark for bay area big data developer
PPTX
K8s & cloud native past, present and future
PDF
Ed's ModernResume_V1
PPTX
Promat 2015 floor seminar
PPTX
HNSciCloud Prototype Phase Award - Marc-Elian Begin
PPTX
Fi ware, fi-lab e il trentino
PDF
Keepler | Full-Stack Serverless Applications on GCP
Gain multi-cloud versatility with software load balancing designed for cloud-...
How to Use the TICK Stack, CoreOS, & Docker to Make Your SaaS Offering Better
Cloud9 IDE and Bitbucket
Ntxissacsc5 blue 2-herding cats and security tools-harold_toomey
Cisco Connect 2018 Indonesia - The Network Intutive
Taking DevOps Monitoring to the Next Level - The 5 Step Guide to Monitoring N...
DevOps Fest 2020. James Spiteri. Advanced Security Operations with Elastic Se...
FIWARE Global Summit - Welcome & Opening Remarks
Société Générale: Monitoring as a service with the Elastic Stack
Smart City Lab 5 - Controlling Actuators
[Cisco Connect 2018 - Vietnam] Joseph yap journey to the multi cloud
Helix Nebula - The Science Cloud - Lessons learned
Spark for bay area big data developer
K8s & cloud native past, present and future
Ed's ModernResume_V1
Promat 2015 floor seminar
HNSciCloud Prototype Phase Award - Marc-Elian Begin
Fi ware, fi-lab e il trentino
Keepler | Full-Stack Serverless Applications on GCP
Ad

Similar to Engineering Continuous Security and Compliance (20)

PDF
GitLab Commit: Enhance your Compliance with Policy-Based CI/CD
PDF
Dynamic Authorization & Policy Control for Docker Environments
PPTX
Cloud native policy enforcement with Open Policy Agent
PDF
Kubernetes Security with Calico and Open Policy Agent
PDF
DSO-LG 2021 Reboot: Policy As Code (Anders Eknert)
PDF
2014-12-16 defense news - shutdown the hackers
PDF
Addressing Cloud Security with OPA
PDF
Open Policy Agent
PPTX
OPA APIs and Use Case Survey
PPTX
5 Clear Signs You Need Security Policy Automation
PDF
Cloud Native User Group: Shift-Left Testing IaC With PaC
PDF
Future-proofing maritime ports against emerging cyber-physical threats
PDF
You can't make a (Denver) omelette without breaking eggs: Using OpenStack pol...
PPTX
Opa microservice authorization
PPTX
Open Source Insight: You Can’t Beat Hackers and the Pentagon Moves into Open...
PDF
Cyber-Physical_Systems_yber Physical system (CPS) is a new generation of digi...
PPTX
Securing APIs with Open Policy Agent
PPTX
Securing APIs with Open Policy Agent
PDF
Safety & Security in OT Environments - Cliff Martin, Principal Engineer, BAE ...
PDF
Conférence ENGIE ACSS 2018
GitLab Commit: Enhance your Compliance with Policy-Based CI/CD
Dynamic Authorization & Policy Control for Docker Environments
Cloud native policy enforcement with Open Policy Agent
Kubernetes Security with Calico and Open Policy Agent
DSO-LG 2021 Reboot: Policy As Code (Anders Eknert)
2014-12-16 defense news - shutdown the hackers
Addressing Cloud Security with OPA
Open Policy Agent
OPA APIs and Use Case Survey
5 Clear Signs You Need Security Policy Automation
Cloud Native User Group: Shift-Left Testing IaC With PaC
Future-proofing maritime ports against emerging cyber-physical threats
You can't make a (Denver) omelette without breaking eggs: Using OpenStack pol...
Opa microservice authorization
Open Source Insight: You Can’t Beat Hackers and the Pentagon Moves into Open...
Cyber-Physical_Systems_yber Physical system (CPS) is a new generation of digi...
Securing APIs with Open Policy Agent
Securing APIs with Open Policy Agent
Safety & Security in OT Environments - Cliff Martin, Principal Engineer, BAE ...
Conférence ENGIE ACSS 2018
Ad

More from QAware GmbH (20)

PDF
QAware_Mario-Leander_Reimer_Architecting and Building a K8s-based AI Platform...
PDF
Frontends mit Hilfe von KI entwickeln.pdf
PDF
Mit ChatGPT Dinosaurier besiegen - Möglichkeiten und Grenzen von LLM für die ...
PDF
50 Shades of K8s Autoscaling #JavaLand24.pdf
PDF
Make Agile Great - PM-Erfahrungen aus zwei virtuellen internationalen SAFe-Pr...
PPTX
Fully-managed Cloud-native Databases: The path to indefinite scale @ CNN Mainz
PDF
Down the Ivory Tower towards Agile Architecture
PDF
"Mixed" Scrum-Teams – Die richtige Mischung macht's!
PDF
Make Developers Fly: Principles for Platform Engineering
PDF
Der Tod der Testpyramide? – Frontend-Testing mit Playwright
PDF
Was kommt nach den SPAs
PDF
Cloud Migration mit KI: der Turbo
PDF
Migration von stark regulierten Anwendungen in die Cloud: Dem Teufel die See...
PDF
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
PDF
Endlich gute API Tests. Boldly Testing APIs Where No One Has Tested Before.
PDF
Kubernetes with Cilium in AWS - Experience Report!
PDF
50 Shades of K8s Autoscaling
PDF
Kontinuierliche Sicherheitstests für APIs mit Testkube und OWASP ZAP
PDF
Service Mesh Pain & Gain. Experiences from a client project.
PDF
50 Shades of K8s Autoscaling
QAware_Mario-Leander_Reimer_Architecting and Building a K8s-based AI Platform...
Frontends mit Hilfe von KI entwickeln.pdf
Mit ChatGPT Dinosaurier besiegen - Möglichkeiten und Grenzen von LLM für die ...
50 Shades of K8s Autoscaling #JavaLand24.pdf
Make Agile Great - PM-Erfahrungen aus zwei virtuellen internationalen SAFe-Pr...
Fully-managed Cloud-native Databases: The path to indefinite scale @ CNN Mainz
Down the Ivory Tower towards Agile Architecture
"Mixed" Scrum-Teams – Die richtige Mischung macht's!
Make Developers Fly: Principles for Platform Engineering
Der Tod der Testpyramide? – Frontend-Testing mit Playwright
Was kommt nach den SPAs
Cloud Migration mit KI: der Turbo
Migration von stark regulierten Anwendungen in die Cloud: Dem Teufel die See...
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
Endlich gute API Tests. Boldly Testing APIs Where No One Has Tested Before.
Kubernetes with Cilium in AWS - Experience Report!
50 Shades of K8s Autoscaling
Kontinuierliche Sicherheitstests für APIs mit Testkube und OWASP ZAP
Service Mesh Pain & Gain. Experiences from a client project.
50 Shades of K8s Autoscaling

Recently uploaded (20)

PDF
Foundation of Data Science unit number two notes
PPTX
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
PPTX
Computer network topology notes for revision
PPTX
DISORDERS OF THE LIVER, GALLBLADDER AND PANCREASE (1).pptx
PPTX
1_Introduction to advance data techniques.pptx
PPTX
MODULE 8 - DISASTER risk PREPAREDNESS.pptx
PPTX
Business Ppt On Nestle.pptx huunnnhhgfvu
PPTX
01_intro xxxxxxxxxxfffffffffffaaaaaaaaaaafg
PPT
Miokarditis (Inflamasi pada Otot Jantung)
PDF
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
PPTX
STUDY DESIGN details- Lt Col Maksud (21).pptx
PPTX
AI Strategy room jwfjksfksfjsjsjsjsjfsjfsj
PPTX
advance b rammar.pptxfdgdfgdfsgdfgsdgfdfgdfgsdfgdfgdfg
PPTX
Supervised vs unsupervised machine learning algorithms
PPTX
Business Acumen Training GuidePresentation.pptx
PDF
Business Analytics and business intelligence.pdf
PPTX
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
PPTX
oil_refinery_comprehensive_20250804084928 (1).pptx
PDF
Lecture1 pattern recognition............
PDF
Mega Projects Data Mega Projects Data
Foundation of Data Science unit number two notes
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
Computer network topology notes for revision
DISORDERS OF THE LIVER, GALLBLADDER AND PANCREASE (1).pptx
1_Introduction to advance data techniques.pptx
MODULE 8 - DISASTER risk PREPAREDNESS.pptx
Business Ppt On Nestle.pptx huunnnhhgfvu
01_intro xxxxxxxxxxfffffffffffaaaaaaaaaaafg
Miokarditis (Inflamasi pada Otot Jantung)
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
STUDY DESIGN details- Lt Col Maksud (21).pptx
AI Strategy room jwfjksfksfjsjsjsjsjfsjfsj
advance b rammar.pptxfdgdfgdfsgdfgsdgfdfgdfgsdfgdfgdfg
Supervised vs unsupervised machine learning algorithms
Business Acumen Training GuidePresentation.pptx
Business Analytics and business intelligence.pdf
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
oil_refinery_comprehensive_20250804084928 (1).pptx
Lecture1 pattern recognition............
Mega Projects Data Mega Projects Data

Engineering Continuous Security and Compliance