Skip to content

Navigation Menu

Sign in
Appearance settings
Sign up
Appearance settings
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XACML with Open Policy Agent

XACML is an OASIS standard for implementing policy as code. It was intended to be a widely adopted technology that would move authorization policy decisions out of application code and to a specialized Policy Decision Point (PDP). The terms often used in the OPA world like PDP, PIP (Policy Information Point), PEP (Policy Enforcement Point) all come from the XACML standard.

This repo shows how to integrate an XACML-based system with policy implemented in Rego and evaluated by OPA.

The input message is a XACML JSON profile formatted request, so is the response from OPA.

Usage

Run unit tests by ./test.sh

Run OPA and send a request using ./run.sh and ./request.sh.

References

XACML JSON Profile

Original XACML policy that I converted to Rego

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.