misconf

package
v0.0.0-...-82b092a Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCauseWithCode

func NewCauseWithCode(underlying scan.Result) types.CauseMetadata

func ResultsToMisconf

func ResultsToMisconf(configType string, scannerName string, results scan.Results) []types.Misconfiguration

This function is exported for cvescan-plugin-aqua purposes only

Types

type Scanner

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

func NewScanner

func NewScanner(filePatterns []string, opt config.ScannerOption) (Scanner, error)

func (*Scanner) Scan

func (s *Scanner) Scan(ctx context.Context, files []types.File) ([]types.Misconfiguration, error)

Scan detects misconfigurations.

Jump to

Keyboard shortcuts

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