Fix Plan
Fix plan request endpoints
Requests a fix plan for a given SBOM. The client should poll this endpoint until meta_data.overall_status becomes "available".
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
querystringRequiredExample:
Recommend a fix plansbom_idstringRequired
SBOM identifier captured from the projects API
Responses
200
Fix plan response returned
application/json
401
Unauthorized
post/api/v1/explain
POST /api/v1/explain HTTP/1.1
Host: lineaje-gpt-service.v2.prod.veedna.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 54
{
"query": "Recommend a fix plan",
"sbom_id": "<sbom_id>"
}{
"meta_data": {
"plan_details": [
{
"type": "premium",
"vuln_fixed": [
"CVE-2023-44487"
],
"efforts": "high",
"is_compatible": true
}
],
"overall_status": "available"
}
}Last updated