Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DetectKindLine ¶
type DetectKindLine struct { }
DetectKindLine defines a kindDetectLine type
func (DetectKindLine) DetectLine ¶
func (d DetectKindLine) DetectLine(file *model.FileMetadata, searchKey string, logWithFields *zerolog.Logger, outputLines int) model.VulnerabilityLines
DetectLine searches vulnerability line in docker files
func (DetectKindLine) SplitLines ¶ added in v1.4.2
func (d DetectKindLine) SplitLines(content string) []string
SplitLines splits Dockerfile document by line, multiline are considered as one
Click to show internal directories.
Click to hide internal directories.