scanner

package
v0.46.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AppendPipeleekRules = rules.AppendPipeleekRules
View Source
var DetectFileHits = artifact.DetectFileHits
View Source
var DetectHits = engine.DetectHits
View Source
var DownloadRules = rules.DownloadRules
View Source
var HandleArchiveArtifact = artifact.HandleArchiveArtifact
View Source
var InitRules = rules.InitRules

Functions

This section is empty.

Types

type BaseScanner

type BaseScanner interface {
	// Scan performs a scan based on the configured options and returns any error encountered.
	Scan() error
}

BaseScanner defines the minimal interface that all platform-specific scanners must implement. This provides a common contract for scanning operations across different CI/CD platforms.

type DetectionResult

type DetectionResult = types.DetectionResult

type Finding

type Finding = types.Finding

type PatternElement

type PatternElement = types.PatternElement

type PatternPattern

type PatternPattern = types.PatternPattern

type ScannerWithStatus

type ScannerWithStatus interface {
	BaseScanner

	// GetStatus returns a human-readable status string describing the current scan state.
	GetStatus() string
}

ScannerWithStatus extends BaseScanner with methods for monitoring scan progress. Implement this interface for scanners that need to report their status.

type SecretsPatterns

type SecretsPatterns = types.SecretsPatterns

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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