Use this action to scan a Git repository with the Mend static application security testing (SAST) scanner, which detects security flaws and provides suggested code fixes.
Input name | Data type | Required? | Description |
---|---|---|---|
|
String |
Yes |
The Mend server URL. |
|
String |
Yes |
The Mend client secret. |
|
String |
No |
The language of your Git repository code base. Refer to the supported languages below. |
Supported language | Input format |
---|---|
Go |
|
Java |
|
JavaScript |
|
Python |
|
In your YAML file, add:
- name: Scan with Mend SAST
uses: cloudbees-io/mend-sast-scan-code@v1
with:
server-url: ${{ vars.MEND_SERVER_URL }}
token: ${{ secrets.MEND_SECRET }}
language: "LANGUAGE_PYTHON"
This code is made available under the MIT license.
-
Learn more about using actions in CloudBees workflows.
-
Learn about the CloudBees platform.