Skip to main content
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
productId✅Product ID
imageId✅Image ID
scanId✅Scan 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)