This article explains how to Run Synopsys Detect with Gitlab:
community.synopsys.com/s/article/Running-Synopsys-Detect-with-GitLab-Integration-Documentation
It provides a PDF document with detailed instructions:
/ Configuring with API Tokens
- Navigate to "Settings" in the sidebar menu. Then choose "CI/CD"
- Expand the "Secret variables" tab.
- Create two environment variables:
HUB_URL
and HUB_TOKEN
- Configure Synopsys Detect to be a script step in the .gitlab-ci.yml file of the project you want to scan. Then add the snippet for Synopsys
Detect.
/ Configuring with Username and Password:
- Navigate to "Settings" in the sidebar menu. Then choose "CI/CD"
- Expand the "Secret variables" tab.
- Create three environment variables:
HUB_URL
, HUB_USERNAME
AND HUB_PASSWORD
- Configure Synopsys Detect to be a script step in the .gitlab-ci.yml file of the project you want to scan. Then add the snippet for Synopsys
Detect.
The PDF document provides more details and screenshots.