package explain

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

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.2.0
Published
Nov 7, 2016
Platform
linux/amd64
Imports
4 packages
Last checked
18 hours ago

Tools for package owners.