All Projects → anderseknert → awesome-opa

anderseknert / awesome-opa

Licence: CC0-1.0 License
A curated list of OPA related tools, frameworks and articles

Projects that are alternatives of or similar to awesome-opa

opa-kafka-plugin
Open Policy Agent (OPA) plug-in for Kafka authorization
Stars: ✭ 46 (-85.44%)
Mutual labels:  opa, open-policy-agent, openpolicyagent
opal
Policy and data administration, distribution, and real-time updates on top of Open Policy Agent
Stars: ✭ 459 (+45.25%)
Mutual labels:  opa, open-policy-agent, policy-as-code
opa-spring-security
Open Policy Agent for Spring Security
Stars: ✭ 19 (-93.99%)
Mutual labels:  opa, openpolicyagent
Conftest
Write tests against structured configuration data using the Open Policy Agent Rego query language
Stars: ✭ 2,047 (+547.78%)
Mutual labels:  open-policy-agent, openpolicyagent
Opa
An open source, general-purpose policy engine.
Stars: ✭ 5,939 (+1779.43%)
Mutual labels:  opa, open-policy-agent
dotnet-opa-wasm
Call Open Policy Agent (OPA) policies in WASM (Web Assembly) from .NET Core
Stars: ✭ 36 (-88.61%)
Mutual labels:  opa, open-policy-agent
container-image-sign-and-verify-with-cosign-and-opa
This is just a proof-of-concept project that aims to sign and verify container images using cosign and OPA (Open Policy Agent)
Stars: ✭ 54 (-82.91%)
Mutual labels:  opa, open-policy-agent
OPA-python-client
Python client for Open Policy Agent
Stars: ✭ 24 (-92.41%)
Mutual labels:  opa, open-policy-agent
opa-java-client
No description or website provided.
Stars: ✭ 25 (-92.09%)
Mutual labels:  opa, openpolicyagent
pre-commit-opa
Pre-commit git hooks for Open Policy Agent (OPA) and Rego development
Stars: ✭ 53 (-83.23%)
Mutual labels:  opa, openpolicyagent
k8s-opa-boilerplate
Boilerplate example of managing OPA with kustomize
Stars: ✭ 14 (-95.57%)
Mutual labels:  opa, open-policy-agent
conftest-action
A GitHub Action for using Conftest
Stars: ✭ 30 (-90.51%)
Mutual labels:  openpolicyagent
gamechanger
GAMECHANGER aspires to be the Department’s trusted solution for evidence-based, data-driven decision-making across the universe of DoD requirements
Stars: ✭ 27 (-91.46%)
Mutual labels:  policy-as-code
intercept
INTERCEPT / Policy as Code Static Analysis Auditing / SAST
Stars: ✭ 54 (-82.91%)
Mutual labels:  policy-as-code
prancer-compliance-test
This repository includes cloud security policies for IaC and live resources.
Stars: ✭ 32 (-89.87%)
Mutual labels:  opa
policies
A set of shared policies for use with Conftest and other Open Policy Agent tools
Stars: ✭ 61 (-80.7%)
Mutual labels:  open-policy-agent
riskybird
Regular expression authors best friend
Stars: ✭ 48 (-84.81%)
Mutual labels:  opa
regolibrary
The rego library package contains the controls Kubescape uses for detecting miss-configurations in Kubernetes manifests
Stars: ✭ 45 (-85.76%)
Mutual labels:  opa
fury-kubernetes-opa
Kubernetes Fury OPA. Policy enforcement for your Kubernetes Cluster
Stars: ✭ 34 (-89.24%)
Mutual labels:  opa
azure-policy-as-code
Bicep and Terraform code examples for policy-as-code workflows. Azure governance guardrails and automation - by @jesseloudon
Stars: ✭ 101 (-68.04%)
Mutual labels:  policy-as-code

awesome-opa



A curated list of awesome Open Policy Agent (OPA) related tools, frameworks and articles.

