Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
URLPat = regexp.MustCompile(`\b([A-Za-z0-9](?:[A-Za-z0-9\-]{0,61}[A-Za-z0-9])\.jfrog\.io)`)
)
Functions ¶
This section is empty.
Types ¶
type Scanner ¶
type Scanner struct { detectors.DefaultMultiPartCredentialProvider // contains filtered or unexported fields }
func (Scanner) FromData ¶
func (s Scanner) FromData(ctx context.Context, verify bool, data []byte) (results []detectors.Result, err error)
FromData will find and optionally verify Artifactory secrets in a given set of bytes.
func (Scanner) Keywords ¶
Keywords are used for efficiently pre-filtering chunks. Use identifiers in the secret preferably, or the provider name.
func (Scanner) Type ¶ added in v3.27.0
func (s Scanner) Type() detectorspb.DetectorType
Click to show internal directories.
Click to hide internal directories.