10000 GitHub - elevran/opa-example: Experimenting with open policy agent
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

elevran/opa-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OPA Example for Controlling Microservice Communication

Experimenting with open policy agent

Prerequisite

Download the OPA interactive shell (a.k.a. REPL), for your platform, from the OPA github releases page. For example, downloading release 0.5.10 for 64-bit Linux:

curl -L -o opa https://github.com/open-policy-agent/opa/releases/download/v0.5.10/opa_linux_amd64 \
    && chmod 755 ./opa

Make sure you can run (./opa run) and quit (Ctrl-D or exit) the REPL.

Experiments

The repository includes two experiments:

Out of Scope - Policy Control

In addition to the actual network isolation policies, there may exist requirements on who can define policies for each service, and whether policies, or specific rules and condition defined within a policy, defined by one role (e.g., CISO or other security personnel) can be overridden by service teams (e.g., DevOps engineers)

  • Policy control (who can define policies, which can be overridden, etc.)
  • Policy processing in case of multiple policies applied to an operation (e.g., priority, conflict resolution)

While it may be possible to resolve the above using OPA and Rego, this work is beyond the scope of this experiment.

About

Experimenting with open policy agent

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0