mxab / pre-commit-trivy

MIT License
16 stars 8 forks source link

Update trivy docker image tag for trivyfs and trivyconfig to 0.44 #9

Closed kstevensonnv closed 11 months ago

kstevensonnv commented 11 months ago

Enables the use of properly skipping files and directories with globbing patterns. https://github.com/aquasecurity/trivy/issues/3754 https://github.com/aquasecurity/trivy/pull/4854

- repo: https://github.com/mxab/pre-commit-trivy.git
  rev: v0.5.2
  hooks:
  -   id: trivyconfig-docker
      args:
        - --skip-dirs="**/.terraform"
        - --skip-dirs="**/.terragrunt-cache"
        - .
mxab commented 11 months ago

Thanks!