Contents

Official projects

Repositories

  • OPA - Open Policy Agent Github repository
  • Gatekeeper - Kubernetes admission controller using OPA
  • Conftest - Write tests against structured configuration data

Docs

Blogs and Articles

  • OPA - Official blog for the OPA project
  • Logo - The OPA Logo in different versions

Policy Packages

  • Library - Community-owned policy library for OPA
  • Policy Hub CLI - CLI tool that makes Rego policies searchable
  • Rego policies - Rego policies from the the Red Hat community of practice
  • Appshield - Open Database of rego policies for common Infrastructure as Code files
  • Conftest policy packs - Collection of Conftest policies for "Compliance-as-Code" security policies and general engineering standards. Policies targeting Terraform, Dockerfiles, package.json (NodeJS) files, etc
  • Confectionary - A library of rules for Conftest used to detect Terraform misconfigurations.

Language and Platform Integrations

Java

  • Java - Generic Java client to query OPA's REST API
  • Spring Security - OPA Spring Security Library
  • Spring Security Reactive - OPA with Spring Security Reactive
  • Gradle - OPA plugin for Gradle
  • Thunx - Thunx is a pluggable ABAC system using OPA, Spring Cloud Gateway and Spring Data REST

Python

Go

PHP

  • OPA Library for PHP - OPA client, a PSR-15 authorization middleware and a PSR-15 bundle distributor middleware

.NET

Node.js

Clojure

  • Clojure - Middleware and utilities for app authorization with OPA in Clojure

Docker

Containers

  • Konveyor Forklift Validation Service - VM migration suitability assessment to avoid migrating VMs that are not fit for Kubevirt. Rules are applied on all the VMs of the source provider (VMware) during the initial inventory collection, then whenever a VM configuration changes.

WebAssembly (Wasm)

  • NPM module - a small SDK for using WebAssembly compiled Open Policy Agent Rego policies
  • .NET Core Library - .NET SDK for calling Wasm-compiled OPA policies from .NET Core
  • Python Library - Open Policy Agent WebAssembly SDK for Python
  • Go SDK - a small Go library for using WebAssembly compiled Open Policy Agent Rego policies
  • JVM - Java SDK for calling Wasm-compiled policies. Uses wasmtime.

Docs

  • Wasm - Official docs on WebAssembly for OPA

Built with Wasm

  • OPA Wasm demo - Demonstration of evaluating OPA's Wasm modules in the browser
  • Snyk CLI - Test Infrastructure as Code source code for security misconfigurations and best practices in the local console. The npm-opa-wasm library is used to run WASM bundle of Rego policies to detect misconfiguration.

Kubernetes

Service Mesh Authorization

  • OPA Envoy Plugin - The OPA Envoy Plugin (compatible with Envoy, Istio, Gloo Edge, more)
  • Open Service Mesh - Envoy based service mesh using OPA for external authorization
  • Kuma - OPA for Kuma service mesh
  • Kong Mesh - OPA for Kong Mesh authorization (docs)

Blogs and Articles

Datasource Integrations

Datasource Integrations Blogs and Articles

IDE and Editor Integrations

  • VS Code plugin - Develop, test, debug, and analyze policies for OPA in VS Code
  • IntelliJ plugin - OPA plugin for the IntelliJ IDE
  • Emacs - Emacs Major mode for working with Rego
  • Vim - Vim plugin for the Rego language, with support for syntax highlighting
  • Atom - Syntax highlighting for the Atom editor
  • CodeMirror - Rego mode and minimal key map for CodeMirror
  • TextMate - Syntax highlighting for TextMate
  • Sublime - Syntax highlighting for Sublime
  • Nano - Syntax highlighting for Nano
  • Prism - Prism is a lightweight, extensible syntax highlighter, built with modern web standards in mind (supports Rego)

