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 (a SecretAnalyzer) Analyze(_ context.Context, input analyzer.AnalysisInput) (*analyzer.AnalysisResult, error)
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
Click to show internal directories.
Click to hide internal directories.