opa

package
v0.0.0-...-8b55f26 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2024 License: EUPL-1.2 Imports: 18 Imported by: 1

Documentation

Overview

Package opa contains all logic for a functional component acting as the Policy Decision Point using OPA/Rego as the policy language.

Index

Constants

View Source
const Version = "1.0.0"

Version defines the version of this OPA/Rego PDP.

Variables

This section is empty.

Functions

func DeterminePrincipal

func DeterminePrincipal(a types.AttributeSet) (string, string)

DeterminePrincipal determines the type of principal and its primary key.

func NewController

func NewController(pip pip.PIP, store string, recurse bool, logger *slog.Logger) control.Controller

NewController instantiates a new OPA/Rego controller.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL