Help us shape the future of Go! Take the 2026 Go Developer Survey

policies

package
v0.5.21 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2026 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package policies embeds the Rego policies, one file per control, that the engine evaluates over the intermediate representation. The Go side of the package only exposes the embedded filesystem.

Package policies exposes the built-in Rego policies shipped with Plumber. The directory contents are embedded at build time via //go:embed. Users can extend or override them at runtime via --policies (Phase 2+).

Index

Constants

This section is empty.

Variables

FS holds every .rego file at the root of the policies/ directory. Nested subdirectories will be picked up once the concern-based layout (policies/image/, policies/pipeline/, ...) is introduced in Phase 2.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
Package situation embeds the Rego module that derives per-job situation facts (entry, privilege, impact) from the normalized pipeline.
Package situation embeds the Rego module that derives per-job situation facts (entry, privilege, impact) from the normalized pipeline.

Jump to

Keyboard shortcuts

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