{"components":{"schemas":{"advisory.ADPContainer":{"properties":{"affected":{"items":{"$ref":"#/components/schemas/advisory.MAffected"},"type":"array","uniqueItems":false},"configurations":{"items":{"$ref":"#/components/schemas/advisory.MDescriptions"},"type":"array","uniqueItems":false},"cpeApplicability":{"items":{"$ref":"#/components/schemas/advisory.CustomCPE"},"type":"array","uniqueItems":false},"credits":{"items":{"$ref":"#/components/schemas/advisory.Credit"},"type":"array","uniqueItems":false},"datePublic":{"type":"string"},"descriptions":{"items":{"$ref":"#/components/schemas/advisory.MDescriptions"},"type":"array","uniqueItems":false},"exploits":{"items":{"$ref":"#/components/schemas/advisory.MDescriptions"},"type":"array","uniqueItems":false},"impacts":{"items":{"$ref":"#/components/schemas/advisory.Impact"},"type":"array","uniqueItems":false},"metrics":{"items":{"$ref":"#/components/schemas/advisory.Metric"},"type":"array","uniqueItems":false},"problemTypes":{"items":{"$ref":"#/components/schemas/advisory.MProblemTypes"},"type":"array","uniqueItems":false},"providerMetadata":{"$ref":"#/components/schemas/advisory.MProviderMetadata"},"references":{"items":{"$ref":"#/components/schemas/advisory.MReference"},"type":"array","uniqueItems":false},"solutions":{"items":{"$ref":"#/components/schemas/advisory.MDescriptions"},"type":"array","uniqueItems":false},"source":{"type":"object"},"tags":{"items":{"type":"string"},"type":"array","uniqueItems":false},"taxonomyMappings":{"items":{"$ref":"#/components/schemas/advisory.TaxonomyMapping"},"type":"array","uniqueItems":false},"timeline":{"items":{"$ref":"#/components/schemas/advisory.Timeline"},"type":"array","uniqueItems":false},"title":{"type":"string"},"workarounds":{"items":{"$ref":"#/components/schemas/advisory.MDescriptions"},"type":"array","uniqueItems":false}},"type":"object"},"advisory.Credit":{"properties":{"lang":{"type":"string"},"type":{"type":"string"},"user":{"type":"string"},"value":{"type":"string"}},"type":"object"},"advisory.CustomCPE":{"properties":{"mcpeapplicability":{"$ref":"#/components/schemas/advisory.MCPEApplicability"},"stringValue":{"type":"string"}},"type":"object"},"advisory.Impact":{"properties":{"capecId":{"type":"string"},"descriptions":{"items":{"$ref":"#/components/schemas/advisory.MDescriptions"},"type":"array","uniqueItems":false}},"type":"object"},"advisory.MAffected":{"properties":{"collectionURL":{"type":"string"},"cpes":{"items":{"type":"string"},"type":"array","uniqueItems":false},"defaultStatus":{"type":"string"},"modules":{"items":{"type":"string"},"type":"array","uniqueItems":false},"packageName":{"type":"string"},"packageURL":{"type":"string"},"platforms":{"items":{"type":"string"},"type":"array","uniqueItems":false},"product":{"type":"string"},"programFiles":{"items":{"type":"string"},"type":"array","uniqueItems":false},"programRoutines":{"items":{"$ref":"#/components/schemas/advisory.ProgramRoutine"},"type":"array","uniqueItems":false},"repo":{"type":"string"},"vendor":{"type":"string"},"versions":{"items":{"$ref":"#/components/schemas/advisory.MVersion"},"type":"array","uniqueItems":false}},"type":"object"},"advisory.MCPEApplicability":{"properties":{"negate":{"type":"boolean"},"nodes":{"items":{"$ref":"#/components/schemas/advisory.MNodes"},"type":"array","uniqueItems":false},"operator":{"type":"string"}},"type":"object"},"advisory.MCPEMatch":{"properties":{"criteria":{"type":"string"},"matchCriteriaId":{"type":"string"},"versionEndExcluding":{"type":"string"},"versionEndIncluding":{"type":"string"},"versionStartExcluding":{"type":"string"},"versionStartIncluding":{"type":"string"},"vulnerable":{"type":"boolean"}},"type":"object"},"advisory.MCna":{"properties":{"affected":{"items":{"$ref":"#/components/schemas/advisory.MAffected"},"type":"array","uniqueItems":false},"configurations":{"items":{"$ref":"#/components/schemas/advisory.MDescriptions"},"type":"array","uniqueItems":false},"cpeApplicability":{"items":{"$ref":"#/components/schemas/advisory.CustomCPE"},"type":"array","uniqueItems":false},"credits":{"items":{"$ref":"#/components/schemas/advisory.Credit"},"type":"array","uniqueItems":false},"dateAssigned":{"type":"string"},"datePublic":{"type":"string"},"descriptions":{"items":{"$ref":"#/components/schemas/advisory.MDescriptions"},"type":"array","uniqueItems":false},"exploits":{"items":{"$ref":"#/components/schemas/advisory.MDescriptions"},"type":"array","uniqueItems":false},"impacts":{"items":{"$ref":"#/components/schemas/advisory.Impact"},"type":"array","uniqueItems":false},"metrics":{"items":{"$ref":"#/components/schemas/advisory.Metric"},"type":"array","uniqueItems":false},"problemTypes":{"items":{"$ref":"#/components/schemas/advisory.MProblemTypes"},"type":"array","uniqueItems":false},"providerMetadata":{"$ref":"#/components/schemas/advisory.MProviderMetadata"},"references":{"items":{"$ref":"#/components/schemas/advisory.MReference"},"type":"array","uniqueItems":false},"rejectedReasons":{"description":"Fields below appear only on rejected records (cveMetadata.state == \"REJECTED\").","items":{"$ref":"#/components/schemas/advisory.MDescriptions"},"type":"array","uniqueItems":false},"replacedBy":{"items":{"type":"string"},"type":"array","uniqueItems":false},"solutions":{"items":{"$ref":"#/components/schemas/advisory.MDescriptions"},"type":"array","uniqueItems":false},"source":{"type":"object"},"tags":{"items":{"type":"string"},"type":"array","uniqueItems":false},"taxonomyMappings":{"items":{"$ref":"#/components/schemas/advisory.TaxonomyMapping"},"type":"array","uniqueItems":false},"timeline":{"items":{"$ref":"#/components/schemas/advisory.Timeline"},"type":"array","uniqueItems":false},"title":{"type":"string"},"workarounds":{"items":{"$ref":"#/components/schemas/advisory.MDescriptions"},"type":"array","uniqueItems":false}},"type":"object"},"advisory.MContainers":{"properties":{"adp":{"items":{"$ref":"#/components/schemas/advisory.ADPContainer"},"type":"array","uniqueItems":false},"cna":{"$ref":"#/components/schemas/advisory.MCna"}},"type":"object"},"advisory.MCveMetadata":{"properties":{"assignerOrgId":{"type":"string"},"assignerShortName":{"type":"string"},"cveId":{"type":"string"},"datePublished":{"type":"string"},"dateRejected":{"type":"string"},"dateReserved":{"type":"string"},"dateUpdated":{"type":"string"},"requesterUserId":{"type":"string"},"serial":{"type":"integer"},"state":{"type":"string"}},"type":"object"},"advisory.MCvssV20":{"properties":{"accessVector":{"type":"string"},"attackComplexity":{"type":"string"},"authentication":{"type":"string"},"availabilityImpact":{"type":"string"},"baseScore":{"type":"number"},"confidentialityImpact":{"type":"string"},"integrityImpact":{"type":"string"},"vectorString":{"type":"string"},"version":{"type":"string"}},"type":"object"},"advisory.MCvssV30":{"properties":{"attackComplexity":{"type":"string"},"attackVector":{"type":"string"},"availabilityImpact":{"type":"string"},"baseScore":{"type":"number"},"baseSeverity":{"type":"string"},"confidentialityImpact":{"type":"string"},"integrityImpact":{"type":"string"},"privilegesRequired":{"type":"string"},"scope":{"type":"string"},"userInteraction":{"type":"string"},"vectorString":{"type":"string"},"version":{"type":"string"}},"type":"object"},"advisory.MCvssV31":{"properties":{"attackComplexity":{"type":"string"},"attackVector":{"type":"string"},"availabilityImpact":{"type":"string"},"baseScore":{"type":"number"},"baseSeverity":{"type":"string"},"confidentialityImpact":{"type":"string"},"integrityImpact":{"type":"string"},"privilegesRequired":{"type":"string"},"scope":{"type":"string"},"userInteraction":{"type":"string"},"vectorString":{"type":"string"},"version":{"type":"string"}},"type":"object"},"advisory.MCvssV40":{"properties":{"attackComplexity":{"type":"string"},"attackRequirements":{"type":"string"},"attackVector":{"type":"string"},"automatable":{"type":"string"},"baseScore":{"type":"number"},"baseSeverity":{"type":"string"},"privilegesRequired":{"type":"string"},"providerUrgency":{"type":"string"},"recovery":{"type":"string"},"safety":{"type":"string"},"subAvailabilityImpact":{"type":"string"},"subConfidentialityImpact":{"type":"string"},"subIntegrityImpact":{"type":"string"},"userInteraction":{"type":"string"},"valueDensity":{"type":"string"},"vectorString":{"type":"string"},"version":{"type":"string"},"vulnAvailabilityImpact":{"type":"string"},"vulnConfidentialityImpact":{"type":"string"},"vulnIntegrityImpact":{"type":"string"},"vulnerabilityResponseEffort":{"type":"string"}},"type":"object"},"advisory.MDescriptions":{"properties":{"lang":{"type":"string"},"value":{"type":"string"}},"type":"object"},"advisory.MNodes":{"properties":{"cpeMatch":{"items":{"$ref":"#/components/schemas/advisory.MCPEMatch"},"type":"array","uniqueItems":false},"negate":{"type":"boolean"},"operator":{"type":"string"}},"type":"object"},"advisory.MProblemTypes":{"properties":{"descriptions":{"items":{"$ref":"#/components/schemas/advisory.PTMDescriptions"},"type":"array","uniqueItems":false}},"type":"object"},"advisory.MProviderMetadata":{"properties":{"dateUpdated":{"description":"FIXME: flip to time","type":"string"},"orgId":{"type":"string"},"shortName":{"type":"string"}},"type":"object"},"advisory.MReference":{"properties":{"name":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array","uniqueItems":false},"url":{"type":"string"}},"type":"object"},"advisory.MVersion":{"properties":{"changes":{"items":{"$ref":"#/components/schemas/advisory.VersionChange"},"type":"array","uniqueItems":false},"lessThan":{"type":"string"},"lessThanOrEqual":{"type":"string"},"status":{"type":"string"},"version":{"type":"string"},"versionType":{"type":"string"}},"type":"object"},"advisory.Metric":{"properties":{"cvssV2_0":{"$ref":"#/components/schemas/advisory.MCvssV20"},"cvssV3_0":{"$ref":"#/components/schemas/advisory.MCvssV30"},"cvssV3_1":{"$ref":"#/components/schemas/advisory.MCvssV31"},"cvssV4_0":{"$ref":"#/components/schemas/advisory.MCvssV40"},"format":{"type":"string"},"other":{"$ref":"#/components/schemas/advisory.MetricsOther"},"scenarios":{"items":{"$ref":"#/components/schemas/advisory.MetricScenario"},"type":"array","uniqueItems":false}},"type":"object"},"advisory.MetricScenario":{"properties":{"lang":{"type":"string"},"value":{"type":"string"}},"type":"object"},"advisory.MetricsOther":{"properties":{"content":{"type":"object"},"type":{"type":"string"}},"type":"object"},"advisory.MitreCVEListV5Ref":{"properties":{"containers":{"$ref":"#/components/schemas/advisory.MContainers"},"cveMetadata":{"$ref":"#/components/schemas/advisory.MCveMetadata"},"dataType":{"type":"string"},"dataVersion":{"type":"string"}},"type":"object"},"advisory.PTMDescriptions":{"properties":{"cweId":{"type":"string"},"description":{"type":"string"},"lang":{"type":"string"},"references":{"items":{"$ref":"#/components/schemas/advisory.MReference"},"type":"array","uniqueItems":false},"type":{"type":"string"}},"type":"object"},"advisory.ProgramRoutine":{"properties":{"name":{"type":"string"}},"type":"object"},"advisory.TaxonomyMapping":{"properties":{"taxonomyName":{"type":"string"},"taxonomyRelations":{"items":{"$ref":"#/components/schemas/advisory.TaxonomyRelation"},"type":"array","uniqueItems":false},"taxonomyVersion":{"type":"string"}},"type":"object"},"advisory.TaxonomyRelation":{"properties":{"relationshipName":{"type":"string"},"relationshipValue":{"type":"string"},"taxonomyId":{"type":"string"}},"type":"object"},"advisory.Timeline":{"properties":{"lang":{"type":"string"},"time":{"description":"FIXME: flip to time","type":"string"},"value":{"type":"string"}},"type":"object"},"advisory.VersionChange":{"properties":{"at":{"type":"string"},"status":{"type":"string"}},"type":"object"},"backup.BackupResponse":{"properties":{"available":{"type":"boolean"},"feed":{"type":"string"},"sha256":{"type":"string"},"url":{"type":"string"},"url_ap-southeast-2":{"type":"string"},"url_cloudfront":{"type":"string"},"url_eu-west-2":{"type":"string"},"url_expires":{"type":"string"},"url_ttl_minutes":{"type":"integer"},"url_us-east-1":{"type":"string"}},"type":"object"},"backup.FeedItem":{"properties":{"available":{"type":"boolean"},"backup_written_at":{"type":"string"},"href":{"type":"string"},"name":{"type":"string"}},"type":"object"},"backup.ListBackupsResponse":{"properties":{"data":{"items":{"$ref":"#/components/schemas/backup.FeedItem"},"type":"array","uniqueItems":false}},"type":"object"},"search.ErrorResponse":{"properties":{"error":{"type":"boolean"},"errors":{"items":{"type":"string"},"type":"array","uniqueItems":false}},"type":"object"},"search.V4AdvisoryMeta":{"properties":{"cursor":{"type":"string"},"filtered":{"type":"integer"},"limit":{"type":"integer"},"next_cursor":{"type":"string"},"page":{"type":"integer"},"pages":{"type":"integer"},"total":{"type":"integer"}},"type":"object"},"search.V4AdvisoryReturnValue":{"properties":{"_meta":{"$ref":"#/components/schemas/search.V4AdvisoryMeta"},"data":{"items":{"$ref":"#/components/schemas/advisory.MitreCVEListV5Ref"},"type":"array","uniqueItems":false}},"type":"object"},"search.V4FeedItem":{"properties":{"description":{"type":"string"},"href":{"type":"string"},"name":{"type":"string"}},"type":"object"},"search.V4ListFeedReturnValue":{"properties":{"data":{"items":{"$ref":"#/components/schemas/search.V4FeedItem"},"type":"array","uniqueItems":false}},"type":"object"}},"securitySchemes":{"Bearer":{"in":"header","name":"Authorization","type":"apiKey"}}},"externalDocs":{"description":"","url":""},"info":{"contact":{"email":"support@vulncheck.com","name":"VulnCheck API Support"},"description":"Version 4 of the VulnCheck API","termsOfService":"https://vulncheck.com/terms","title":"VulnCheck API","version":"4.0"},"openapi":"3.1.0","paths":{"/advisory":{"get":{"description":"Query the VulnCheck v4 advisory index. Only feeds your subscription includes are searched, and naming one it doesn't include returns 402.","operationId":"v4QueryAdvisories","parameters":[{"description":"Filter by advisory feed name (e.g. 'vulncheck')","in":"query","name":"name","schema":{"type":"string"}},{"description":"Filter by CVE ID (e.g. 'CVE-2024-1234')","in":"query","name":"cve_id","schema":{"type":"string"}},{"description":"Filter by vendor name","in":"query","name":"vendor","schema":{"type":"string"}},{"description":"Filter by product name","in":"query","name":"product","schema":{"type":"string"}},{"description":"Filter by OS/platform","in":"query","name":"platform","schema":{"type":"string"}},{"description":"Filter by product version (semver-aware)","in":"query","name":"version","schema":{"type":"string"}},{"description":"Filter by CPE (e.g. 'cpe:2.3:a:vendor:product:*')","in":"query","name":"cpe","schema":{"type":"string"}},{"description":"Filter by package name","in":"query","name":"package_name","schema":{"type":"string"}},{"description":"Filter by package URL (PURL)","in":"query","name":"purl","schema":{"type":"string"}},{"description":"Filter by reference URL","in":"query","name":"reference_url","schema":{"type":"string"}},{"description":"Filter by reference tag (e.g. 'patch', 'advisory')","in":"query","name":"reference_tag","schema":{"type":"string"}},{"description":"Filter by description language (e.g. 'en')","in":"query","name":"description_lang","schema":{"type":"string"}},{"description":"Return advisories updated after this date (RFC3339 or date-math e.g. 'now-30d')","in":"query","name":"updatedAfter","schema":{"type":"string"}},{"description":"Return advisories updated before this date (RFC3339 or date-math)","in":"query","name":"updatedBefore","schema":{"type":"string"}},{"description":"Page number (default: 1)","in":"query","name":"page","schema":{"type":"integer"}},{"description":"Results per page, max 100 (default: 10)","in":"query","name":"limit","schema":{"type":"integer"}},{"description":"Presence activates cursor mode from the first page (value is ignored; cannot be combined with page)","in":"query","name":"start_cursor","schema":{"type":"string"}},{"description":"Cursor from previous response _meta.next_cursor to fetch the next page","in":"query","name":"cursor","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/search.V4AdvisoryReturnValue"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/search.ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/search.ErrorResponse"}}},"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/search.ErrorResponse"}}},"description":"Payment Required"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/search.ErrorResponse"}}},"description":"Service Unavailable"}},"security":[{"Bearer":[]}],"summary":"Query advisories","tags":["advisory"]}},"/advisory/list":{"get":{"description":"Return the advisory feed names your subscription includes","operationId":"v4ListAdvisoryFeeds","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/search.V4ListFeedReturnValue"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/search.ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/search.ErrorResponse"}}},"description":"Unauthorized"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/search.ErrorResponse"}}},"description":"Payment Required"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/search.ErrorResponse"}}},"description":"Service Unavailable"}},"security":[{"Bearer":[]}],"summary":"List advisory feeds","tags":["advisory"]}},"/backup":{"get":{"description":"Returns the list of advisory feeds for which a backup can be requested","operationId":"v4ListBackups","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/backup.ListBackupsResponse"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"type":"string"}}},"description":"Unauthorized"},"503":{"content":{"application/json":{"schema":{"type":"string"}}},"description":"Service Unavailable"}},"security":[{"Bearer":[]}],"summary":"List available backups","tags":["backup"]}},"/backup/{index}":{"get":{"description":"Validates the feed, generates a fresh backup zip if the source parquet is newer, and returns a pre-signed download URL","operationId":"v4GetBackupByName","parameters":[{"description":"Feed name (e.g. 'vulncheck')","in":"path","name":"index","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/backup.BackupResponse"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"type":"string"}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"type":"string"}}},"description":"Not Found"},"503":{"content":{"application/json":{"schema":{"type":"string"}}},"description":"Service Unavailable"}},"security":[{"Bearer":[]}],"summary":"Get backup by feed name","tags":["backup"]}}},"servers":[{"description":"VulnCheck API v4","url":"/v4"}]}