Skip to content

chore(ci): remove unused linting-security-trufflehog make target#3874

Open
Lang-Akshay wants to merge 1 commit intomainfrom
chore/remove-trufflehog
Open

chore(ci): remove unused linting-security-trufflehog make target#3874
Lang-Akshay wants to merge 1 commit intomainfrom
chore/remove-trufflehog

Conversation

@Lang-Akshay
Copy link
Copy Markdown
Collaborator

Summary

Remove the TruffleHog filesystem secret scanning make target (linting-security-trufflehog) and all associated references from the project.

Changes

  • Makefile: Removed the linting-security-trufflehog target recipe, .PHONY declaration, help comment, LINT_TRUFFLEHOG_TARGET and LINT_TRUFFLEHOG_VERSION variables
  • SECURITY.md: Removed TruffleHog references from toolchain descriptions, command listings, and Mermaid diagrams

Rationale

Secret detection is already covered by Gitleaks (git history scanning), Dodgy (hardcoded secrets in code), detect-private-key, and Snyk custom rules. TruffleHog adds redundant filesystem-level scanning that duplicates existing coverage.

Remove the TruffleHog filesystem secret scanning make target and all
associated references. Secret detection is already covered by Gitleaks
for git history scanning and other tools in the CI pipeline.

Removed:
- linting-security-trufflehog make target and recipe
- LINT_TRUFFLEHOG_TARGET and LINT_TRUFFLEHOG_VERSION variables
- help comment and .PHONY declaration
- TruffleHog references from SECURITY.md documentation

Signed-off-by: Lang-Akshay <akshay.shinde26@ibm.com>
Copy link
Copy Markdown
Collaborator

@lucarlig lucarlig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

  • rg -n "linting-security-trufflehog|trufflehog" returns no matches anywhere in the PR branch.
  • make --no-print-directory help no longer lists linting-security-trufflehog, while linting-security-checkov, linting-security-kube-linter, and linting-full still appear as expected.
  • make --no-print-directory -n linting-full COMMITLINT_FROM=HEAD~1 COMMITLINT_TO=HEAD succeeds and expands to the expected remaining targets, with no dependency on TruffleHog.
  • .github/workflows/linting-full.yml only invokes make linting-full, so there’s no direct workflow dependency on the removed target.

Copy link
Copy Markdown
Collaborator

@dima-zakharov dima-zakharov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

Copy link
Copy Markdown
Member

@ja8zyjits ja8zyjits left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Lang-Akshay Lang-Akshay added the release-fix Critical bugfix required for the release label Mar 27, 2026
@crivetimihai crivetimihai changed the title [CHORE]: Remove linting-security-trufflehog make target chore(ci): remove unused linting-security-trufflehog make target Mar 29, 2026
@crivetimihai crivetimihai added chore Linting, formatting, dependency hygiene, or project maintenance chores SHOULD P2: Important but not vital; high-value items that are not crucial for the immediate release labels Mar 29, 2026
@crivetimihai crivetimihai added this to the Release 1.0.0 milestone Mar 29, 2026
@crivetimihai
Copy link
Copy Markdown
Member

Thanks @Lang-Akshay. Clean removal of the dead trufflehog target — it was never functional since trufflehog isn't a project dependency. Please add the DCO Signed-off-by line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Linting, formatting, dependency hygiene, or project maintenance chores release-fix Critical bugfix required for the release SHOULD P2: Important but not vital; high-value items that are not crucial for the immediate release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants