Configuring a Pipelines Repository

Veracode Software Composition Analysis

To scan using Veracode Software Composition Analysis agent-based scanning, add the following to the last default configuration script command in the bitbucket-pipelines.yml file:
    - step:
            - curl -sSL | sh         

Commit these changes to trigger a build for your repository, and Veracode SCA performs a scan and displays results to your agent-based scanning environment.

If you want to add Veracode SCA agent-based scanning to other repositories, add the installation and scan the code above to any bitbucket-pipelines.yml files you want. After you add the SRCCLR_API_TOKEN environment variable, you can perform scans on each new build.