get
https://api.socket.dev/v0/orgs//export/cdx/
Export the packages of a full scan as a CycloneDX SBOM
Packages of every ecosystem are exported. A package without a name, a version or a valid package URL is left out.
Vulnerabilities, with "include_vulnerabilities=true":
- Advisories: an advisory is listed with the components it affects.
- Reachability: when the scan has a reachability result for a component, "analysis" reports it. Unreachable code is "not_affected" with justification "code_not_reachable", reachable code is "exploitable", with a call path in "analysis.detail" when one was recorded, and a result without a conclusion is "in_triage". A component analysed in several workspaces is reachable if any of them reaches the code, and unreachable only if all of them find it so. Components of one advisory with different results are listed in separate entries, and components with no result share an entry with no "analysis".
- Applied Socket patches: an advisory fixed by the applied patch gets an entry of its own with "analysis.state" set to "resolved_with_pedigree". Its "analysis.detail" names the patch and, when the scan has one, gives the reachability result.
Applied Socket patches:
- Components: a package with an applied Socket patch carries a "pedigree.patches" entry that links the patch and lists the advisories it resolves, plus a "socket:patch:uuid" property. The component purl stays the upstream purl. Its "supplier" is Socket Inc and its "publisher" stays the original author.
This endpoint consumes 1 unit of your quota.
This endpoint requires the following org token scopes:
- report:read
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…