File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -32,19 +32,17 @@ jobs:
3232 uses : actions/setup-python@v4
3333 with :
3434 python-version : " 3.12.5"
35-
36-
35+
3736 - name : Install dependencies
3837 run : pip install -r requirements.txt
3938
4039 - name : Install Snyk CLI
4140 uses : snyk/actions/setup@806182742461562b67788a64410098c9d9b96adb
42-
4341 env :
4442 SNYK_TOKEN : ${{ secrets.SNYK_TOKEN }}
43+
4544 - name : Snyk Code test
4645 run : snyk code test --sarif > snyk-cide.sarif
47-
4846
4947 - name : Snyk Test Dependencies
5048 run : snyk test
6260 run : |
6361 docker build -t awesome-fastapi:${{ github.sha }} . ###- This section needed to be added becasue the image was not persisting between jobs--##
6462
65- - name : Run Trivy vulnerability scanner
63+ - name : Run Trivy Vulnerability Scanner
6664 uses :
aquasecurity/[email protected] 6765 with :
6866 image-ref : ' awesome-fastapi:${{ github.sha }}'
8785 - name : zap scan
88868987 with :
90- token : ${{ secrets.GITHUB_TOKEN}}
88+ token : ${{ secrets.GITHUB_TOKEN }}
9189 docker_name : ' ghcr.io/zaproxy/zaproxy:stable'
9290 format : openapi
9391 target : ' <fast-api-url>'
You can’t perform that action at this time.
0 commit comments