Skip to content

Commit 3452d99

Browse files
committed
updating
1 parent bcad054 commit 3452d99

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/unit-sec-test.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff 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
@@ -62,7 +60,7 @@ jobs:
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 }}'
@@ -87,7 +85,7 @@ jobs:
8785
- name: zap scan
8886
uses: zaproxy/[email protected]
8987
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>'

0 commit comments

Comments
 (0)