security

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checker

type Checker struct {
	// contains filtered or unexported fields
}

type Issue

type Issue struct {
	Severity issueSeverity
	Message  string
}

type Result

type Result struct {
	Issues []Issue
}

func Run

func Run(ctx context.Context, logger *logging.Logger, cfg *config.Config, configPath, execPath string, envInfo *environment.EnvironmentInfo) (*Result, error)

Run executes the security checks and returns the aggregated result.

func (*Result) ErrorCount

func (r *Result) ErrorCount() int

func (*Result) HasErrors

func (r *Result) HasErrors() bool

func (*Result) TotalIssues

func (r *Result) TotalIssues() int

func (*Result) WarningCount

func (r *Result) WarningCount() int

Jump to

Keyboard shortcuts

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