You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hack/docs/Adding_Detectors_external.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@ Note: Be sure to update the tests to reference the new secret values in GSM, or
53
53
54
54
3. Add a 'version' field in ExtraData for both existing and new detector versions.
55
55
56
-
4. Update the existing detector in DefaultDetectors in `/pkg/engine/defaults.go`
56
+
4. Update the existing detector in DefaultDetectors in `/pkg/engine/defaults/defaults.go`
57
57
58
58
5. Proceed from step 3 of [Creating a new Secret Scanner](#creating-a-new-secret-scanner)
59
59
@@ -71,8 +71,8 @@ Note: Be sure to update the tests to reference the new secret values in GSM, or
71
71
```
72
72
4. Add the Secret Detector to TruffleHog's Default Detectors
73
73
74
-
Add the secret scanner to the [`pkg/engine/defaults.go`](https://github.com/trufflesecurity/trufflehog/blob/main/pkg/engine/defaults.go) file like [`github.com/trufflesecurity/trufflehog/v3/pkg/detectors/<detector_name>`](https://github.com/trufflesecurity/trufflehog/blob/b71ea27a696bdf1c3141f637fda4ee4936c2f2d6/pkg/engine/defaults.go#L9) and
Add the secret scanner to the [`pkg/engine/defaults/defaults.go`](https://github.com/trufflesecurity/trufflehog/blob/main/pkg/engine/defaults/defaults.go) file like [`github.com/trufflesecurity/trufflehog/v3/pkg/detectors/<detector_name>`](https://github.com/trufflesecurity/trufflehog/blob/b71ea27a696bdf1c3141f637fda4ee4936c2f2d6/pkg/engine/defaults/defaults.go#L9) and
0 commit comments