Skip to content

Commit

Permalink
Update gosec.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
akindemirsec authored Mar 29, 2024
1 parent bce4603 commit e98b64a
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/gosec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,22 @@ jobs:
- name: Run Gosec Security Scanner
uses: securego/gosec@master
with:
# we let the report trigger content trigger a failure using the GitHub Security features.
# We let the report trigger content trigger a failure using the GitHub Security features.
args: '-no-fail -fmt sarif -out results.sarif ./...'
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v2
with:
# Path to SARIF file relative to the root of the repository
sarif_file: results.sarif

- name: Build
run: |
mkdir ./bin && protoc -I=./ --go_out=./internal ./internal/proto/*.proto && go build -o ./bin/blackdagger .
- name: Run
run: |
blackdagger server
- name: ZAP Scan
uses: zaproxy/action-baseline@v0.11.0
with:
target: 'http://[::]:9093'

0 comments on commit e98b64a

Please sign in to comment.