Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Severity ¶
type Severity struct { Type SeverityType `json:"type,omitempty"` Source string `json:"source,omitempty"` Vendor *string `json:"vendor,omitempty"` CVSSv2 *v2Types.CVSSv2 `json:"cvss_v2,omitempty"` CVSSv30 *v30Types.CVSSv30 `json:"cvss_v30,omitempty"` CVSSv31 *v31Types.CVSSv31 `json:"cvss_v31,omitempty"` CVSSv40 *v40Types.CVSSv40 `json:"cvss_v40,omitempty"` }
type SeverityType ¶
type SeverityType int
const ( SeverityTypeVendor SeverityType SeverityTypeCVSSv2 SeverityTypeCVSSv30 SeverityTypeCVSSv31 SeverityTypeCVSSv40 )
func (SeverityType) MarshalJSON ¶
func (t SeverityType) MarshalJSON() ([]byte, error)
func (SeverityType) String ¶
func (t SeverityType) String() string
func (*SeverityType) UnmarshalJSON ¶
func (t *SeverityType) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.