Versions in this module Expand all Collapse all v1 v1.37.4 Apr 17, 2026 v1.37.3 Apr 16, 2026 v1.37.2 Apr 16, 2026 v1.37.1 Apr 15, 2026 v1.37.0 Apr 15, 2026 v1.36.0 Apr 15, 2026 v1.35.1 Apr 15, 2026 Changes in this version type Client + func (c *Client) EOLPackageVersion(ecosystem, packageName, version string) (*EOLReleaseResponse, error) v1.35.0 Apr 14, 2026 v1.34.0 Apr 12, 2026 Changes in this version + const Algorithm + const BaseBackoff + const DefaultAPIVersion + const DefaultBaseURL + const MaxRetries + const PaginatedEnumTTL + const Region + const Service + const StaticEnumTTL + const TokenExpiry + func LoadCredentials() (orgID, secretKey string, err error) + func LoadFullCredentials() (*auth.Credentials, error) + type CVEInfo struct + Data interface{} + type Client struct + APIKey string + APIVersion string + AuthMethod auth.AuthMethod + BaseURL string + Cache *cache.DiskCache + FallbackCreds *auth.Credentials + HTTPClient *http.Client + LastCacheStatus string + LastRateLimit *RateLimitInfo + NoCache bool + OrgID string + RefreshCache bool + SecretKey string + UsingFallback bool + func NewClient(orgID, secretKey string) *Client + func NewClientFromCredentials(creds *auth.Credentials) *Client + func (c *Client) CritLookup(provider, service, resourceType string) (*CritLookupResponse, error) + func (c *Client) DoRequest(method, path string, body interface{}) ([]byte, error) + func (c *Client) DoRequestCached(method, path string, body interface{}, ttl time.Duration) ([]byte, error) + func (c *Client) DoRequestMultipart(path, filePath, fileField string, fields map[string]string) ([]byte, error) + func (c *Client) DoRequestRawBody(method, path string, body []byte, contentType string) ([]byte, error) + func (c *Client) EOLProduct(product string) (*EOLProductResponse, error) + func (c *Client) EOLRelease(product, release string) (*EOLReleaseResponse, error) + func (c *Client) GetCVE(cveID string) (*CVEInfo, error) + func (c *Client) GetCVEFixes(identifier string) (map[string]interface{}, error) + func (c *Client) GetCVETimeline(identifier string, params TimelineParams) (map[string]interface{}, error) + func (c *Client) GetCVEsByDateRange(start, end string) (map[string]interface{}, error) + func (c *Client) GetEcosystemGroupPackage(ecosystem, group, artifact string) (map[string]interface{}, error) + func (c *Client) GetEcosystemPackage(ecosystem, pkg string) (map[string]interface{}, error) + func (c *Client) GetEcosystemPackageVersions(ecosystem, pkg string) (map[string]interface{}, error) + func (c *Client) GetEcosystems() ([]Ecosystem, error) + func (c *Client) GetExploitSources() (map[string]interface{}, error) + func (c *Client) GetExploitTypes() (map[string]interface{}, error) + func (c *Client) GetExploits(identifier string) (map[string]interface{}, error) + func (c *Client) GetFixDistributions() (map[string]interface{}, error) + func (c *Client) GetGCVEIssuances(year, month, limit, offset int) (*GCVEIssuancesResponse, error) + func (c *Client) GetHealth() (map[string]interface{}, error) + func (c *Client) GetIdentifiersByMonth(year, month, limit, offset int) (*IdentifiersMonthResponse, error) + func (c *Client) GetMetricTypes() (map[string]interface{}, error) + func (c *Client) GetOpenAPISpec() (map[string]interface{}, error) + func (c *Client) GetPackageVersions(packageName string) (map[string]interface{}, error) + func (c *Client) GetPackageVulnerabilities(packageName string, limit, offset int) (*VulnerabilitiesResponse, error) + func (c *Client) GetProductVersion(productName, version string) (map[string]interface{}, error) + func (c *Client) GetProductVersionEcosystem(productName, version, ecosystem string) (map[string]interface{}, error) + func (c *Client) GetProductVersions(productName string, limit, offset int) (*ProductVersionsResponse, error) + func (c *Client) GetSources() (map[string]interface{}, error) + func (c *Client) GetSummary() (map[string]interface{}, error) + func (c *Client) GetToken() (string, error) + func (c *Client) GetTrafficFilters(identifier string, limit, offset int) (map[string]interface{}, error) + func (c *Client) SearchExploits(params ExploitSearchParams) (map[string]interface{}, error) + func (c *Client) SearchIdentifiers(prefix string, limit, offset int) (*IdentifiersSearchResponse, error) + func (c *Client) SearchPackages(query, ecosystem string, limit, offset int) (map[string]interface{}, error) + func (c *Client) V2Advisories(id string) (map[string]interface{}, error) + func (c *Client) V2Affected(id string, p V2QueryParams) (map[string]interface{}, error) + func (c *Client) V2CloudLocators(vendor, product string) (map[string]interface{}, error) + func (c *Client) V2CweGuidance(id string) (map[string]interface{}, error) + func (c *Client) V2DistributionPatches(id string, p V2QueryParams) (map[string]interface{}, error) + func (c *Client) V2Kev(id string) (map[string]interface{}, error) + func (c *Client) V2RegistryFixes(id string, p V2QueryParams) (map[string]interface{}, error) + func (c *Client) V2RemediationPlan(id string, p V2RemediationParams) (map[string]interface{}, error) + func (c *Client) V2ScanCycloneDX(filePath string, metadata ...[]byte) (map[string]interface{}, error) + func (c *Client) V2ScanManifest(filePath, manifestType, ecosystem string, metadata ...[]byte) (map[string]interface{}, error) + func (c *Client) V2ScanSPDX(filePath string, metadata ...[]byte) (map[string]interface{}, error) + func (c *Client) V2ScanStatus(scanID string) (map[string]interface{}, error) + func (c *Client) V2Scorecard(id string) (map[string]interface{}, error) + func (c *Client) V2ScorecardSearch(query string) (map[string]interface{}, error) + func (c *Client) V2SourceFixes(id string, p ...V2QueryParams) (map[string]interface{}, error) + func (c *Client) V2Timeline(id string, p V2TimelineParams) (map[string]interface{}, error) + func (c *Client) V2Workarounds(id string) (map[string]interface{}, error) + type CritLookupExploits struct + Count int + Sources []string + type CritLookupKev struct + DateAdded string + DueDate string + KnownRansomwareCampaignUse string + RequiredAction string + type CritLookupMatch struct + Aliases []string + Crit CritRecord + ExploitSummary *CritLookupExploits + Kev *CritLookupKev + SnortRules []CritLookupSnortRule + VulnID string + type CritLookupResponse struct + Count int + Matches []CritLookupMatch + type CritLookupSnortRule struct + Msg string + RawText string + SignatureSeverity string + SnortID string + type CritRecord struct + Provider string + ResourceType string + Service string + SharedResponsibility string + VectorString string + VexStatus string + VulnID string + type EOLProductDetail struct + Category string + Label string + Name string + Tags []string + type EOLProductResponse struct + Product EOLProductDetail + Releases []EOLReleaseDetail + Timestamp int64 + type EOLReleaseDetail struct + Codename *string + DiscontinuedFrom *string + EoasFrom *string + EoesFrom *string + EolFrom *string + IsDiscontinued *bool + IsEoas bool + IsEoes *bool + IsEol bool + IsLts bool + IsMaintained bool + Label string + LatestDate *string + LatestVersion *string + LtsFrom *string + Name string + ReleaseDate *string + type EOLReleaseResponse struct + ProductName string + Release EOLReleaseDetail + Timestamp int64 + type Ecosystem struct + Count int + Name string + type EcosystemsResponse struct + Ecosystems []Ecosystem + Timestamp int64 + type ErrorResponse struct + Details string + Error string + Success bool + type ExploitSearchParams struct + Ecosystem string + InKev string + Limit int + MinEpss string + Offset int + Query string + Severity string + Sort string + Source string + type GCVEIssuanceIdentifier struct + CveID string + DatePublished int64 + GcveID string + type GCVEIssuancesResponse struct + HasMore bool + Identifiers []GCVEIssuanceIdentifier + Limit int + Month int + Offset int + Timestamp int64 + Total int + Year int + type IdentifiersMonthResponse struct + HasMore bool + Identifiers []string + Limit int + Month int + Offset int + Timestamp int64 + Total int + Year int + type IdentifiersSearchResponse struct + HasMore bool + Identifiers []string + Limit int + Offset int + Prefix string + Timestamp int64 + Total int + type NotFoundError struct + Message string + func (e *NotFoundError) Error() string + type ProductVersionsResponse struct + HasMore bool + Limit int + Offset int + PackageName string + Timestamp int64 + Total int + Versions []VersionRecord + type RateLimitInfo struct + DayLimit int + Plan string + Present bool + Remaining int + Reset int + SoftLimits bool + type TimelineParams struct + Dates string + Exclude string + Include string + ScoresLimit int + type TokenCache struct + ExpiresAt time.Time + Token string + type TokenResponse struct + Exp int64 + Iss string + Sub string + Token string + type V2QueryParams struct + Distro string + Ecosystem string + Limit int + Offset int + PackageName string + Product string + Purl string + Vendor string + type V2RemediationParams struct + ContainerImage string + CurrentVersion string + IncludeGuidance bool + IncludeVerificationSteps bool + OS string + PackageManager string + Registry string + type V2TimelineParams struct + Dates string + Exclude string + Include string + ScoresLimit int + type VersionRecord struct + CVEIDs []string + Ecosystem string + Sources []VersionSource + Version string + type VersionSource struct + Metadata map[string]interface{} + SourceID string + SourceTable string + type VulnerabilitiesResponse struct + HasMore bool + Limit int + Offset int + PackageName string + RawData interface{} + Timestamp int64 + Total int + TotalCVEs int + Versions []VersionRecord + Vulnerabilities []VersionRecord Other modules containing this package github.com/vulnetix/cli/v3