Check EOL
This endpoint return whether an entity has reached End-of-Life (EOL) status.
curl --location --request POST 'https://edb-prod.xeol.io/eol/check' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data-raw '{
"component": {
"name": "Go",
"ecosystem": "generic",
"version": "1.15"
}
}'
{
"error": null,
"result": {
"componentName": "Go",
"ecosystem": "generic",
"version": {
"id": "cv_92UqG6FZu2uoxebKZs5bcEN8CFoqPGC6bx62kn4fzEwr",
"version": "1.15",
"componentId": "c_3qrajMUJoCZLzbYxCA6wxfo1W1nDPTLvr5PMJKuYiFks",
"releasedAt": "2020-08-11T00:00:00.000Z",
"createdAt": "2024-03-15T17:00:19.685Z",
"updatedAt": "2024-03-15T17:00:19.685Z"
},
"eol": {
"now": {
"primary": {
"reason": "vendor_announced",
"date": "2021-08-16T00:00:00.000Z",
"supportLevel": "STANDARD_SUPPORT",
"isDefault": true
},
"other": []
},
"future": null
},
"lifecycles": [{
"id": "life_Hukr1PH1ir9XMmDomzZ4j1hAurbWnJfTr4Hs6i4XZtkJ",
"eolAt": "2021-08-16T00:00:00.000Z",
"componentId": "c_3qrajMUJoCZLzbYxCA6wxfo1W1nDPTLvr5PMJKuYiFks",
"range": "~1.15",
"supportLevel": "STANDARD_SUPPORT",
"isDefault": true,
"uri": null,
"eolField": "eolAt",
"isEol": null,
"componentVersionId": "cv_92UqG6FZu2uoxebKZs5bcEN8CFoqPGC6bx62kn4fzEwr",
"lifecycleId": "life_Hukr1PH1ir9XMmDomzZ4j1hAurbWnJfTr4Hs6i4XZtkJ"
}],
"registry": null
}
}
Body
The field takes a support ID to match against. If not provided, it will default to STANDARD_SUPPORT
which is the base level
of support for any entity.
STANDARD_SUPPORT
is defined as the base support level in which security updates are provided for the entity.
Response
Whether the matched entity is end-of-life.
The reason the entity was marked as deprecated. Can be one of VENDOR_ANNOUNCED, REGISTRY_DEPRECATED, or SOURCE_ARCHIVED.
The end-of-life date for the matched entity.
Whether the entity support was found.
Evidence supporting the eol status.
Schema version
Unique identifier
Last modified date
Published date
Matched entity info.
Whether the matched entity has Long Term Support
Name of the matched entity
Release date of the matched entity
Type of the matched entity. Will be one of: service
, device
, software
, package
, os
.
Vendor of the matched entity
Version of the matched entity
curl --location --request POST 'https://edb-prod.xeol.io/eol/check' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data-raw '{
"component": {
"name": "Go",
"ecosystem": "generic",
"version": "1.15"
}
}'
{
"error": null,
"result": {
"componentName": "Go",
"ecosystem": "generic",
"version": {
"id": "cv_92UqG6FZu2uoxebKZs5bcEN8CFoqPGC6bx62kn4fzEwr",
"version": "1.15",
"componentId": "c_3qrajMUJoCZLzbYxCA6wxfo1W1nDPTLvr5PMJKuYiFks",
"releasedAt": "2020-08-11T00:00:00.000Z",
"createdAt": "2024-03-15T17:00:19.685Z",
"updatedAt": "2024-03-15T17:00:19.685Z"
},
"eol": {
"now": {
"primary": {
"reason": "vendor_announced",
"date": "2021-08-16T00:00:00.000Z",
"supportLevel": "STANDARD_SUPPORT",
"isDefault": true
},
"other": []
},
"future": null
},
"lifecycles": [{
"id": "life_Hukr1PH1ir9XMmDomzZ4j1hAurbWnJfTr4Hs6i4XZtkJ",
"eolAt": "2021-08-16T00:00:00.000Z",
"componentId": "c_3qrajMUJoCZLzbYxCA6wxfo1W1nDPTLvr5PMJKuYiFks",
"range": "~1.15",
"supportLevel": "STANDARD_SUPPORT",
"isDefault": true,
"uri": null,
"eolField": "eolAt",
"isEol": null,
"componentVersionId": "cv_92UqG6FZu2uoxebKZs5bcEN8CFoqPGC6bx62kn4fzEwr",
"lifecycleId": "life_Hukr1PH1ir9XMmDomzZ4j1hAurbWnJfTr4Hs6i4XZtkJ"
}],
"registry": null
}
}
curl --location --request POST 'https://edb-prod.xeol.io/eol/check' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data-raw '{
"component": {
"name": "Go",
"ecosystem": "generic",
"version": "1.15"
}
}'
{
"error": null,
"result": {
"componentName": "Go",
"ecosystem": "generic",
"version": {
"id": "cv_92UqG6FZu2uoxebKZs5bcEN8CFoqPGC6bx62kn4fzEwr",
"version": "1.15",
"componentId": "c_3qrajMUJoCZLzbYxCA6wxfo1W1nDPTLvr5PMJKuYiFks",
"releasedAt": "2020-08-11T00:00:00.000Z",
"createdAt": "2024-03-15T17:00:19.685Z",
"updatedAt": "2024-03-15T17:00:19.685Z"
},
"eol": {
"now": {
"primary": {
"reason": "vendor_announced",
"date": "2021-08-16T00:00:00.000Z",
"supportLevel": "STANDARD_SUPPORT",
"isDefault": true
},
"other": []
},
"future": null
},
"lifecycles": [{
"id": "life_Hukr1PH1ir9XMmDomzZ4j1hAurbWnJfTr4Hs6i4XZtkJ",
"eolAt": "2021-08-16T00:00:00.000Z",
"componentId": "c_3qrajMUJoCZLzbYxCA6wxfo1W1nDPTLvr5PMJKuYiFks",
"range": "~1.15",
"supportLevel": "STANDARD_SUPPORT",
"isDefault": true,
"uri": null,
"eolField": "eolAt",
"isEol": null,
"componentVersionId": "cv_92UqG6FZu2uoxebKZs5bcEN8CFoqPGC6bx62kn4fzEwr",
"lifecycleId": "life_Hukr1PH1ir9XMmDomzZ4j1hAurbWnJfTr4Hs6i4XZtkJ"
}],
"registry": null
}
}