Documentation
¶
Overview ¶
Package bitbucket provides a verifier for Bitbucket app passwords. It uses the Bitbucket User API GET /2.0/user endpoint with Basic auth to check app password validity.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Verifier ¶
type Verifier struct {
// contains filtered or unexported fields
}
Verifier checks whether a Bitbucket app password is active by calling the Bitbucket User API. It NEVER logs or persists raw password values.
func (*Verifier) Verify ¶
func (v *Verifier) Verify(ctx context.Context, raw detector.RawFinding) finding.VerificationResult
Verify checks if the detected Bitbucket app password is valid/active. The Bitbucket username must be provided in raw.ExtraData["username"].
Click to show internal directories.
Click to hide internal directories.