Remove trufflehog scanner from secrets analyzer
What does this MR do?
We are removing trufflehog from the secrets analyzer as both scanners were doing repetitive work. This MR includes the following:
- Removes the trufflehog package
- Fixes integration test that missed a true positive secret
- Replaces the scanner package with a gitleaks package
- Adds trufflehog rules to gitleaks
What are the relevant issue numbers?
gitlab-org/gitlab#223212 (closed)
Does this MR meet the acceptance criteria?
-
Changelog entry added -
Documentation created/updated for GitLab EE, if necessary -
Documentation created/updated for this project, if necessary -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Job definition updated, if necessary -
Conforms to the code review guidelines -
Conforms to the Go guidelines -
Security reports checked/validated by reviewer
Edited by Saikat Sarkar