server

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2026 License: Apache-2.0 Imports: 20 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 ProviderServer

type ProviderServer struct{}

ProviderServer implements the provider.Provider interface for the AMPEL provider.

func New

func New() *ProviderServer

New returns a new ProviderServer.

func (*ProviderServer) Describe

Describe returns the provider metadata and health status.

func (*ProviderServer) Export

Export reads scan results from the workspace and emits them as GemaraEvidence OTLP log records to the configured Beacon collector via ProofWatch.

func (*ProviderServer) 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 (*ProviderServer) 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