server

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

ScanRunner is used by Scan to execute scan commands. It defaults to scan.ExecRunner{} and can be overridden for testing.

View Source
var SkipToolCheck bool

SkipToolCheck disables tool presence validation. Used in tests.

Functions

This section is empty.

Types

type PluginServer

type PluginServer struct{}

PluginServer implements the plugin.Plugin interface for the AMPEL plugin.

func New

func New() *PluginServer

New returns a new PluginServer.

func (*PluginServer) Describe

Describe returns the plugin metadata and health status.

func (*PluginServer) Generate

Generate matches requirement IDs from the assessment configurations against granular AMPEL policy files and merges the matched policies into a single bundle for scan.

func (*PluginServer) Scan

Scan invokes the AMPEL toolchain to scan target repositories and returns standardized assessment results.

Jump to

Keyboard shortcuts

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