Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterMatcher ¶
func RegisterMatcher(sm SecretMatcher)
Types ¶
type AuthenticatedResult ¶
type AuthenticatedResult *string
var ( // Tested and creds are working AUTHENTICATED AuthenticatedResult = types.String("authenticated") // Tested and creds are not working UNAUTHENTICATED AuthenticatedResult = types.String("unauthenticated") // Not tested NOT_IMPLEMENTED AuthenticatedResult = types.String("not_implemented") // Tested but inconclusive UNKNOWN AuthenticatedResult = types.String("unknown") )
type SecretMatcher ¶
type SecretMatcher interface { Type() string DenyList() []*regexp.Regexp Authenticate(secret string, src string) (AuthenticatedResult, error) }
func Matchers ¶
func Matchers() []SecretMatcher
Source Files
¶
- aws_iam_access_key.go
- azure_storage_key.go
- basic_auth.go
- facebook_access_token.go
- facebook_oauth.go
- facebook_secret_key.go
- github_app_token.go
- github_oauth_access_token.go
- github_personal_access_token.go
- github_refresh_token.go
- google_api_key.go
- heroku_api_key.go
- jwt.go
- linkedin_secret_key.go
- mailchimp_access_key.go
- mailgun_access_key.go
- okta_token.go
- secrets.go
- slack_token.go
- stripe_api_key.go
- twilio_auth_token.go
- twitter_secret_key.go
Click to show internal directories.
Click to hide internal directories.