Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AwsAccessKeyPattern = regexp.MustCompile("^AKIA[0-9A-Z]{16}$") AwsSecretKeyPattern = regexp.MustCompile("^[A-Za-z0-9/+=]{40}$") HashPattern = regexp.MustCompile("^[0-9a-fA-F]{40}$") )
Functions ¶
This section is empty.
Types ¶
type AwsSecretScanningResult ¶
func FindAwsCredentialsInUnstructuredString ¶
func FindAwsCredentialsInUnstructuredString(input string) *AwsSecretScanningResult
type SecretsDetector ¶
type SecretsDetector struct { AwsClient *aws.Config K8sClient *kubernetes.Clientset Namespace string // empty for all namespaces }
func (*SecretsDetector) FindSecrets ¶
func (m *SecretsDetector) FindSecrets() ([]*SecretInfo, error)
Click to show internal directories.
Click to hide internal directories.