secret

package
v0.0.0-...-51f1176 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterSecretAnalyzer

func RegisterSecretAnalyzer(opt ScannerOption) error

Types

type ScannerOption

type ScannerOption struct {
	ConfigPath string
}

type SecretAnalyzer

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

SecretAnalyzer is an analyzer for secrets

func (SecretAnalyzer) Analyze

func (SecretAnalyzer) Required

func (a SecretAnalyzer) Required(filePath string, fi os.FileInfo) bool

func (SecretAnalyzer) Type

func (a SecretAnalyzer) Type() analyzer.Type

func (SecretAnalyzer) Version

func (a SecretAnalyzer) Version() int

Jump to

Keyboard shortcuts

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