Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Mend SAST® is fully API-enabled. Users can generate API tokens that will inherit permissions from the current user role. After a token is generated, follow the instructions provided in the API documentation to create scans, generate reports or perform other supported actions.

Creating a Token

  1. In the DASHBOARD window, click SETTINGS in the menu bar on the left.

...

2. Click API TOKEN.

...

3. Click + GENERATE TOKEN.

...

4. Click the copy icon.

...

5. To run scans, download the Command line Client (CLI) and configure the scan parameters. For detailed information about downloading the CLI, see https://whitesource.atlassian.net/wiki/spaces/WD/pages/2523792399/Command+Line+Client#Download-Links .

For detailed information about running scans and the CLI parameters, see https://whitesource.atlassian.net/wiki/spaces/WD/pages/2523792399/Command+Line+Client#Usage.

For an example of a wscli-config.json file, see https://whitesource.atlassian.net/wiki/spaces/WD/pages/2523792399/Command+Line+Client#Example-wscli-config.json-File.This page is available at Mend’s new Knowledge Hub, here: API Token