GoCD

Prerequisites

    Install GoCD for your platform
    Setup project to scan

Instructions for SCA scans

    Create a new job and add the following commands to run the scan
    Copy the following and use it in the above build step by replacing
      lang - java | python | node | PHP | go | rust | dotnet
      api-key - your API key
      project-name - your project name
Windows
1
curl https://raw.githubusercontent.com/CloudDefenseAI/cd/master/latest/cd-latest-windows.exe.tar.gz > cd-latest-windows.exe.tar.gz
2
tar -xzf cd-latest-windows.exe.tar.gz
3
cdefense.exe scan --lang=lang --api-key=<api-key> --path=requirements.txt --verbose --project-name=<project name>
4
​
Copied!
Example: Your task should look something similar
​
Last modified 1mo ago