update docs (#764)

This commit is contained in:
roxanne-tampus
2022-09-01 08:30:22 +08:00
committed by GitHub
parent 4c3c103b62
commit 5db6237f2a
2 changed files with 9 additions and 0 deletions
+4
View File
@@ -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
```
+5
View File
@@ -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
```