Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.binarly.io/llms.txt

Use this file to discover all available pages before exploring further.

List all software components (SBOM inventory) identified during the scan.

When to Use This Endpoint

Use this endpoint to:
  • Retrieve a raw list of detected components for inventory management.
  • Verify if a specific library version exists in your binary file.

Request

Endpoint
GET <BINARLY_API_URL>/api/v4/products/{productId}/images/{imageId}/scans/{scanId}/components
Path Parameters
ParameterRequiredDescription
productIdProduct ID
imageIdImage ID
scanIdScan ID
Headers
HeaderValue
AuthorizationBearer <access_token>

Example Request

curl -s \
  -H "Authorization: Bearer ${TOKEN}" \
  "${BINARLY_API_URL}/api/v4/products/${BINARLY_PRODUCT_ID}/images/${IMAGE_ID}/scans/${SCAN_ID}/components"

Response

{
  "components": [
    {
      "name": "OpenSSL",
      "version": "1.1.1g",
      "cpe": "cpe:2.3:a:openssl:openssl:1.1.1g:*:*:*:*:*:*:*"
    }
  ]
}
FieldDescription
nameComponent name
versionDetected version (optional)
cpeCommon Platform Enumeration string (optional)