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.
bundlePackage bundle implements bundle loading.
cmdPackage cmd contains the entry points for OPA commands.
configPackage config implements OPA configuration file parsing and validation.
coverPackage cover reports coverage on modules.
dependenciesPackage dependencies provides functions for determining the set of ast.Refs that AST elements depend on.
downloadPackage download implements low-level OPA bundle downloading.
formatPackage format implements formatting of Rego source files.
internal
loaderPackage loader contains utilities for loading files into OPA.
metricsPackage metrics contains helpers for performance metric management inside the policy engine.
pluginsPackage plugins implements plugin management for the policy engine.
plugins/bundlePackage bundle implements bundle downloading.
plugins/discoveryPackage discovery implements configuration discovery.
plugins/logsPackage logs implements decision log buffering and uploading.
plugins/restPackage rest implements a REST client for communicating with remote services.
plugins/statusPackage status implements status reporting.
profilerPackage profiler computes and reports on the time spent on expressions.
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/authzPackage authz contains unit and benchmark tests for authz use-cases The public (non-test) APIs are meant to be used as helpers for other tests to build off of.
test/e2e
test/e2e/authz
test/e2e/logs
testerPackage tester contains utilities for executing Rego tests.
test/scheduler
test/wasm
test/wasm/cmd
topdownPackage topdown provides low-level query evaluation support.
topdown/builtinsPackage builtins contains utilities for implementing built-in functions.
topdown/copypropagation
topdown/internal
topdown/lineage
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.13.1
Published
Aug 14, 2019
Platform
js/wasm
Imports
3 packages
Last checked
now

Tools for package owners.