Showcase for "Policy-as-Code for Cloud-Native Applications with OPA"
-
Updated
May 12, 2023 - Java
The Open Policy Agent (OPA, pronounced “oh-pa”) is an open source, general-purpose policy engine that unifies policy enforcement across the stack. OPA provides a high-level declarative language that lets you specify policy as code and simple APIs to offload policy decision-making from your software. You can use OPA to enforce policies in microservices, Kubernetes, CI/CD pipelines, API gateways, and more.
What is OPA
Showcase for "Policy-as-Code for Cloud-Native Applications with OPA"
Integrate OPA-Gatekeeper with Kubernetes to demo powerful rego rules.
Role-based access control (RBAC) with the Open Policy Agent.
A collection of various Rego utility functions
Addon rule engine playground.
OPA policies for managing Kubernetes
open policy agent for dockerfile
Silly little example how you could delegate policy decisions to ChatGPT.
The Styra-supported driver to connect to Open Policy Agent (OPA) and Enterprise OPA deployments
Generic inquiry tool to OPA server for CI process, such as GitHub Actions
Lab tuning Rego evaluation time from 17 seconds to 1 second
Keycloak + OpenID Connect + JWT + Open Policy Agent (DEMO)
An extension to bring the Styra CLI natively into VS Code and provide Intellisense and snippets for rego.
Julia OpenPolicyAgent Client, Server and CLI.