SCA API 2.0
/- Get Library Version Vulnerability Trends
Get Library Notices
Set Library Notice
Assign Library License
Set Library Copyright
Revert Library User Copyrights
Get Organization In-House Libraries
Mark/Unmark Library As In-House
Get Library Versions
Get Library Projects In Organization
Get Library Details
Remove Library License References
Revert Library User Licenses
Get Library Version Vulne...
Returns the trend of the number of vulnerabilities in a library over past versions. Define the scope of the trend with the parameters 'before' denoting the number of versions before the current version, and 'after'. Does not support generic library types like Debian, RPM and Ruby
Security
bearer-key
GET
curl -i -X GET \
'https://api-saas.mend.io/api/v2.0/orgs/{orgToken}/libraries/{libraryUuid}/vulnerabilityTrends?startVersion=&before=0&after=0' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Response
{ "supportToken": "1171c60d", "retVal": { "trends": [ … ] } }