opa – github.com/open-policy-agent/opa Directories

opa command

Directories

PathSynopsis
astPackage ast declares Rego syntax tree types and also includes a parser and compiler for preparing policies for execution in the policy engine.
cmdPackage cmd contains the entry points for OPA commands.
dependenciesPackage dependencies provides functions for determining the set of ast.Refs that AST elements depend on.
formatPackage format implements formatting of Rego source files.
loaderPackage loader contains utilities for loading files into OPA.
metricsPackage metrics contains helpers for performance metric management inside the policy engine.
regoPackage rego exposes high level APIs for evaluating Rego policies.
replPackage repl implements a Read-Eval-Print-Loop (REPL) for interacting with the policy engine.
runtimePackage runtime contains the entry point to the policy engine.
serverPackage server contains the policy engine's server handlers.
server/authorizerPackage authorizer provides authorization handlers to the server.
server/identifierPackage identifier provides handlers for associating an identity with incoming requests.
server/typesPackage types contains request/response types and codes for the server.
server/writerPackage writer contains utilities for writing responses in the server.
storagePackage storage exposes the policy engine's storage layer.
storage/inmemPackage inmem implements an in-memory version of the policy engine's storage layer.
test
test/authz
testerPackage tester contains utilities for executing Rego tests.
test/scheduler
topdownPackage topdown provides low-level query evaluation support.
topdown/builtinsPackage builtins contains utilities for implementing built-in functions.
typesPackage types declares data types for Rego values and helper functions to operate on these types.
utilPackage util provides generic utilities used throughout the policy engine.
util/testPackage test contains utilities used in the policy engine's test suite.
versionPackage version contains version information that is set at build time.
watchPackage watch provides the ability to set a watch on a Rego query.
Version
v0.5.12
Published
Nov 22, 2017
Platform
js/wasm
Imports
3 packages
Last checked
now

Tools for package owners.