fixing docs (#3022)
* fixing docs * Update Adding_Detectors_external.md
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user