mirror of
https://github.com/trufflesecurity/trufflehog.git
synced 2024-11-10 07:04:24 +00:00
fixing docs (#3022)
* fixing docs * Update Adding_Detectors_external.md
This commit is contained in:
parent
9ad24f6999
commit
f404525975
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue