Skip to content

build(deps): Bump github.com/hashicorp/hcl/v2 from 2.18.0 to 2.18.1 #994

build(deps): Bump github.com/hashicorp/hcl/v2 from 2.18.0 to 2.18.1

build(deps): Bump github.com/hashicorp/hcl/v2 from 2.18.0 to 2.18.1 #994

Workflow file for this run

name: trivy
on:
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
name: Build
runs-on: ubuntu-latest
permissions:
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
steps:
- name: Harden Runner
uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- name: Checkout code
uses: actions/checkout@d0651293c4a5a52e711f25b41b05b2212f385d28
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@fbd16365eb88e12433951383f5e99bd901fc618f
with:
scan-type: 'fs'
scan-ref: '.'
format: 'template'
template: '@/contrib/sarif.tpl'
output: 'trivy-results.sarif'
severity: 'MEDIUM,CRITICAL,HIGH'
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@74e8f231851deb9b54c3e408f88638dd39727868
with:
sarif_file: 'trivy-results.sarif'