From 629a4904e33654c7a8fc7478f84267d2485b1e03 Mon Sep 17 00:00:00 2001 From: Ryan Parman Date: Wed, 28 Aug 2024 14:26:29 -0600 Subject: [PATCH] fix: Re-enable some pre-commit hooks. --- .pre-commit-config.yaml | 4 ++-- trivy-license.yaml | 3 --- trivy-vuln.yaml | 8 -------- 3 files changed, 2 insertions(+), 13 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e68e1645..a5c77cf3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,12 +29,12 @@ repos: - --allow-multiple-documents - id: destroyed-symlinks # - id: detect-private-key - # - id: end-of-file-fixer + - id: end-of-file-fixer - id: fix-byte-order-marker - id: mixed-line-ending args: - --fix=lf - # - id: trailing-whitespace + - id: trailing-whitespace # ---------------------------------------------------------------------------- # goplicate-start:golang diff --git a/trivy-license.yaml b/trivy-license.yaml index 5ddcb8fd..da6fdece 100644 --- a/trivy-license.yaml +++ b/trivy-license.yaml @@ -1,7 +1,6 @@ --- cache: backend: fs - clear: false db: download-java-only: false download-only: false @@ -170,11 +169,9 @@ list-all-pkgs: true misconfiguration: include-non-failures: false policy-bundle-repository: ghcr.io/aquasecurity/defsec:0 - reset-policy-bundle: false output: "" quiet: true report: summary -reset: false scan: compliance: "" file-patterns: [] diff --git a/trivy-vuln.yaml b/trivy-vuln.yaml index 54908411..82f01187 100644 --- a/trivy-vuln.yaml +++ b/trivy-vuln.yaml @@ -1,15 +1,12 @@ --- cache: backend: fs - clear: false db: download-java-only: false download-only: false - java-repository: ghcr.io/aquasecurity/trivy-java-db java-skip-update: false light: false no-progress: false - repository: ghcr.io/aquasecurity/trivy-db skip-update: false # debug: false dependency-tree: true @@ -22,18 +19,13 @@ insecure: false list-all-pkgs: true misconfiguration: include-non-failures: false - policy-bundle-repository: ghcr.io/aquasecurity/defsec:0 - reset-policy-bundle: false output: "" quiet: true report: summary -reset: false scan: compliance: "" file-patterns: [] offline: false - rekor-url: https://rekor.sigstore.dev - sbom-sources: [] scanners: - vuln - config