Infrastructure as Code

  • Infracost - Infracost generates cloud cost estimates for Terraform and integrates with OPA, it can be used to write cost policies
  • Regula - Evaluates Terraform code for potential security misconfigurations and compliance violations.
  • Example Terraform policies - Example Terraform policies
  • Terrascan - 500+ Policies written in OPA for security best practices.
  • KICS - Keeping Infrastructure as Code Secure or KICS scans IaC projects for security vulnerabilities, compliance issues, and infrastructure misconfiguration. Currently working with Terraform projects, Kubernetes manifests, Dockerfiles, AWS CloudFormation Templates, and Ansible playbooks.
  • Trivy - Scan your code and artifacts for known vulnerabilities and misconfiguration issues.
  • Terraform OPA IBM - Terraform policy library for IBM Cloud

Infrastructure as Code Blogs and Articles

Serverless

Serverless Blogs and Articles

Tools and Utilities

  • Fregot - Alternative REPL implementation for Rego
  • OPA pre-commit - Pre-commit hooks for OPA/Rego/Conftest development
  • Monitor OPA Gatekeeper - Monitoring implementation guide for OPA Gatekeeper (blog)
  • OpenAPI to Rego - Generate Rego code given an OpenAPI 3.0 Specification
  • Temporal reasoning with OPA - Examples for working with time in Rego
  • OPAL - Realtime policy and data updates for your OPA agents on top of websockets pub/sub
  • OPA Action - OPA Pull-Request Assessor is a GitHub Action that checks files against policies configured in the same repo
  • OPA Schema Examples - Examples of extending the OPA type checker with JSON schemas
  • Snyk IaC Rules - Maintain library of Rego rules, run integration tests and build WASM bundles for distribution of rules. The OPA libraries are used to build WASM bundles.
  • kube-review - CLI tool to quickly create AdmissionReview requests from Kubernetes resources

Support and Community

  • Styra - Commercial support, and tools for managing OPA at scale, by the creators of OPA
  • Stack Overflow - Stack Overflow OPA section
  • OPA Slack - Open Policy Agent Slack workspace
  • GitHub Discussions - Open Policy Agent Discussion Board

Recommended Reading

  • OPA Guidebook - Open source, free book on Open Policy Agent, by Sangkeon Lee (source code)
  • Microservices Security in Action - Book on micorservices security, with dedicated section covering OPA. Freely available online.
  • Fugue - 5 tips for using the Rego language for Open Policy Agent
  • Integration - How we integrated our purely functional Scala backend with the Open Policy Agent

Twitter

Maintainers

Community Stars

  • @m_mizutani - Masayoshi Mizutani 🇯🇵 - Security engineer. Prolific OPA & Rego advocate
  • @Hiroyuki_OSAKI - Roy Hiroyuki OSAKI 🇺🇸 - Research engineer. OPA community contributor
  • @charlieegan3 - Charlie Egan 🇬🇧 - OPA contributor and active community member
  • @developerguyba - Batuhan Apaydin 🇹🇷 - Active member in OPA and many CNCF projects
  • @nmeisenzahl - Nico Meisenzahl 🇩🇪 - Frequently tweets and talks about OPA and cloud native topics
  • @jaspervdj-luminal - Jasper Van der Jeugt 🇨🇭 - OPA contributor

Commercial Tools

  • Styra DAS - Styra Declarative Authorization Service, from the creators of OPA
  • Scalr - Collaboration and Automation for Terraform, backed by OPA
  • Fairwinds Insights - Run OPA policies consistently across CI/CD, Admission Control, and an multi-cluster scanner
  • Snyk IaC - Test Infrastructure as Code source code repositories for security misconfigurations and best practices. The OPA golang libraries are used to evaluate Rego policies to detect misconfigurations in the repositories.
  • Spacelift: Flexible management platform for Infrastructure as Code, backed by OPA

Contributing

Built a great OPA integration or wrote an interesting blog or article on the topic? Submit a PR!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].