Mend SAST API (24.9.2.5)

Mend Static Application Security Testing Solution Web API

Download OpenAPI description
Overview
Mend Support support@mend.io
Languages
Servers
https://api-docs.mend.io/sast/

Applications

Operations

Configurations

Operations

Get Azure DevOps configuration

Request

Get Azure DevOps issue tracking configuration.

No request payload

Responses

OK

Bodyapplication/json
accessTokenstring
createdBystring
idstring
orgIdstring
serverUrlstring
Response
application/json
{ "accessToken": "string", "createdBy": "string", "id": "string", "orgId": "string", "serverUrl": "string" }

Create or update Azure DevOps configuration.

Request

Create or update Azure DevOps configuration to be used when submitting vulnerability issues.

Bodyapplication/jsonrequired

Azure DevOps configuration object

accessTokenstring
createdBystring
idstring
orgIdstring
serverUrlstring
application/json
{ "accessToken": "string", "createdBy": "string", "id": "string", "orgId": "string", "serverUrl": "string" }

Responses

OK

Bodyapplication/json
messagestring
Example: "Operation succeeded"
resultany
successboolean
Example: true
Response
application/json
{ "message": "Operation succeeded", "result": null, "success": true }

Get Azure DevOps triggers.

Request

Get a list of all Azure DevOps triggers.

No request payload

Responses

OK

Bodyapplication/jsonArray [
assignedAppsArray of objects(models.ApplicationEntry)
conditionobject(models.TriggerCondition)
createdBystring
descriptionstring
groupVisibilityArray of strings
idstring
itemTypestring
namestring
projectNamestring
]
Response
application/json
[ { "assignedApps": [], "condition": {}, "createdBy": "string", "description": "string", "groupVisibility": [], "id": "string", "itemType": "string", "name": "string", "projectName": "string" } ]

Create an Azure DevOps trigger configuration

Request

Create an Azure DevOps trigger configuration to be used when submitting vulnerability issues.

Bodyapplication/jsonrequired

Azure DevOps trigger to create

assignedAppsArray of objects(models.ApplicationEntry)
conditionobject(models.TriggerCondition)
createdBystring
descriptionstring
groupVisibilityArray of strings
idstring
itemTypestring
namestring
projectNamestring
application/json
{ "assignedApps": [ {} ], "condition": { "findingsRating": true, "findingsRatingTrigger": 0, "highRiskCount": true, "highRiskCountTrigger": 0, "lowRiskCount": true, "lowRiskCountTrigger": 0, "mediumRiskCount": true, "mediumRiskCountTrigger": 0, "noVulnerabilities": true, "totalCount": true, "totalCountTrigger": 0, "vulnTypeFound": true, "vulnTypeTrigger": 0 }, "createdBy": "string", "description": "string", "groupVisibility": [ "string" ], "id": "string", "itemType": "string", "name": "string", "projectName": "string" }

Responses

OK

Bodyapplication/json
messagestring
Example: "Operation succeeded"
resultany
successboolean
Example: true
Response
application/json
{ "message": "Operation succeeded", "result": null, "success": true }

Delete an Azure DevOps trigger configuration

Request

Delete an Azure DevOps trigger configuration by ID.

Path
idstringrequired

Azure DevOps trigger ID

No request payload

Responses

OK

Bodyapplication/json
messagestring
Example: "Operation succeeded"
resultany
successboolean
Example: true
Response
application/json
{ "message": "Operation succeeded", "result": null, "success": true }

Update an Azure DevOps trigger configuration

Request

Update an Azure DevOps trigger configuration by ID.

Path
idstringrequired

Azure DevOps trigger ID

Bodyapplication/jsonrequired

Updated Jira trigger object

assignedAppsArray of objects(models.ApplicationEntry)
conditionobject(models.TriggerCondition)
createdBystring
descriptionstring
groupVisibilityArray of strings
idstring
itemTypestring
namestring
projectNamestring
application/json
{ "assignedApps": [ {} ], "condition": { "findingsRating": true, "findingsRatingTrigger": 0, "highRiskCount": true, "highRiskCountTrigger": 0, "lowRiskCount": true, "lowRiskCountTrigger": 0, "mediumRiskCount": true, "mediumRiskCountTrigger": 0, "noVulnerabilities": true, "totalCount": true, "totalCountTrigger": 0, "vulnTypeFound": true, "vulnTypeTrigger": 0 }, "createdBy": "string", "description": "string", "groupVisibility": [ "string" ], "id": "string", "itemType": "string", "name": "string", "projectName": "string" }

Responses

OK

