Documentation ¶
Overview ¶
Package vulnerability implements functions to validate that the fields of vulnerability entities being passed into the API meet our requirements.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateDetails ¶
ValidateDetails validates that a details has all its required fields filled in.
func ValidateVulnerability ¶
func ValidateVulnerability(v *vulnpb.Vulnerability) []error
ValidateVulnerability validates that a vulnerability has all its required fields filled in.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.