Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultScannerEnabled = false // Default to not run any scanners DefaultTimeout = 5 * time.Minute // Default timeout per record scan DefaultCLIPath = "mcp-scanner" // Default path to mcp-scanner binary DefaultFailOnError = false // Default to not fail on error DefaultFailOnWarning = false // Default to not fail on warning )
Default values for scanner configuration.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Enabled bool // If true, run all registered scanners
Timeout time.Duration // Timeout per record scan
CLIPath string // Path to mcp-scanner binary; empty = "mcp-scanner" from PATH
FailOnError bool // If true, do not import records that have error-severity findings
FailOnWarning bool // If true, do not import records that have warning-severity findings
}
Config contains configuration for the scanner pipeline stage.
Click to show internal directories.
Click to hide internal directories.