composerules

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Overview

Package composerules implements the static Docker Compose rules.

Index

Constants

View Source
const Mask = "********"

Mask replaces secret values in all output. Its length is fixed so that it does not reveal the length of the original value.

Variables

This section is empty.

Functions

func Registry

func Registry() *engine.Registry[*compose.Project]

Registry returns a validated registry of all Compose rules.

func SensitiveValues

func SensitiveValues(p *compose.Project) []string

SensitiveValues returns all environment values that output must never contain. It is broader than SST-SEC-011 on purpose: report renderers use it as a last line of defense to redact values that might have leaked into any finding text.

Types

type Rule

type Rule = engine.Rule[*compose.Project]

Rule is a Compose rule.

func All

func All() []Rule

All returns every built-in Compose rule.

Jump to

Keyboard shortcuts

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