forked from grafana/django-saml2-auth
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Code Scanning Security Tool to ShiftLeft (#8)
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# This workflow integrates ShiftLeft NG SAST with GitHub | ||
# Visit https://docs.shiftleft.io for help | ||
name: Analyze with ShiftLeft NG SAST | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: # include to analyze when you create a pull request | ||
branches: | ||
- master | ||
workflow_dispatch: | ||
|
||
jobs: | ||
NGSAST: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Download ShiftLeft cli | ||
run: | | ||
curl https://cdn.shiftleft.io/download/sl > ${GITHUB_WORKSPACE}/sl && chmod a+rx ${GITHUB_WORKSPACE}/sl | ||
- name: Python | ||
run: ${GITHUB_WORKSPACE}/sl analyze --verbose --app django-saml2-auth --tag branch=${GITHUB_REF} --python $(pwd) | ||
env: | ||
SHIFTLEFT_ACCESS_TOKEN: ${{ secrets.SHIFTLEFT_ACCESS_TOKEN }} |