Mend API (3.0)
Mend's enhanced API enables automation of workflows in a REST compliant format. The API features:
- Access for any user with Mend credentials, via a user key available in the user's profile page in the Mend Platform.
- Improved security with a JWT token per organization, which expires every 30 minutes.
- Added scalability with support for cursor pagination and limiting results size.
- Broader functionality available programmatically.
- New standard API documentation for easy navigation and search.
If you have a dedicated instance of Mend, contact your Mend representative to access this API on your instance.
- Generated server url
https://baseUrl/api/v3.0/projects/{projectUuid}/scans/{scanUuid}/code/findings
- Payload
- cURL
- JS
- Go
- Ruby
- Java 8
No request payload
Response
application/json
{ "additionalData": { "cursor": 1, "next": "https://domain.com/api/v3.0/resources?cursor=1" }, "response": [ { … } ], "supportToken": "string" }
- Generated server url
https://baseUrl/api/v3.0/projects/{projectUuid}/scans/{scanUuid}/code/findings/{findingUuid}
- Payload
- cURL
- JS
- Go
- Ruby
- Java 8
No request payload
Response
application/json
{ "additionalData": {}, "response": { "ageRating": 0, "almIssues": { … }, "appId": "string", "baseline": true, "comments": [ … ], "confidenceRating": 0, "correlatedDastFindingUuids": [ … ], "createdTime": "string", "dataFlows": [ … ], "description": "string", "hasRemediation": true, "id": "string", "isNew": true, "issueStatus": 0, "projectId": "string", "rating": 0, "refId": "string", "reviewed": true, "riskFactors": { … }, "scanId": "string", "severity": "string", "severityRating": 0, "sharedStep": { … }, "snapshotId": "string", "suppressed": true, "suppressedBy": "string", "suppressionMessage": "string", "suppressionTime": "string", "type": { … }, "workflowViolations": [ … ], "workflowViolationsCount": 0 }, "supportToken": "string" }
- Generated server url
https://baseUrl/api/v3.0/projects/{projectuuid}/scans/{scanuuid}/images/findings/secrets
- Payload
- cURL
- JS
- Go
- Ruby
- Java 8
No request payload
- Generated server url
https://baseUrl/api/v3.0/projects/{projectuuid}/scans/{scanuuid}/images/findings/security
- Payload
- cURL
- JS
- Go
- Ruby
- Java 8
No request payload
Response
application/json
{ "additionalData": { "error": "string", "paging": { … }, "totalItems": 100 }, "response": [ { … } ], "supportToken": "659C0A4730" }
- Generated server url
https://baseUrl/api/v3.0/projects/{projectuuid}/scans/{scanuuid}/images/packages
- Payload
- cURL
- JS
- Go
- Ruby
- Java 8
No request payload
Response
application/json
{ "additionalData": { "error": "string", "paging": { … }, "totalItems": 100 }, "response": [ { … } ], "supportToken": "659C0A4730" }