Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Advisory ¶ added in v0.1.4
type Advisory struct {
AdvisoryIdentifier string `json:"advisory_identifier"`
AggregateSeverity string `json:"aggregate_severity"`
Criticality int64 `json:"criticality"`
CriticalityDescription string `json:"criticality_description"`
CveStrList string `json:"cve_str_list"`
Cvss3Info *Cvss3Info `json:"cvss3_info"`
CvssInfo *CvssInfo `json:"cvss_info"`
Description string `json:"description"`
FlexeraID int64 `json:"id"`
Impact []*Impact `json:"impact"`
IsZeroDay bool `json:"is_zero_day"`
ModifiedDate string `json:"modified_date"`
Products []*Product `json:"products"`
References []*AdvisoryReference `json:"references"`
Released string `json:"released"`
Revisions []*Revision `json:"revisions"`
Solution string `json:"solution"`
SolutionStatus int64 `json:"solution_status"`
SolutionStatusDescription string `json:"solution_status_description"`
ThreatScore string `json:"threat_score"`
Title string `json:"title"`
Type int64 `json:"type"`
Vulnerabilities []*Vulnerability `json:"vulnerabilities"`
}
Advisory type
type AdvisoryListElement ¶ added in v0.1.4
type AdvisoryListElement struct {
ID int64 `json:"id"`
AdvisoryIdentifier string `json:"advisory_identifier"`
Released string `json:"released"`
Modified string `json:"modified_date"`
}
AdvisoryListElement type
type AdvisoryListResult ¶ added in v0.1.4
type AdvisoryListResult struct {
Count int `json:"count"`
Next string `json:"next"`
Previus string `json:"previous"`
Results []*AdvisoryListElement `json:"results"`
}
AdvisoryListResult type
type AdvisoryReference ¶ added in v0.1.4
type AdvisoryReference struct {
Description string `json:"description"`
InternalType int64 `json:"internal_type"`
Ordinal int64 `json:"ordinal"`
URL string `json:"url"`
}
AdvisoryReference type
type Cpe ¶ added in v0.1.4
type Cpe struct {
ModificationDate string `json:"modification_date"`
Name string `json:"name"`
NvdID string `json:"nvd_id"`
}
Cpe type
type CveInfoReference ¶
CveInfoReference type
type Cvss3Info ¶ added in v0.1.4
type Cvss3Info struct {
BaseScore float64 `json:"cvss_base_score"`
OverallScore float64 `json:"cvss_overall_score"`
Vector string `json:"cvss_vector"`
}
Cvss3Info type
type CvssInfo ¶ added in v0.1.4
type CvssInfo struct {
BaseScore float64 `json:"cvss_base_score"`
OverallScore float64 `json:"cvss_overall_score"`
Vector string `json:"cvss_vector"`
}
CvssInfo type
type Product ¶ added in v0.1.4
type Product struct {
Cpes []*Cpe `json:"cpes"`
HasCpe bool `json:"has_cpe"`
ID string `json:"id"`
IsOS bool `json:"is_os"`
Name string `json:"name"`
}
Product type
type Revision ¶ added in v0.1.4
type Revision struct {
Description string `json:"description"`
Number string `json:"number"`
ReleaseDate string `json:"release_date"`
}
Revision type
type Vulnerability ¶ added in v0.1.4
type Vulnerability struct {
Cve string `json:"cve"`
CveInfo *VulnerabilityCveInfo `json:"cve_info"`
Description string `json:"description"`
Ordinal int64 `json:"ordinal"`
Products []*Product `json:"products"`
Title string `json:"title"`
}
Vulnerability type
type VulnerabilityCveInfo ¶ added in v0.1.4
type VulnerabilityCveInfo struct {
Cvss3Score string `json:"cvss3_score"`
Cvss3Vector string `json:"cvss3_vector"`
CvssScore string `json:"cvss_score"`
CvssVector string `json:"cvss_vector"`
Description string `json:"description"`
Disclaimer string `json:"disclaimer"`
OptName string `json:"opt_name"`
OptType string `json:"opt_type"`
Reference string `json:"reference"`
References []*CveInfoReference `json:"references"`
Source string `json:"source"`
ThreatScore float64 `json:"threat_score"`
ThreatRules map[string]string `json:"threat_rules"`
UpdateFlag int64 `json:"update_flag"`
}
VulnerabilityCveInfo type
Click to show internal directories.
Click to hide internal directories.