misconfiguration

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StripPathFromResult

StripPathFromResult strip input path from results wherever it is found.

Types

type FlattenedMisconfiguration

type FlattenedMisconfiguration struct {
	ScannerName string `json:"ScannerName"`
	types.Misconfiguration
}

type Misconfiguration

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

func (Misconfiguration) GetType

func (m Misconfiguration) GetType() types.FamilyType

func (Misconfiguration) Run

type Results

type Results struct {
	Metadata          familiestypes.Metadata      `json:"Metadata"`
	Misconfigurations []FlattenedMisconfiguration `json:"Misconfigurations"`
}

func NewResults

func NewResults() *Results

func (*Results) AddScannerResult

func (r *Results) AddScannerResult(scannerResult types.ScannerResult)

func (*Results) IsResults

func (*Results) IsResults()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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