Mend.io
App · 23 actions
Read Mend.io projects, scans, open-source and code findings, licenses and policy violations, review code findings, and manage labels and groups.
Actions
| Action | What it does |
|---|---|
| Add project label | Put a label on a project. |
| Create group | Create a group of users. |
| Create label | Add a label (a namespace and value, such as team:payments) to the organization. |
| Delete group | Delete a group. |
| Delete label | Remove a label from the organization. |
| Get scan summary | Read a scan's status, engine and statistics. |
| List activity log | List the organization's activity and audit log. |
| List application scans | List the scans of every project in an application. |
| List applications | List the organization's applications. |
| List code findings | List the weaknesses Mend's code scanning (SAST) found in a project. |
| List dependency findings | List the vulnerable open-source libraries found in a project (SCA), with the fix for each. |
| List groups | List the organization's groups and their roles. |
| List labels | List the organization's labels. |
| List project labels | List the labels on a project. |
| List project libraries | List the open-source libraries a project uses. |
| List project licenses | List the licenses of a project's libraries, with their risk (Mend's due diligence). |
| List project scans | List a project's scans by every engine. |
| List project violations | List the findings in a project that break the organization's policies. |
| List projects | List the organization's projects and the application each is in. |
| List users | List the organization's users. |
| List zero-day events | List zero-day vulnerability events Mend has published, such as a new critical flaw in a popular library. |
| Remove project label | Take a label off a project. |
| Review code finding | Mark a code finding reviewed, suppress it with a reason, or change its severity. |
Add project label
Put a label on a project.
Inputs
- Project
project_uuidtextRequired - The project.
- Namespace
namespacetextRequired - The label's namespace.
- Value
valuetextRequired - The label's value.
Outputs
dataobject- The response from Mend.
Example output
{
"data": {
"response": {
"message": "example"
},
"supportToken": "example"
}
}Create group
Create a group of users.
Inputs
- Name
nametextRequired - The group's name.
- Description
descriptiontextRequired - What the group is for.
Outputs
dataobject- The response from Mend.
Example output
{
"data": {
"response": {
"description": "example",
"name": "example",
"roles": [
{
"role": "example",
"scopeName": "example",
"scopeType": "example",
"scopeUuid": "example"
}
],
"userCount": 1,
"users": 1,
"uuid": "example"
},
"supportToken": "example"
}
}Create label
Add a label (a namespace and value, such as team:payments) to the organization.
Inputs
- Namespace
namespacetextRequired - The label's namespace, such as team.
- Value
valuetextRequired - The label's value, such as payments.
Outputs
dataobject- The response from Mend.
Example output
{
"data": {
"response": {
"message": "example"
},
"supportToken": "example"
}
}Delete group
Delete a group.
Inputs
- Group
group_uuidtextRequired - The group.
Outputs
dataobject- The response from Mend.
Example output
{
"data": {
"response": {
"message": "example"
},
"supportToken": "example"
}
}Delete label
Remove a label from the organization.
Inputs
- Label
label_uuidtextRequired - The label.
Outputs
dataobject- The response from Mend.
Example output
{
"data": {
"response": {
"message": "example"
},
"supportToken": "example"
}
}Get scan summary
Read a scan's status, engine and statistics.
Inputs
- Project
project_uuidtextRequired - The project.
- Scan
scan_uuidtextRequired - The scan of the chosen project.
Outputs
dataobject- The response from Mend.
Example output
{
"data": {
"response": {
"agentName": "example",
"agentVersion": "example",
"applicationName": "example",
"applicationUuid": "example",
"configurationName": "example",
"engine": "example",
"name": "example",
"projectName": "example",
"projectUuid": "example",
"reference": "example",
"scanDuration": "example",
"scanMode": "example",
"scanStatus": "example",
"scanTime": "example",
"statistics": {},
"tags": [
{
"displayName": "example",
"key": "example",
"value": "example"
}
],
"triggeredBy": "example",
"uuid": "example"
},
"supportToken": "example"
}
}List activity log
List the organization's activity and audit log.
Inputs
- Start date
start_datedate - The first day of the time window.
- Days
daysnumber - How many days the window covers.From 1 to 365.
- Engines
engine_typeslist - Only events of these engines.One or more of:
SCA,SAST,IMG,IAC,AI,PLATFORM. - Limit
limitnumber - Most records to return (Mend's default is 50).From 1 to 10000.
- Cursor
cursortext - Where to carry on from: the cursor of the previous page (additionalData.cursor).
Outputs
dataobject- The response from Mend.
Example output
{
"data": {
"additionalData": {
"cursor": "example",
"next": "example",
"totalItems": "example"
},
"response": [
{
"actorType": "example",
"applicationName": "example",
"applicationUuid": "example",
"category": "example",
"changeType": "example",
"engineType": "example",
"entityName": "example",
"entityType": "example",
"entityUuid": "example",
"event": "example",
"eventType": "example",
"projectUuid": "example",
"scopeName": "example",
"scopeType": "example",
"timestamp": "example",
"userName": "example",
"uuid": "example"
}
],
"supportToken": "example"
}
}List application scans
List the scans of every project in an application.
Inputs
- Application
application_uuidtextRequired - The application.
- Limit
limitnumber - Most records to return (Mend's default is 50).From 1 to 10000.
- Cursor
cursortext - Where to carry on from: the cursor of the previous page (additionalData.cursor).
Outputs
dataobject- The response from Mend.
Example output
{
"data": {
"additionalData": {
"cursor": "example",
"next": "example",
"totalItems": "example"
},
"response": [
{
"agentName": "example",
"agentVersion": "example",
"applicationName": "example",
"applicationUuid": "example",
"configurationName": "example",
"engine": "example",
"name": "example",
"projectName": "example",
"projectUuid": "example",
"reference": "example",
"scanDuration": "example",
"scanMode": "example",
"scanStatus": "example",
"scanTime": "example",
"statistics": {},
"tags": [
{
"displayName": "example",
"key": "example",
"value": "example"
}
],
"triggeredBy": "example",
"uuid": "example"
}
],
"supportToken": "example"
}
}List applications
List the organization's applications.
Inputs
- Limit
limitnumber - Most records to return (Mend's default is 50).From 1 to 10000.
- Cursor
cursortext - Where to carry on from: the cursor of the previous page (additionalData.cursor).
Outputs
dataobject- The response from Mend.
Example output
{
"data": {
"additionalData": {
"cursor": "example",
"next": "example",
"totalItems": "example"
},
"response": [
{
"name": "example",
"uuid": "example"
}
],
"supportToken": "example"
}
}List code findings
List the weaknesses Mend's code scanning (SAST) found in a project.
Inputs
- Project
project_uuidtextRequired - The project.
- Limit
limitnumber - Most records to return (Mend's default is 50).From 1 to 10000.
- Cursor
cursortext - Where to carry on from: the cursor of the previous page (additionalData.cursor).
Outputs
dataobject- The response from Mend.
Example output
{
"data": {
"additionalData": {
"cursor": "example",
"next": "example",
"totalItems": "example"
},
"response": [
{
"appId": "example",
"confidenceRating": 1,
"createdTime": "example",
"description": "example",
"id": "example",
"isNew": true,
"projectId": "example",
"reviewed": true,
"scanId": "example",
"severity": "example",
"severityRating": 1,
"sharedStep": {
"file": "example",
"line": 1,
"snippet": "example"
},
"snapshotId": "example",
"suppressed": true,
"suppressionMessage": "example",
"type": {
"cwe": {
"id": "example",
"title": "example",
"url": "example"
},
"description": "example",
"name": "example"
}
}
],
"supportToken": "example"
}
}List dependency findings
List the vulnerable open-source libraries found in a project (SCA), with the fix for each.
Inputs
- Project
project_uuidtextRequired - The project.
- Zero-day event
zero_daytext - Only findings of this zero-day event (its UUID or name).
- Limit
limitnumber - Most records to return (Mend's default is 50).From 1 to 10000.
- Cursor
cursortext - Where to carry on from: the cursor of the previous page (additionalData.cursor).
Outputs
dataobject- The response from Mend.
Example output
{
"data": {
"additionalData": {
"cursor": "example",
"next": "example",
"totalItems": "example"
},
"response": [
{
"application": {
"name": "example",
"uuid": "example"
},
"component": {
"artifactId": "example",
"componentType": "example",
"dependencyFile": "example",
"description": "example",
"directDependency": true,
"groupId": "example",
"language": "example",
"libraryType": "example",
"name": "example",
"uuid": "example",
"version": "example"
},
"exploitable": true,
"findingInfo": {
"detectedAt": "example",
"findingStatus": "example",
"modifiedAt": "example",
"status": "example"
},
"malicious": true,
"name": "example",
"project": {
"applicationName": "example",
"applicationUuid": "example",
"name": "example",
"path": "example",
"uuid": "example"
},
"reachability": "example",
"topFix": {
"fixResolution": "example",
"message": "example",
"type": "example",
"url": "example"
},
"type": "example",
"updateToVersion": "example",
"uuid": "example",
"violations": 1,
"vulnerability": {
"description": "example",
"modifiedDate": "example",
"name": "example",
"publishDate": "example",
"score": 1,
"severity": "example",
"type": "example"
}
}
],
"supportToken": "example"
}
}List groups
List the organization's groups and their roles.
Inputs
- Limit
limitnumber - Most records to return (Mend's default is 50).From 1 to 10000.
- Cursor
cursortext - Where to carry on from: the cursor of the previous page (additionalData.cursor).
Outputs
dataobject- The response from Mend.
Example output
{
"data": {
"additionalData": {
"cursor": "example",
"next": "example",
"totalItems": "example"
},
"response": [
{
"description": "example",
"name": "example",
"roles": [
{
"role": "example",
"scopeName": "example",
"scopeType": "example",
"scopeUuid": "example"
}
],
"userCount": 1,
"users": 1,
"uuid": "example"
}
],
"supportToken": "example"
}
}List labels
List the organization's labels.
Inputs
- Limit
limitnumber - Most records to return (Mend's default is 50).From 1 to 10000.
- Cursor
cursortext - Where to carry on from: the cursor of the previous page (additionalData.cursor).
Outputs
dataobject- The response from Mend.
Example output
{
"data": {
"additionalData": {
"cursor": "example",
"next": "example",
"totalItems": "example"
},
"response": [
{
"applications": 1,
"createdAt": "example",
"createdBy": "example",
"displayName": "example",
"namespace": "example",
"projects": 1,
"system": true,
"uuid": "example",
"value": "example"
}
],
"supportToken": "example"
}
}List project labels
List the labels on a project.
Inputs
- Project
project_uuidtextRequired - The project.
Outputs
dataobject- The response from Mend.
Example output
{
"data": {
"additionalData": {
"cursor": "example",
"next": "example",
"totalItems": "example"
},
"response": [
{
"applications": 1,
"createdAt": "example",
"createdBy": "example",
"displayName": "example",
"namespace": "example",
"projects": 1,
"system": true,
"uuid": "example",
"value": "example"
}
],
"supportToken": "example"
}
}List project libraries
List the open-source libraries a project uses.
Inputs
- Project
project_uuidtextRequired - The project.
- Limit
limitnumber - Most records to return (Mend's default is 50).From 1 to 10000.
- Cursor
cursortext - Where to carry on from: the cursor of the previous page (additionalData.cursor).
Outputs
dataobject- The response from Mend.
Example output
{
"data": {
"additionalData": {
"cursor": "example",
"next": "example",
"totalItems": "example"
},
"response": [
{
"artifactId": "example",
"description": "example",
"directDependency": true,
"groupId": "example",
"libraryType": "example",
"name": "example",
"purl": "example",
"sha1": "example",
"type": "example",
"uuid": "example",
"version": "example"
}
],
"supportToken": "example"
}
}List project licenses
List the licenses of a project's libraries, with their risk (Mend's due diligence).
Inputs
- Project
project_uuidtextRequired - The project.
- Limit
limitnumber - Most records to return (Mend's default is 50).From 1 to 10000.
- Cursor
cursortext - Where to carry on from: the cursor of the previous page (additionalData.cursor).
Outputs
dataobject- The response from Mend.
Example output
{
"data": {
"additionalData": {
"cursor": "example",
"next": "example",
"totalItems": "example"
},
"response": [
{
"component": {
"artifactId": "example",
"componentType": "example",
"dependencyFile": "example",
"description": "example",
"directDependency": true,
"groupId": "example",
"language": "example",
"libraryType": "example",
"name": "example",
"uuid": "example",
"version": "example"
},
"copyrights": [
{}
],
"license": {
"information": "example",
"textUrl": "example",
"type": "example",
"uuid": "example"
},
"name": "example",
"project": {
"applicationName": "example",
"applicationUuid": "example",
"name": "example",
"path": "example",
"uuid": "example"
},
"riskScore": {
"explanation": "example",
"riskScore": 1
},
"uuid": "example"
}
],
"supportToken": "example"
}
}List project scans
List a project's scans by every engine.
Inputs
- Project
project_uuidtextRequired - The project.
- Limit
limitnumber - Most records to return (Mend's default is 50).From 1 to 10000.
- Cursor
cursortext - Where to carry on from: the cursor of the previous page (additionalData.cursor).
Outputs
dataobject- The response from Mend.
Example output
{
"data": {
"additionalData": {
"cursor": "example",
"next": "example",
"totalItems": "example"
},
"response": [
{
"agentName": "example",
"agentVersion": "example",
"applicationName": "example",
"applicationUuid": "example",
"configurationName": "example",
"engine": "example",
"name": "example",
"projectName": "example",
"projectUuid": "example",
"reference": "example",
"scanDuration": "example",
"scanMode": "example",
"scanStatus": "example",
"scanTime": "example",
"statistics": {},
"tags": [
{
"displayName": "example",
"key": "example",
"value": "example"
}
],
"triggeredBy": "example",
"uuid": "example"
}
],
"supportToken": "example"
}
}List project violations
List the findings in a project that break the organization's policies.
Inputs
- Project
project_uuidtextRequired - The project.
- Limit
limitnumber - Most records to return (Mend's default is 50).From 1 to 10000.
- Cursor
cursortext - Where to carry on from: the cursor of the previous page (additionalData.cursor).
Outputs
dataobject- The response from Mend.
Example output
{
"data": {
"additionalData": {
"cursor": "example",
"next": "example",
"totalItems": "example"
},
"response": [
{
"createdAt": "example",
"engine": "example",
"findingType": "example",
"name": "example",
"originName": "example",
"originUuid": "example",
"projectName": "example",
"projectUuid": "example",
"risk": "example",
"sla": "example",
"updatedAt": "example",
"uuid": "example",
"violationType": "example"
}
],
"supportToken": "example"
}
}List projects
List the organization's projects and the application each is in.
Inputs
- Exclude inactive
exclude_inactivetrue/false - Leave out inactive projects. Mend leaves them out unless this is off.
- Limit
limitnumber - Most records to return (Mend's default is 50).From 1 to 10000.
- Cursor
cursortext - Where to carry on from: the cursor of the previous page (additionalData.cursor).
Outputs
dataobject- The response from Mend.
Example output
{
"data": {
"additionalData": {
"cursor": "example",
"next": "example",
"totalItems": "example"
},
"response": [
{
"applicationName": "example",
"applicationUuid": "example",
"name": "example",
"path": "example",
"uuid": "example"
}
],
"supportToken": "example"
}
}List users
List the organization's users.
Inputs
- Limit
limitnumber - Most records to return (Mend's default is 50).From 1 to 10000.
- Cursor
cursortext - Where to carry on from: the cursor of the previous page (additionalData.cursor).
Outputs
dataobject- The response from Mend.
Example output
{
"data": {
"additionalData": {
"cursor": "example",
"next": "example",
"totalItems": "example"
},
"response": [
{
"accountStatus": "example",
"email": "example",
"name": "example",
"userType": "example",
"uuid": "example"
}
],
"supportToken": "example"
}
}List zero-day events
List zero-day vulnerability events Mend has published, such as a new critical flaw in a popular library.
Inputs
- From date
from_datedate - Only events created on or after this day.
- To date
to_datedate - Only events created on or before this day.
- Limit
limitnumber - Most records to return (Mend's default is 50).From 1 to 10000.
- Cursor
cursortext - Where to carry on from: the cursor of the previous page (additionalData.cursor).
Outputs
dataobject- The response from Mend.
Example output
{
"data": {
"additionalData": {
"cursor": "example",
"next": "example",
"totalItems": "example"
},
"response": [
{
"description": "example",
"name": "example",
"publishedAt": "example",
"updatedAt": "example",
"uuid": "example"
}
],
"supportToken": "example"
}
}Remove project label
Take a label off a project.
Inputs
- Project
project_uuidtextRequired - The project.
- Label
label_uuidtextRequired - The label on the chosen project.
Outputs
dataobject- The response from Mend.
Example output
{
"data": {
"response": {
"message": "example"
},
"supportToken": "example"
}
}Review code finding
Mark a code finding reviewed, suppress it with a reason, or change its severity.
Inputs
- Project
project_uuidtextRequired - The project.
- Finding snapshot ID
finding_snapshot_idtextRequired - The finding's snapshot ID (snapshotId in the project's code findings).
- Reviewed
reviewedtrue/false - Whether the finding has been reviewed.
- Suppressed
suppressedtrue/false - Whether to suppress the finding.
- Suppression reason
suppression_reasontext - Why it is suppressed. Only when suppressing.
- Custom severity
custom_severitytext - A severity of your own for the finding.One of:
High,Medium,Low.
Outputs
dataobject- The response from Mend.
Example output
{
"data": {
"response": {
"message": "example",
"result": {},
"success": true
},
"supportToken": "example"
}
}