Skip to content

Releases: jonny-wg2/pre-commit-sast

Prevent cache corruption and .trivyignore.yaml support

29 Sep 11:02
d2a8229

Choose a tag to compare

  • add require_serial: true to prevent cache corruption
  • autodetect .trivyignore and .trivyignore.yaml

Using ionice to limit Trivy’s CPU usage

31 Mar 10:16
4a36385

Choose a tag to compare

Fixes a bug where some Linux users experienced high CPU consumption.

Trivy Config

26 Mar 17:43
25af98c

Choose a tag to compare

A pre-commit hook to enable trivy config.

.pre-commit-config.yaml

  - repo: https://github.com/jonny-wg2/pre-commit-sast
    rev: v0.0.1
    hooks:
      - id: trivyconfig
        args:
          - "--args=--severity HIGH,CRITICAL"
          - "--args=--ignorefile .trivyignore"