remediation

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Input

type Input struct {
	ProjectPath string
	Registry    *sdk.PackageRegistry
	Manifests   []sdk.ConsolidatedManifest
	Detections  []sdk.DetectionResult
	Detectors   map[string]sdk.Detector
}

Input contains the completed detection and enrichment evidence used to derive canonical package remediation context.

type Warning

type Warning struct {
	Source  string
	Message string
}

Warning reports a detector remediation provider failure or rejected hint.

func Derive

func Derive(ctx context.Context, in Input) []Warning

Derive replaces every package remediation value with canonical status, version, and occurrence suggestions derived from completed enrichment. Detector providers contribute read-only package-manager evidence; they cannot select the final version or action.

Jump to

Keyboard shortcuts

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