fixing docs (#3022)

* fixing docs

* Update Adding_Detectors_external.md
This commit is contained in:
dylanTruffle 2024-06-30 12:14:51 -07:00 committed by GitHub
parent 9ad24f6999
commit f404525975
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -49,7 +49,7 @@ Ex: `<packagename>/<old_files>` -> `<packagename>/v1/<old_files>`, `<packagename
Note: Be sure to update the tests to reference the new secret values in GSM, or the tests will fail.
2. Implement the `Versioner` interface. [GitHub example implementation.](/pkg/detectors/github_old/github_old.go#L23)
2. Implement the `Versioner` interface. [GitHub example implementation.](https://github.com/trufflesecurity/trufflehog/blob/2964b3b2d2edf2b60b1f71443338c6534720b67a/pkg/detectors/github/v1/github_old.go#L23))
3. Add a 'version' field in ExtraData for both existing and new detector versions.