Skip to content

Remove tfsec, replace with trivy config, fix gitleaks version#15

Merged
matthew-on-git merged 1 commit intomainfrom
chore/remove-tfsec-fix-gitleaks-version
Mar 19, 2026
Merged

Remove tfsec, replace with trivy config, fix gitleaks version#15
matthew-on-git merged 1 commit intomainfrom
chore/remove-tfsec-fix-gitleaks-version

Conversation

@matthew-on-git
Copy link
Contributor

Summary

  • Remove tfsec — deprecated, merged into Trivy. Replace tfsec . with trivy config --exit-code 1 . in the Makefile security target
  • Fix gitleaks version — pin to v8.30.0 with -ldflags so gitleaks version reports the actual version instead of "version is set by build process"
  • Remove tfsec from Dockerfile, install-terraform.sh, test-terraform.sh, report-tool-versions.sh, README.md, DEVELOPMENT.md

Files changed (7)

  • Dockerfile — remove tfsec build + COPY, pin gitleaks with ldflags
  • Makefile — replace tfsec . with trivy config, remove tfsec from _docs
  • scripts/install-terraform.sh — remove tfsec verify block
  • scripts/report-tool-versions.sh — remove tfsec from manifest
  • tests/test-terraform.sh — remove tfsec check
  • README.md — update tools table
  • DEVELOPMENT.md — remove tfsec:ignore from suppression examples

Test plan

  • make check passes
  • gitleaks version reports v8.30.0 in new image
  • tfsec is not present in new image
  • trivy config . works for Terraform security scanning
  • Tool version manifest no longer includes tfsec, gitleaks no longer shows "unknown"

🤖 Generated with Claude Code

…ks version

tfsec is deprecated (merged into Trivy). Replace `tfsec .` with
`trivy config --exit-code 1 .` in the security target. Remove tfsec
from Dockerfile, install scripts, tests, docs, and version manifest.

Pin gitleaks to v8.30.0 with -ldflags so `gitleaks version` reports
the actual version instead of "version is set by build process".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@matthew-on-git matthew-on-git merged commit d6b873a into main Mar 19, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant