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 ¶
View Source
var FS embed.FS
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. |
Click to show internal directories.
Click to hide internal directories.