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/orgs/{orgUuid}/projects/{projectUuid}/scans/{scanUuid}/tags
{ "key": "Tag Key A", "value": "Tag Value A" }
{ "supportToken": "1171c60d", "response": { "key": "commit", "value": "123abc", "displayName": "commit:123abc", "createdAt": "2019-08-24T14:15:22Z" } }
https://baseUrl/api/v3.0/orgs/{orgUuid}/projects/{projectUuid}/scans/{scanUuid}
No request payload
{ "supportToken": "1171c60d", "response": { "uuid": "string", "name": "string", "engine": "UNIFIED", "status": "RUNNING", "projectId": 0, "productId": 0, "domainId": 0, "projectUuid": "string", "processUuid": "string", "hasViolations": true, "startTime": "2019-08-24T14:15:22Z", "endTime": "2019-08-24T14:15:22Z", "lastModified": "2019-08-24T14:15:22Z", "configurationName": "string" } }
https://baseUrl/api/v3.0/orgs/{orgUuid}/projects/{projectUuid}/scans/{scanUuid}
{ "status": "PLACE_HOLDER_01" }
{ "supportToken": "1171c60d", "response": { "uuid": "string", "name": "string", "engine": "UNIFIED", "status": "RUNNING", "projectId": 0, "productId": 0, "domainId": 0, "projectUuid": "string", "processUuid": "string", "hasViolations": true, "startTime": "2019-08-24T14:15:22Z", "endTime": "2019-08-24T14:15:22Z", "lastModified": "2019-08-24T14:15:22Z", "configurationName": "string" } }
https://baseUrl/api/v3.0/orgs/{orgUuid}/projects/{projectUuid}/scans/{scanUuid}/summary
No request payload
{ "supportToken": "1171c60d", "response": { "uuid": "string", "name": "string", "processUuid": "string", "scanTime": "2019-08-24T14:15:22Z", "scanStatus": "string", "engine": "UNIFIED", "scanDuration": "string", "projectName": "string", "projectUuid": "string", "tags": [ … ], "applicationName": "string", "applicationUuid": "string", "statistics": { … } } }
https://baseUrl/api/v3.0/orgs/{orgUuid}/projects/{projectUuid}/scans
No request payload
{ "additionalData": { "totalItems": "422", "next": "http://someUrl?cursor=3", "cursor": 3 }, "supportToken": "1171c60d", "response": [ { … } ] }