package explain

import "github.com/open-policy-agent/opa/topdown/explain"

Package explain contains utilities for post-processing traces emitted by the evaluation engine.

Index

Functions

func Truth

func Truth(compiler *ast.Compiler, trace []*topdown.Event) ([]*topdown.Event, error)

Truth implements post-processing on raw traces. The goal of the post-processing is to produce a filtered version of the trace that shows why the top-level query was true.

Source Files

explain.go

Version
v0.5.2
Published
Jul 17, 2017
Platform
darwin/amd64
Imports
4 packages
Last checked
1 second ago

Tools for package owners.