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 is used to detect line on the helm template, it looks only at the keys of the template and will make use of the auxiliary added lines (ex: "# KICS_HELM_ID_")
func (DetectKindLine) SplitLines ¶ added in v1.4.2
func (d DetectKindLine) SplitLines(content string) []string
SplitLines splits the Helm document by line
Click to show internal directories.
Click to hide internal directories.