docker

package
v1.5.12 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

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

Jump to

Keyboard shortcuts

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