Bodyapplication/json
messagestring
Example: "Operation succeeded"
resultany
successboolean
Example: true
Response
application/json
{ "message": "Operation succeeded", "result": null, "success": true }

Get Jira configuration

Request

Get Jira issue tracking configuration.

No request payload

Responses

OK

Bodyapplication/json
authTypestring
createdBystring
jiraServerstring
orgIdstring
passwordstring
usernamestring
Response
application/json
{ "authType": "string", "createdBy": "string", "jiraServer": "string", "orgId": "string", "password": "string", "username": "string" }

Create or update Jira configuration.

Request

Create or update Jira configuration to be used when submitting vulnerability issues.

Bodyapplication/jsonrequired

Jira configuration object

authTypestring
createdBystring
jiraServerstring
orgIdstring
passwordstring
usernamestring
application/json
{ "authType": "string", "createdBy": "string", "jiraServer": "string", "orgId": "string", "password": "string", "username": "string" }

Responses

OK

Bodyapplication/json
messagestring
Example: "Operation succeeded"
resultany
successboolean
Example: true
Response
application/json
{ "message": "Operation succeeded", "result": null, "success": true }

Get Jira triggers configuration

Request

Get configuration of triggers for Jira issue tracking.

No request payload

Responses

OK

Bodyapplication/jsonArray [
assignedAppsArray of objects(models.ApplicationEntry)
conditionobject(models.TriggerCondition)
createdBystring
descriptionstring
groupVisibilityArray of strings
idstring
itemTypestring
namestring
projectNamestring
]
Response
application/json
[ { "assignedApps": [], "condition": {}, "createdBy": "string", "description": "string", "groupVisibility": [], "id": "string", "itemType": "string", "name": "string", "projectName": "string" } ]

Create a Jira trigger configuration

Request

Create Jira trigger configuration to be used when submitting vulnerability issues.

Bodyapplication/jsonrequired

Jira trigger to create

assignedAppsArray of objects(models.ApplicationEntry)
conditionobject(models.TriggerCondition)
createdBystring
descriptionstring
groupVisibilityArray of strings
idstring
itemTypestring
namestring
projectNamestring
application/json
{ "assignedApps": [ {} ], "condition": { "findingsRating": true, "findingsRatingTrigger": 0, "highRiskCount": true, "highRiskCountTrigger": 0, "lowRiskCount": true, "lowRiskCountTrigger": 0, "mediumRiskCount": true, "mediumRiskCountTrigger": 0, "noVulnerabilities": true, "totalCount": true, "totalCountTrigger": 0, "vulnTypeFound": true, "vulnTypeTrigger": 0 }, "createdBy": "string", "description": "string", "groupVisibility": [ "string" ], "id": "string", "itemType": "string", "name": "string", "projectName": "string" }

Responses

OK

Bodyapplication/json
messagestring
Example: "Operation succeeded"
resultany
successboolean
Example: true
Response
application/json
{ "message": "Operation succeeded", "result": null, "success": true }

Delete a Jira trigger configuration

Request

Delete a Jira trigger configuration by ID.

Path
idstringrequired

Jira trigger ID

No request payload

Responses

OK

Bodyapplication/json
messagestring
Example: "Operation succeeded"
resultany
successboolean
Example: true
Response
application/json
{ "message": "Operation succeeded", "result": null, "success": true }

Update a Jira trigger configuration

Request

Update a Jira trigger configuration by ID.

Path
idstringrequired

Jira trigger ID

Bodyapplication/jsonrequired

Updated Jira trigger object

assignedAppsArray of objects(models.ApplicationEntry)
conditionobject(models.TriggerCondition)
createdBystring
descriptionstring
groupVisibilityArray of strings
idstring
itemTypestring
namestring
projectNamestring
application/json
{ "assignedApps": [ {} ], "condition": { "findingsRating": true, "findingsRatingTrigger": 0, "highRiskCount": true, "highRiskCountTrigger": 0, "lowRiskCount": true, "lowRiskCountTrigger": 0, "mediumRiskCount": true, "mediumRiskCountTrigger": 0, "noVulnerabilities": true, "totalCount": true, "totalCountTrigger": 0, "vulnTypeFound": true, "vulnTypeTrigger": 0 }, "createdBy": "string", "description": "string", "groupVisibility": [ "string" ], "id": "string", "itemType": "string", "name": "string", "projectName": "string" }

Responses

OK

Bodyapplication/json
messagestring
Example: "Operation succeeded"
resultany
successboolean
Example: true
Response
application/json
{ "message": "Operation succeeded", "result": null, "success": true }

SAST Engines

Operations

Groups

Operations

Users

Operations

Scans

Operations

Templates

Operations

Findings

Operations

Data flows

Operations