Last active
July 26, 2020 14:16
-
-
Save prabhu/a544d9cbda2f74baff068018fcce374f to your computer and use it in GitHub Desktop.
Bitbucket pipeline step to integrate ShiftLeft Insights script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- step: | |
name: ShiftLeft NextGen Analysis | |
script: | |
- curl https://cdn.shiftleft.io/download/sl > $HOME/sl && chmod a+rx $HOME/sl | |
- $HOME/sl analyze --no-diagnostic --force --app ${BITBUCKET_REPO_SLUG} --tag branch=${BITBUCKET_BRANCH} --go --cpg $(pwd) | |
- step: | |
image: python:3.7-slim | |
name: ShiftLeft NG SAST Code Insights | |
script: | |
- pip install requests | |
- python sl-insights.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment