mirror of
https://github.com/trufflesecurity/trufflehog.git
synced 2024-11-10 07:04:24 +00:00
update docs (#764)
This commit is contained in:
parent
4c3c103b62
commit
5db6237f2a
2 changed files with 9 additions and 0 deletions
|
@ -123,3 +123,7 @@ Do not embed test credentials in the test code. Instead, use GCP Secrets Manager
|
|||
```bash
|
||||
make protos
|
||||
```
|
||||
### Testing a detector
|
||||
```bash
|
||||
go test ./pkg/detectors/<detector> -tags=detectors
|
||||
```
|
||||
|
|
|
@ -100,3 +100,8 @@ Now, the detector test should attempt to load the given env key from that file.
|
|||
```bash
|
||||
make protos
|
||||
```
|
||||
|
||||
### Testing a detector
|
||||
```bash
|
||||
go test ./pkg/detectors/<detector> -tags=detectors
|
||||
```
|
Loading…
Reference in a new issue