Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client interface {
ListCVES(ctx context.Context, req *ListCVESReq) (*ListCVESRes, error)
}
type ListCVESReq ¶
type ListCVESReq struct { ResultsPerPage int `url:"resultsPerPage"` StartIndex int `url:"startIndex"` CPEName *string `url:"cpeName,omitempty"` LastModStartDate *string `url:"lastModStartDate,omitempty"` LastModEndDate *string `url:"lastModEndDate,omitempty"` PubStartDate *string `url:"pubStartDate,omitempty"` PubEndDate *string `url:"pubEndDate,omitempty"` VirtualMatchString *string `url:"virtualMatchString,omitempty"` CVEID *string `url:"cveId,omitempty"` CVSSV3Metrics *string `url:"cvssV3Metrics,omitempty"` CVSSV3Severity *string `url:"cvssV3Severity,omitempty"` CWEID *string `url:"cweId,omitempty"` HasCertAlerts BoolValue `url:"hasCertAlerts,omitempty"` HasCertNotes BoolValue `url:"hasCertNotes,omitempty"` HasKev BoolValue `url:"hasKev,omitempty"` IsVulnerable BoolValue `url:"isVulnerable,omitempty"` NoRejected BoolValue `url:"noRejected,omitempty"` KeywordSearch *string `url:"keywordSearch,omitempty"` KeywordExactMatch BoolValue `url:"keywordExactMatch,omitempty"` SourceIdentifier *string `url:"sourceIdentifier,omitempty"` }
Click to show internal directories.
Click to hide internal directories.