Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ValidCVEID = field.TextValidationRule(func(value string) error { if !cveIDRegex.MatchString(value) && !ghsaRegex.MatchString(value) { return errors.New("must be a CVE or GHSA ID") } return nil })
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
Click to show internal directories.
Click to hide internal directories.