Mend's enhanced API enables automation of workflows in a REST compliant format. The API features:
If you have a dedicated instance of Mend, contact your Mend representative to access this API on your instance.
https://baseUrl/api/v3.0/projects/{projectUuid}/images/reports/SBOM
{ "uuid": "string", "name": "string", "scopeUuid": "string", "scopeName": "string", "subScopes": [ { … } ], "title": "string", "reportType": "attribution", "format": "json", "scopeType": "organization", "scopeUuidList": [ "string" ], "projectUuids": [ "string" ], "status": "PENDING", "createdBy": "string", "createdAt": "2019-08-24T14:15:22Z", "sendEmailNotification": true, "labelsUuidList": [ "string" ] }
{ "supportToken": "1171c60d", "response": { "uuid": "string", "name": "string", "scopeUuid": "string", "scopeName": "string", "subScopes": [ … ], "title": "string", "reportType": "attribution", "format": "json", "scopeType": "organization", "scopeUuidList": [ … ], "projectUuids": [ … ], "status": "PENDING", "createdBy": "string", "createdAt": "2019-08-24T14:15:22Z", "sendEmailNotification": true, "labelsUuidList": [ … ] } }
https://baseUrl/api/v3.0/projects/{projectUuid}/code/reports/suppressions
{ "name": "string", "format": "json", "sendEmailNotification": true, "labelsUuidList": [ "string" ], "additionalParams": { "property1": [ … ], "property2": [ … ] } }
{ "supportToken": "1171c60d", "response": { "uuid": "string", "name": "string", "scopeUuid": "string", "scopeName": "string", "subScopes": [ … ], "title": "string", "reportType": "attribution", "format": "json", "scopeType": "organization", "scopeUuidList": [ … ], "projectUuids": [ … ], "status": "PENDING", "createdBy": "string", "createdAt": "2019-08-24T14:15:22Z", "sendEmailNotification": true, "labelsUuidList": [ … ] } }
https://baseUrl/api/v3.0/projects/{projectUuid}/code/reports/findings
{ "name": "string", "format": "json", "sendEmailNotification": true, "labelsUuidList": [ "string" ], "additionalParams": { "property1": [ … ], "property2": [ … ] } }
{ "supportToken": "1171c60d", "response": { "uuid": "string", "name": "string", "scopeUuid": "string", "scopeName": "string", "subScopes": [ … ], "title": "string", "reportType": "attribution", "format": "json", "scopeType": "organization", "scopeUuidList": [ … ], "projectUuids": [ … ], "status": "PENDING", "createdBy": "string", "createdAt": "2019-08-24T14:15:22Z", "sendEmailNotification": true, "labelsUuidList": [ … ] } }