Documentation ¶
Index ¶
- Constants
- type ValidationError
- func CheckAffectedProduct(json *string) []ValidationError
- func CheckCvssV3BaseSeverity(json *string) []ValidationError
- func CheckInvalidVersion(json *string) []ValidationError
- func CheckLeadingTrailingSpace(json *string) []ValidationError
- func CheckLength(json *string) []ValidationError
- func CheckRefProtocol(json *string) []ValidationError
- func DuplicateRefs(json *string) []ValidationError
Constants ¶
View Source
const ( CveRecordStatePublished = "PUBLISHED" CveRecordStateRejected = "REJECTED" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ValidationError ¶
func CheckAffectedProduct ¶
func CheckAffectedProduct(json *string) []ValidationError
func CheckCvssV3BaseSeverity ¶
func CheckCvssV3BaseSeverity(json *string) []ValidationError
func CheckInvalidVersion ¶ added in v0.3.0
func CheckInvalidVersion(json *string) []ValidationError
CheckInvalidVersion returns an array of detected version-related ValidationError findings. It checks that the affected.versions sub-fields are used correctly.
func CheckLeadingTrailingSpace ¶
func CheckLeadingTrailingSpace(json *string) []ValidationError
func CheckLength ¶
func CheckLength(json *string) []ValidationError
func CheckRefProtocol ¶
func CheckRefProtocol(json *string) []ValidationError
func DuplicateRefs ¶
func DuplicateRefs(json *string) []ValidationError
Click to show internal directories.
Click to hide internal directories.