Documentation
¶
Index ¶
- func AlphaNumeric(size string) string
- func AlphaNumericExtended(size string) string
- func AlphaNumericExtendedLong(size string) string
- func AlphaNumericExtendedShort(size 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 Numeric(size string) string
- 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 GenerateSampleSecret ¶
func GenerateSampleSecrets ¶ added in v8.21.3
func Hex8_4_4_4_12 ¶
func Hex8_4_4_4_12() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.