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

ActionWhat it does
Add project labelPut a label on a project.
Create groupCreate a group of users.
Create labelAdd a label (a namespace and value, such as team:payments) to the organization.
Delete groupDelete a group.
Delete labelRemove a label from the organization.
Get scan summaryRead a scan's status, engine and statistics.
List activity logList the organization's activity and audit log.
List application scansList the scans of every project in an application.
List applicationsList the organization's applications.
List code findingsList the weaknesses Mend's code scanning (SAST) found in a project.
List dependency findingsList the vulnerable open-source libraries found in a project (SCA), with the fix for each.
List groupsList the organization's groups and their roles.
List labelsList the organization's labels.
List project labelsList the labels on a project.
List project librariesList the open-source libraries a project uses.
List project licensesList the licenses of a project's libraries, with their risk (Mend's due diligence).
List project scansList a project's scans by every engine.
List project violationsList the findings in a project that break the organization's policies.
List projectsList the organization's projects and the application each is in.
List usersList the organization's users.
List zero-day eventsList zero-day vulnerability events Mend has published, such as a new critical flaw in a popular library.
Remove project labelTake a label off a project.
Review code findingMark a code finding reviewed, suppress it with a reason, or change its severity.

Add project label

Put a label on a project.

Inputs

Projectproject_uuidtextRequired
The project.
NamespacenamespacetextRequired
The label's namespace.
ValuevaluetextRequired
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

NamenametextRequired
The group's name.
DescriptiondescriptiontextRequired
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

NamespacenamespacetextRequired
The label's namespace, such as team.
ValuevaluetextRequired
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

Groupgroup_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

Labellabel_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

Projectproject_uuidtextRequired
The project.
Scanscan_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 datestart_datedate
The first day of the time window.
Daysdaysnumber
How many days the window covers.From 1 to 365.
Enginesengine_typeslist
Only events of these engines.One or more of: SCA, SAST, IMG, IAC, AI, PLATFORM.
Limitlimitnumber
Most records to return (Mend's default is 50).From 1 to 10000.
Cursorcursortext
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

Applicationapplication_uuidtextRequired
The application.
Limitlimitnumber
Most records to return (Mend's default is 50).From 1 to 10000.
Cursorcursortext
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

Limitlimitnumber
Most records to return (Mend's default is 50).From 1 to 10000.
Cursorcursortext
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

Projectproject_uuidtextRequired
The project.
Limitlimitnumber
Most records to return (Mend's default is 50).From 1 to 10000.
Cursorcursortext
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

Projectproject_uuidtextRequired
The project.
Zero-day eventzero_daytext
Only findings of this zero-day event (its UUID or name).
Limitlimitnumber
Most records to return (Mend's default is 50).From 1 to 10000.
Cursorcursortext
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

Limitlimitnumber
Most records to return (Mend's default is 50).From 1 to 10000.
Cursorcursortext
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

Limitlimitnumber
Most records to return (Mend's default is 50).From 1 to 10000.
Cursorcursortext
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

Projectproject_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

Projectproject_uuidtextRequired
The project.
Limitlimitnumber
Most records to return (Mend's default is 50).From 1 to 10000.
Cursorcursortext
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

Projectproject_uuidtextRequired
The project.
Limitlimitnumber
Most records to return (Mend's default is 50).From 1 to 10000.
Cursorcursortext
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

Projectproject_uuidtextRequired
The project.
Limitlimitnumber
Most records to return (Mend's default is 50).From 1 to 10000.
Cursorcursortext
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

Projectproject_uuidtextRequired
The project.
Limitlimitnumber
Most records to return (Mend's default is 50).From 1 to 10000.
Cursorcursortext
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 inactiveexclude_inactivetrue/false
Leave out inactive projects. Mend leaves them out unless this is off.
Limitlimitnumber
Most records to return (Mend's default is 50).From 1 to 10000.
Cursorcursortext
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

Limitlimitnumber
Most records to return (Mend's default is 50).From 1 to 10000.
Cursorcursortext
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 datefrom_datedate
Only events created on or after this day.
To dateto_datedate
Only events created on or before this day.
Limitlimitnumber
Most records to return (Mend's default is 50).From 1 to 10000.
Cursorcursortext
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

Projectproject_uuidtextRequired
The project.
Labellabel_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

Projectproject_uuidtextRequired
The project.
Finding snapshot IDfinding_snapshot_idtextRequired
The finding's snapshot ID (snapshotId in the project's code findings).
Reviewedreviewedtrue/false
Whether the finding has been reviewed.
Suppressedsuppressedtrue/false
Whether to suppress the finding.
Suppression reasonsuppression_reasontext
Why it is suppressed. Only when suppressing.
Custom severitycustom_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"
  }
}

On this page