Harness
Last updated
Was this helpful?
Last updated
Was this helpful?
Mobb can be integrated into any CI/CD platform of your choice. This guide will demonstrate how to integrate Mobb into a Harness CI pipeline using an existing SAST report.
Go to your Harness project.
Navigate to Project Setup → Secrets.
Create the following secrets:
mobb-api-token
– Mobb API Token. Learn how to generate one here.
(Optional) cx-token
– if you’re using CheckmarxOne for SAST
In this example, we'll run Checkmarx One as our SAST tool and pass the results to Mobb.
In this sample pipeline, we will run a CheckmarxOne SAST scan to look for vulnerabilities in the checked-out repository. After the scan is complete, the scan result cx_result.json
is passed to Mobb for analysis and to generate a fix report.
Once the pipeline runs successfully, the Mobb report link will appear in the Harness Logs section for the "Mobb Autofixer" step.
You can click the link to open the relevant Mobb report, review the proposed fixes, and apply them back to your repository.
You are now fully configured to integrate Mobb into your Harness CI pipeline. Mobb will automatically read your SAST reports and generate fixes that you can review and commit with confidence.
For a list of supported SAST formats, visit the page.