Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CVEBulkData ¶
type CVEData ¶
type CVEData struct {
CveID string `json:"cve_id,omitempty"`
CveDescription string `json:"cve_description,omitempty"`
Severity string `json:"severity,omitempty"`
CvssScore float64 `json:"cvss_score,omitempty"`
CvssMetrics *CvssMetrics `json:"cvss_metrics,omitempty"`
Weaknesses []struct {
CWEID string `json:"cwe_id"`
CWEName string `json:"cwe_name,omitempty"`
} `json:"weaknesses,omitempty"`
Epss struct {
Score float64 `json:"epss_score"`
Percentile float64 `json:"epss_percentile"`
} `json:"epss,omitempty"`
Cpe *OutputCpe `json:"cpe,omitempty"`
Reference []string `json:"reference,omitempty"`
Poc []struct {
URL string `json:"url"`
Source string `json:"source"`
AddedAt string `json:"added_at"`
} `json:"poc,omitempty"`
VendorAdvisory *string `json:"vendor_advisory,omitempty"`
Patch []string `json:"patch_url,omitempty"`
IsTemplate bool `json:"is_template"`
NucleiTemplates *NucleiTemplates `json:"nuclei_templates,omitempty"`
IsKev bool `json:"is_exploited"`
Kev *KevObject `json:"kev,omitempty"`
Assignee string `json:"assignee,omitempty"`
PublishedAt string `json:"published_at,omitempty"`
UpdatedAt string `json:"updated_at,omitempty"`
Hackerone struct {
Rank int `json:"rank"`
Count int `json:"count"`
} `json:"hackerone,omitempty"`
AgeInDays int `json:"age_in_days"`
VulnStatus string `json:"vuln_status,omitempty"`
IsPoc bool `json:"is_poc"`
IsRemote bool `json:"is_remote"`
IsOss bool `json:"is_oss"`
VulnerableCPE []string `json:"vulnerable_cpe,omitempty"`
Shodan *OutputShodanData `json:"shodan,omitempty"`
OSS *OSS `json:"oss,omitempty"`
}
type CustomTime ¶
func (*CustomTime) UnmarshalJSON ¶
func (ct *CustomTime) UnmarshalJSON(b []byte) error
type CvssMetrics ¶
type ErrorMessage ¶
type ErrorMessage struct {
Message string `json:"message"`
}
type NucleiTemplates ¶
type NucleiTemplates struct {
TemplateIssue string `json:"template_issue,omitempty"`
TemplateIssueType string `json:"template_issue_type,omitempty"`
TemplatePath string `json:"template_path,omitempty"`
TemplatePR string `json:"template_pr,omitempty"`
TemplateURL string `json:"template_url,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
type OSS ¶
type OSS struct {
AllLanguages map[string]int `json:"all_languages,omitempty"`
Description string `json:"description,omitempty"`
Forks int `json:"forks,omitempty"`
Language string `json:"language,omitempty"`
Stars int `json:"stars,omitempty"`
Subscribers int `json:"subscribers,omitempty"`
Topics []string `json:"topics,omitempty"`
PushedAt CustomTime `json:"pushed_at,omitempty"`
CreatedAt CustomTime `json:"created_at,omitempty"`
UpdatedAt CustomTime `json:"updated_at,omitempty"`
URL string `json:"url,omitempty"`
}
type OutputShodanData ¶
Click to show internal directories.
Click to hide internal directories.