Documentation
¶
Index ¶
- func AlphaNumeric(size string) string
- func AlphaNumericExtended(size string) string
- func AlphaNumericExtendedLong(size string) string
- func AlphaNumericExtendedShort(size string) string
- func BearerGetValidationExpr(url string, successCheck string) string
- func GenerateSampleSecret(identifier string, secret string) string
- func GenerateSampleSecrets(identifier string, secret string) []string
- func GenerateSemiGenericRegex(identifiers []string, secretRegex string, isCaseInsensitive bool) *regexp.Regexp
- func GenerateUniqueTokenRegex(secretRegex string, isCaseInsensitive bool) *regexp.Regexp
- func Hex(size string) string
- func Hex8_4_4_4_12() string
- func MergeRegexps(regexps ...*regexp.Regexp) *regexp.Regexp
- func MinEntropy(threshold float64) string
- func Numeric(size string) string
- func Ptr[T any](v T) *T
- func Validate(rule config.Rule, truePositives []string, falsePositives []string) *config.Rule
- func ValidateWithPaths(rule config.Rule, truePositives map[string]string, ...) *config.Rule
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlphaNumeric ¶
func AlphaNumericExtended ¶
func BearerGetValidationExpr ¶ added in v1.6.0
func GenerateSampleSecret ¶
func GenerateSampleSecrets ¶
func Hex8_4_4_4_12 ¶
func Hex8_4_4_4_12() string
func MinEntropy ¶ added in v1.5.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.