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
Headers
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
GET <BINARLY_API_URL>/api/v4/products/{productId}/images/{imageId}/scans/{scanId}/components
| Parameter | Required | Description |
|---|---|---|
productId | ✅ | Product ID |
imageId | ✅ | Image ID |
scanId | ✅ | Scan ID |
| Header | Value |
|---|---|
Authorization | Bearer <access_token> |
curl -s \
-H "Authorization: Bearer ${TOKEN}" \
"${BINARLY_API_URL}/api/v4/products/${BINARLY_PRODUCT_ID}/images/${IMAGE_ID}/scans/${SCAN_ID}/components"
{
"components": [
{
"name": "OpenSSL",
"version": "1.1.1g",
"cpe": "cpe:2.3:a:openssl:openssl:1.1.1g:*:*:*:*:*:*:*"
}
]
}
| Field | Description |
|---|---|
name | Component name |
version | Detected version (optional) |
cpe | Common Platform Enumeration string (optional) |
Was this page helpful?