Skip to content

Commit

Permalink
Get gosec passing again (#106)
Browse files Browse the repository at this point in the history
* Update actions.yaml
  • Loading branch information
jooseppi-luna authored Jul 15, 2022
1 parent c02d292 commit da216f6
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,18 @@ jobs:
uses: dell/common-github-actions/go-code-formatter-linter-vetter@main
with:
directories: ./...

go_security_scan:
name: Go security
name: Run gosec
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v2
- name: Run Go Security
uses: securego/gosec@master
- name: Run gosec to check for security vulnerabilities
uses: dell/common-github-actions/gosec-runner@main
with:
args: -exclude=G108,G402 -exclude-dir=csireverseproxy ./...
directories: "./..."
excludes: "G108,G402"
exclude-dir: "csireverseproxy"
malware_security_scan:
name: Malware Scanner
runs-on: ubuntu-latest
Expand Down

0 comments on commit da216f6

Please sign in to comment.