Skip to content

arvind-kalyan/opa-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prereq:

  1. Install OPA binary (Version: 0.42.0 or above) from https://github.com/open-policy-agent/opa/releases/tag/v0.42.0
  2. chmod 755 <binary file>

Steps to run: For evaluating policies for app2, from the root of the project, run the following commands:

command to evaluate the policy: ./opa eval -i input.json -d data.json -d app2 -d core 'data.oparules.app2.allow' command to run the test case in app2 : ./opa test app2/policy_test.rego

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published