vsa

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver struct{}

func New

func New() *Driver

func (*Driver) RenderResult

func (d *Driver) RenderResult(w io.Writer, result *papi.Result) error

RenderResult renders a policy evaluation result into a VSA

func (*Driver) RenderResultGroup added in v1.1.0

func (d *Driver) RenderResultGroup(w io.Writer, result *papi.ResultGroup) error

func (*Driver) RenderResultSet

func (d *Driver) RenderResultSet(w io.Writer, set *papi.ResultSet) error

RenderResultSet renders a results set in a VSA.

We map the result of the VSA (VerificationResult) to the PolicySet assesment result. The SLSA level captured in the the VerifiedLevels field is transferred from the common controls.

Dependency levels are computed by extracting the results of policies chained to a different subject. Those policies are expected to have their own controls section, defining the SLSA level they check.

Jump to

Keyboard shortcuts

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