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, outputLines int, logwithfields *zerolog.Logger) 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.