Skip to content

Commit

Permalink
fixing docs (#3022)
Browse files Browse the repository at this point in the history
* fixing docs

* Update Adding_Detectors_external.md
  • Loading branch information
dylanTruffle authored Jun 30, 2024
1 parent 9ad24f6 commit f404525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/docs/Adding_Detectors_external.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit f404525

Please sign in to comment.