Edit a Component
Find the component ID
curl https://api.interlynk.io/lynkapi \
-H "Authorization: Bearer $INTERLYNK_SECURITY_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"query": "query Components($sbomId: Uuid!) { sbom(projectId: \"1fade833-0603-4139-8ca0-26592264a4c9\", sbomId: $sbomId) { components(sbomId: $sbomId, first: 25) { totalCount nodes { id name version purl copyright licensesExp } } } }",
"variables": { "sbomId": "4e423fe0-d089-4025-b1e4-8fe9608138d6" }
}'{
"data": {
"sbom": {
"components": {
"totalCount": 88,
"nodes": [
{
"id": "10ad56c1-2b33-49c0-9822-cfcb54be40f4",
"name": "jackson-core",
"version": "2.15.2",
"purl": "pkg:maven/com.fasterxml.jackson.core/[email protected]?type=jar",
"copyright": null,
"licensesExp": "Apache-2.0"
}
]
}
}
}
}Update the component
Editable fields
Input
Type
Description
Setting a license
Set a component supplier
Errors
Message
Cause
Last updated