Skip to content

Commit

Permalink
update config
Browse files Browse the repository at this point in the history
  • Loading branch information
R-HNF committed Oct 15, 2023
1 parent f0c3939 commit aa25e66
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions .github/workflows/daily-vul-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,8 @@ on:
# pull_request:
# workflow_dispatch:

permissions:
contents: read

jobs:
build:
permissions:
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
actions: read # only required for a private repository by github/codeql-
name: Build
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -44,17 +37,10 @@ jobs:
with:
scan-type: image
image-ref: "zozo-gatling-operator:${{ github.sha }}"
format: "template"
template: '@/contrib/sarif.tpl'
output: 'trivy-results.sarif'
format: "sarif"
exit-code: "1"
ignore-unfixed: false
vuln-type: "os,library"
severity: "HIGH,CRITICAL"
timeout: "5m0s"
scanners: "vuln,secret,config"

- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: 'trivy-results.sarif'

0 comments on commit aa25e66

Please sign in to comment.