Find, verify, and analyze leaked credentials
Go credentialsdevsecopsdynamic-analysisprecommitscanningsecretsecret-managementsecretssecuritysecurity-toolstrufflehogverification
Adding detectors (#46)
Dustin Decker86c2eb507b98
diff --git a/.gitattributes b/.gitattributesnew file mode 100644index 000000000..10d9fcbaa--- /dev/null+++ b/.gitattributes@@ -0,0 +1,2 @@+*.go text eol=lf+*.md text eol=lf\ No newline at end of filediff --git a/Makefile b/Makefileindex 1d9a1d55f..c5860346c 100644--- a/Makefile+++ b/Makefile@@ -43,3 +43,6 @@ run-debug:protos:docker run -u "$(shell id -u)" -v "$(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))":/pwd "${PROTOS_IMAGE}" bash -c "cd /pwd; /pwd/scripts/gen_proto.sh"++protos-windows:+ docker run -v "$(shell cygpath -w $(shell pwd))":/pwd "${PROTOS_IMAGE}" bash -c "cd /pwd; ./scripts/gen_proto.sh"diff --git a/hack/docs/Adding_Detectors.md b/hack/docs/Adding_Detectors.mdnew file mode 100644index 000000000..556fb4f5a--- /dev/null+++ b/hack/docs/Adding_Detectors.md@@ -0,0 +1,125 @@+# Secret Detectors++Secret Detectors have these two major functions:++1. Given some bytes, extract possible secrets, typically using a regex.+2. Validate the secrets against the target API, typically using a HTTP client.++The purpose of Secret Detectors is to discover secrets with exceptionally high signal. High rates of false positives are not accepted.++## Table of Contents++- [Secret Detectors](#secret-detectors)+ - [Table of Contents](#table-of-contents)+ - [Getting Started](#getting-started)+ - [Sourcing Guidelines](#sourcing-guidelines)+ - [Development Guidelines](#development-guidelines)+ - [Development Dependencies](#development-dependencies)+ - [Creating a new Secret Scanner](#creating-a-new-secret-detector)+ - [Addendum](#addendum)+ - [Managing Test Secrets](#managing-test-secrets)+ - [Setting up Google Cloud SDK](#setting-up-google-cloud-sdk)++## Getting Started++### Sourcing Guidelines++We are interested in detectors for services that meet at least one of these criteria+- host data (they store any sort of data provided)+- have paid services (having a free or trial tier is okay though)++If you think that something should be included outside of these guidelines, please let us know.++### Development Guidelines++- When reasonable, favor using the `net/http` library to make requests instead of bringing in another library.+- Use the [`common.SaneHttpClient`](pkg/common/http.go) for the `http.Client` whenever possible.+- We recommend an editor with gopls integration (such as Vscode with Go plugin) for benefits like easily running tests, autocompletion, linting, type checking, etc.++### Development Dependencies++- A GitLab account+- A Google account+- [Google Cloud SDK installed](#setting-up-google-cloud-sdk)+- Go 1.16+- Make++### Creating a new Secret Scanner++1. Identify the Secret Scanner name from the [proto/secrets.proto](proto/secrets.proto) `DetectorType` enum.++2. Generate the SecretScanner++ ```bash+ go run hack/generate/generate.go detector <DetectorType enum name>+ ```++3. Complete the secret detector.++ The previous step templated a boilerplate + some example code as a package in the `pkg/secrets` folder for you to work on.+ The secret detector can be completed with these general steps:++ 1. Add the test secret to GCP Secrets. See [managing test secrets](#managing-test-secrets)+ 2. Update the pattern regex and keywords. Try iterating with [regex101.com](http://regex101.com/).+ 3. Update the verifier code to use a non-destructive API call that can determine whether the secret is valid or not.+ 4. Update the tests with these test cases at minimum:+ 1. Found and verified (using a credential loaded from GCP Secrets)+ 2. Found and unverified+ 3. Not found+ 4. Any false positive cases that you come across+ 5. Create a merge request for review. CI tests must be passing.++## Addendum++### Managing Test Secrets++Do not embed test credentials in the test code. Instead, use GCP Secrets Manager.++1. Access the latest secret version for modification.++ Note: `/tmp/s` is a valid path on Linux. You will need to change that for Windows or OSX, otherwise you will see an error. On Windows you will also need to install [WSL](https://docs.microsoft.com/en-us/windows/wsl/install).++ ```bash+ gcloud secrets versions access --project thog-contractor-tests --secret detectors3 latest > /tmp/s+ ```++2. Add the secret that you need for testing.++ The command above saved it to `/tmp/s`.++ The format is standard env file format,++ ```bash+ SECRET_TYPE_ONE=value+ SECRET_TYPE_ONE_INACTIVE=v@lue+ ```++3. Update the secret version with your modification.++ ```bash+ gcloud secrets versions add --project thog-contractor-tests detectors3 --data-file /tmp/s+ ```++4. Access the secret value as shown in the [example code](pkg/secrets/heroku/heroku_test.go).++### Setting up Google Cloud SDK++1. Install the Google Cloud SDK: https://cloud.google.com/sdk/docs/install+2. Authenticate with `gcloud auth login --update-adc` using your Google account++### Adding Protos in Windows++1. Install Ubuntu App in Microsoft Store https://www.microsoft.com/en-us/p/ubuntu/9nblggh4msv6.+2. Install Docker Desktop https://www.docker.com/products/docker-desktop. Enable WSL integration to Ubuntu. In Docker app, go to Settings->Resources->WSL INTEGRATION->enable Ubuntu.+3. Open Ubuntu cli and install `dos2unix`.+ ```bash+ sudo apt install dos2unix+ ```+4. Identify the `trufflehog` local directory and convert `scripts/gen_proto.sh` file in Unix format.+ ```bash+ dos2unix ./scripts/gen_proto.sh+ ```+5. Open [proto/secrets.proto](proto/secrets.proto) file and add new detectors then save it. Make sure Docker is running and run this in Ubuntu command line.+ ```bash+ make protos+ ```diff --git a/hack/generate/generate.go b/hack/generate/generate.gonew file mode 100644index 000000000..a95251da7--- /dev/null+++ b/hack/generate/generate.go@@ -0,0 +1,126 @@+package main++import (+ "io/ioutil"+ "log"+ "os"+ "path/filepath"+ "strings"+ "text/template"++ "github.com/go-errors/errors"+ "gopkg.in/alecthomas/kingpin.v2"+)++var (+ app = kingpin.New("generate", "Generate is used to write new features.")+ kind = app.Arg("kind", "Kind of thing to generate.").Required().Enum("detector")+ name = app.Arg("name", "Name of the Source/Detector to generate.").Required().String()+ nameTitle, nameLower, nameUpper string+)++func main() {+ log.SetFlags(log.Lmsgprefix)+ log.SetPrefix("π² [generate] ")++ kingpin.MustParse(app.Parse(os.Args[1:]))+ nameTitle = strings.Title(*name)+ nameLower = strings.ToLower(*name)+ nameUpper = strings.ToUpper(*name)++ switch *kind {+ case "detector":+ mustWriteTemplates([]templateJob{+ {+ TemplatePath: "pkg/detectors/heroku/heroku.go",+ WritePath: filepath.Join(folderPath(), nameLower+".go"),+ ReplaceString: []string{"heroku"},+ },+ {+ TemplatePath: "pkg/detectors/heroku/heroku_test.go",+ WritePath: filepath.Join(folderPath(), nameLower+"_test.go"),+ ReplaceString: []string{"heroku"},+ },+ })+ // case "source":+ // mustWriteTemplates([]templateJob{+ // {+ // TemplatePath: "pkg/sources/filesystem/filesystem.go",+ // WritePath: filepath.Join(folderPath(), nameLower+".go"),+ // ReplaceString: []string{"filesystem"},+ // },+ // {+ // TemplatePath: "pkg/sources/filesystem/filesystem_test.go",+ // WritePath: filepath.Join(folderPath(), nameLower+"_test.go"),+ // ReplaceString: []string{"filesystem"},+ // },+ // })+ }+}++type templateJob struct {+ TemplatePath string+ WritePath string+ ReplaceString []string+}++func mustWriteTemplates(jobs []templateJob) {+ log.Printf("Generating %s %s\n", strings.Title(*kind), nameTitle)++ // Make the folder.+ log.Printf("Creating folder %s\n", folderPath())+ err := makeFolder(folderPath())+ if err != nil {+ log.Fatal(err)+ }++ // Write the files from templates.+ for _, job := range jobs {+ tmplBytes, err := ioutil.ReadFile(job.TemplatePath)+ if err != nil {+ log.Fatal(err)+ }+ tmplRaw := string(tmplBytes)++ for _, rplString := range job.ReplaceString {+ tmplRaw = strings.ReplaceAll(tmplRaw, strings.ToLower(rplString), "<<.NameLower>>")+ tmplRaw = strings.ReplaceAll(tmplRaw, strings.Title(rplString), "<<.NameTitle>>")+ tmplRaw = strings.ReplaceAll(tmplRaw, strings.ToUpper(rplString), "<<.NameUpper>>")+ }++ tmpl := template.Must(template.New("main").Delims("<<", ">>").Parse(tmplRaw))++ log.Printf("Writing file %s\n", job.WritePath)+ f, err := os.OpenFile(job.WritePath, os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0644)+ if err != nil {+ log.Fatal(err)+ }+ tmpl.Execute(f, templateData{+ NameTitle: nameTitle,+ NameLower: nameLower,+ NameUpper: nameUpper,+ })+ }+}++type templateData struct {+ NameTitle string+ NameLower string+ NameUpper string+}++func folderPath() string {+ return filepath.Join("pkg/", *kind+"s", nameLower)+}++func makeFolder(path string) error {+ _, err := os.Stat(path)+ if os.IsNotExist(err) {+ err := os.MkdirAll(path, 0755)+ if err != nil {+ return errors.New(err)+ }+ return nil+ }+ return errors.Errorf("%s %s already exists", *kind, *name)+}diff --git a/hack/generate/test.sh b/hack/generate/test.shnew file mode 100755index 000000000..6cb01a48c--- /dev/null+++ b/hack/generate/test.sh@@ -0,0 +1,16 @@+#!/usr/bin/env bash+set -eu++function cleanup {+ rm -rf pkg/detectors/test+}+trap cleanup EXIT++export CGO_ENABLED=0++export FORCE_PASS_DIFF=true++echo "ββββββββββββ Testing generate Detector"+go run hack/generate/generate.go detector Test+go test ./pkg/detectors/test -benchmem -bench .+echo ""diff --git a/pkg/detectors/abbysale/abbysale_test.go b/pkg/detectors/abbysale/abbysale_test.goindex f8315a5bb..4a690a183 100644--- a/pkg/detectors/abbysale/abbysale_test.go+++ b/pkg/detectors/abbysale/abbysale_test.go@@ -16,7 +16,7 @@ import (func TestAbbysale_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/abstract/abstract_test.go b/pkg/detectors/abstract/abstract_test.goindex 5a156d28e..7a701e592 100644--- a/pkg/detectors/abstract/abstract_test.go+++ b/pkg/detectors/abstract/abstract_test.go@@ -16,7 +16,7 @@ import (func TestAbstract_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/abuseipdb/abuseipdb_test.go b/pkg/detectors/abuseipdb/abuseipdb_test.goindex 8fdc8bc75..e1024e429 100644--- a/pkg/detectors/abuseipdb/abuseipdb_test.go+++ b/pkg/detectors/abuseipdb/abuseipdb_test.go@@ -16,7 +16,7 @@ import (func TestAbuseIPDB_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/accuweather/accuweather_test.go b/pkg/detectors/accuweather/accuweather_test.goindex 3328b93b3..faa3f8554 100644--- a/pkg/detectors/accuweather/accuweather_test.go+++ b/pkg/detectors/accuweather/accuweather_test.go@@ -16,7 +16,7 @@ import (func TestAccuweather_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/adafruitio/adafruitio_test.go b/pkg/detectors/adafruitio/adafruitio_test.goindex 0c2c3e732..201bffb5c 100644--- a/pkg/detectors/adafruitio/adafruitio_test.go+++ b/pkg/detectors/adafruitio/adafruitio_test.go@@ -16,7 +16,7 @@ import (func TestAdafruitIO_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/adobeio/adobeio_test.go b/pkg/detectors/adobeio/adobeio_test.goindex a49c42617..92957669f 100644--- a/pkg/detectors/adobeio/adobeio_test.go+++ b/pkg/detectors/adobeio/adobeio_test.go@@ -16,7 +16,7 @@ import (func TestAdobeIO_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/adzuna/adzuna_test.go b/pkg/detectors/adzuna/adzuna_test.goindex bf7c46f07..f4db9d834 100644--- a/pkg/detectors/adzuna/adzuna_test.go+++ b/pkg/detectors/adzuna/adzuna_test.go@@ -16,7 +16,7 @@ import (func TestAdzuna_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/agora/agora_test.go b/pkg/detectors/agora/agora_test.goindex eabda0ffc..d6c9691c0 100644--- a/pkg/detectors/agora/agora_test.go+++ b/pkg/detectors/agora/agora_test.go@@ -16,7 +16,7 @@ import (func TestAgora_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/airbrakeprojectkey/airbrakeprojectkey_test.go b/pkg/detectors/airbrakeprojectkey/airbrakeprojectkey_test.goindex 01ccc75f7..2f6e5d193 100644--- a/pkg/detectors/airbrakeprojectkey/airbrakeprojectkey_test.go+++ b/pkg/detectors/airbrakeprojectkey/airbrakeprojectkey_test.go@@ -16,7 +16,7 @@ import (func TestAirbrakeProjectKey_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/airbrakeuserkey/airbrakeuserkey_test.go b/pkg/detectors/airbrakeuserkey/airbrakeuserkey_test.goindex 924c416d8..3625e1b7f 100644--- a/pkg/detectors/airbrakeuserkey/airbrakeuserkey_test.go+++ b/pkg/detectors/airbrakeuserkey/airbrakeuserkey_test.go@@ -16,7 +16,7 @@ import (func TestAirbrakeUserKey_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/airship/airship_test.go b/pkg/detectors/airship/airship_test.goindex 4ccd3d7f9..dba5a57f5 100644--- a/pkg/detectors/airship/airship_test.go+++ b/pkg/detectors/airship/airship_test.go@@ -16,7 +16,7 @@ import (func TestAirship_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/airtableapikey/airtableapikey_test.go b/pkg/detectors/airtableapikey/airtableapikey_test.goindex 36e9f40ae..ec81ae905 100644--- a/pkg/detectors/airtableapikey/airtableapikey_test.go+++ b/pkg/detectors/airtableapikey/airtableapikey_test.go@@ -16,7 +16,7 @@ import (func TestAirtableApiKey_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/airvisual/airvisual_test.go b/pkg/detectors/airvisual/airvisual_test.goindex 737b5357e..5d9db652f 100644--- a/pkg/detectors/airvisual/airvisual_test.go+++ b/pkg/detectors/airvisual/airvisual_test.go@@ -16,7 +16,7 @@ import (func TestAirVisual_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/alconost/alconost_test.go b/pkg/detectors/alconost/alconost_test.goindex 9ab880650..4d0f0102d 100644--- a/pkg/detectors/alconost/alconost_test.go+++ b/pkg/detectors/alconost/alconost_test.go@@ -16,7 +16,7 @@ import (func TestAlconost_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/alegra/alegra_test.go b/pkg/detectors/alegra/alegra_test.goindex 8ec87eabc..4c96c7c3c 100644--- a/pkg/detectors/alegra/alegra_test.go+++ b/pkg/detectors/alegra/alegra_test.go@@ -16,7 +16,7 @@ import (func TestAlegra_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/aletheiaapi/aletheiaapi_test.go b/pkg/detectors/aletheiaapi/aletheiaapi_test.goindex 8134aa79c..61d4c143e 100644--- a/pkg/detectors/aletheiaapi/aletheiaapi_test.go+++ b/pkg/detectors/aletheiaapi/aletheiaapi_test.go@@ -16,7 +16,7 @@ import (func TestAletheiaApi_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/algoliaadminkey/algoliaadminkey_test.go b/pkg/detectors/algoliaadminkey/algoliaadminkey_test.goindex ed15f73ea..8d4030778 100644--- a/pkg/detectors/algoliaadminkey/algoliaadminkey_test.go+++ b/pkg/detectors/algoliaadminkey/algoliaadminkey_test.go@@ -16,7 +16,7 @@ import (func TestAlgoliaAdminKey_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/alibaba/alibaba_test.go b/pkg/detectors/alibaba/alibaba_test.goindex cd003aeef..8a5478e60 100644--- a/pkg/detectors/alibaba/alibaba_test.go+++ b/pkg/detectors/alibaba/alibaba_test.go@@ -15,7 +15,7 @@ import (func TestAlibaba_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/alienvault/alienvault_test.go b/pkg/detectors/alienvault/alienvault_test.goindex 6e1da563f..a15949c36 100644--- a/pkg/detectors/alienvault/alienvault_test.go+++ b/pkg/detectors/alienvault/alienvault_test.go@@ -16,7 +16,7 @@ import (func TestAlienVault_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/allsports/allsports_test.go b/pkg/detectors/allsports/allsports_test.goindex 0b46bd67d..831c8fb98 100644--- a/pkg/detectors/allsports/allsports_test.go+++ b/pkg/detectors/allsports/allsports_test.go@@ -16,7 +16,7 @@ import (func TestAllsports_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/amadeus/amadeus_test.go b/pkg/detectors/amadeus/amadeus_test.goindex 3dff545b5..6c58e20a1 100644--- a/pkg/detectors/amadeus/amadeus_test.go+++ b/pkg/detectors/amadeus/amadeus_test.go@@ -16,7 +16,7 @@ import (func TestAmadeus_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/ambee/ambee_test.go b/pkg/detectors/ambee/ambee_test.goindex 826cf6095..792328643 100644--- a/pkg/detectors/ambee/ambee_test.go+++ b/pkg/detectors/ambee/ambee_test.go@@ -16,7 +16,7 @@ import (func TestAmbee_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/amplitudeapikey/amplitudeapikey_test.go b/pkg/detectors/amplitudeapikey/amplitudeapikey_test.goindex 99ad3b932..67df8af1f 100644--- a/pkg/detectors/amplitudeapikey/amplitudeapikey_test.go+++ b/pkg/detectors/amplitudeapikey/amplitudeapikey_test.go@@ -16,7 +16,7 @@ import (func TestAmplitudeApiKey_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/anypoint/anypoint_test.go b/pkg/detectors/anypoint/anypoint_test.goindex d1c609dc8..911badc26 100644--- a/pkg/detectors/anypoint/anypoint_test.go+++ b/pkg/detectors/anypoint/anypoint_test.go@@ -16,7 +16,7 @@ import (func TestAnypoint_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/apacta/apacta_test.go b/pkg/detectors/apacta/apacta_test.goindex fd9b729b9..355c808c3 100644--- a/pkg/detectors/apacta/apacta_test.go+++ b/pkg/detectors/apacta/apacta_test.go@@ -16,7 +16,7 @@ import (func TestApacta_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/api2cart/api2cart_test.go b/pkg/detectors/api2cart/api2cart_test.goindex a9d6b8829..7d3c1e5d3 100644--- a/pkg/detectors/api2cart/api2cart_test.go+++ b/pkg/detectors/api2cart/api2cart_test.go@@ -16,7 +16,7 @@ import (func TestApi2Cart_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/apideck/apideck_test.go b/pkg/detectors/apideck/apideck_test.goindex d6a2513ab..7498514bb 100644--- a/pkg/detectors/apideck/apideck_test.go+++ b/pkg/detectors/apideck/apideck_test.go@@ -16,7 +16,7 @@ import (func TestApiDeck_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/apiflash/apiflash_test.go b/pkg/detectors/apiflash/apiflash_test.goindex 5e8f405e6..b17cb458c 100644--- a/pkg/detectors/apiflash/apiflash_test.go+++ b/pkg/detectors/apiflash/apiflash_test.go@@ -16,7 +16,7 @@ import (func TestApiflash_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/apifonica/apifonica_test.go b/pkg/detectors/apifonica/apifonica_test.goindex 7419f0420..3ea378080 100644--- a/pkg/detectors/apifonica/apifonica_test.go+++ b/pkg/detectors/apifonica/apifonica_test.go@@ -16,7 +16,7 @@ import (func TestApifonica_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/apify/apify_test.go b/pkg/detectors/apify/apify_test.goindex 2734103e2..a9227f7d4 100644--- a/pkg/detectors/apify/apify_test.go+++ b/pkg/detectors/apify/apify_test.go@@ -16,7 +16,7 @@ import (func TestApify_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/apimatic/apimatic_test.go b/pkg/detectors/apimatic/apimatic_test.goindex 139ebdb78..759e1e8ed 100644--- a/pkg/detectors/apimatic/apimatic_test.go+++ b/pkg/detectors/apimatic/apimatic_test.go@@ -16,7 +16,7 @@ import (func TestAPIMatic_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/apiscience/apiscience_test.go b/pkg/detectors/apiscience/apiscience_test.goindex b237c1620..6b4e6d6cf 100644--- a/pkg/detectors/apiscience/apiscience_test.go+++ b/pkg/detectors/apiscience/apiscience_test.go@@ -16,7 +16,7 @@ import (func TestApiScience_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/apollo/apollo_test.go b/pkg/detectors/apollo/apollo_test.goindex 1da2c234c..1ccb5ffa7 100644--- a/pkg/detectors/apollo/apollo_test.go+++ b/pkg/detectors/apollo/apollo_test.go@@ -16,7 +16,7 @@ import (func TestApollo_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/appcues/appcues_test.go b/pkg/detectors/appcues/appcues_test.goindex 8251891a7..ba2b4122d 100644--- a/pkg/detectors/appcues/appcues_test.go+++ b/pkg/detectors/appcues/appcues_test.go@@ -16,7 +16,7 @@ import (func TestAppcues_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/appfollow/appfollow_test.go b/pkg/detectors/appfollow/appfollow_test.goindex 32a4e6d77..7c9d13bf7 100644--- a/pkg/detectors/appfollow/appfollow_test.go+++ b/pkg/detectors/appfollow/appfollow_test.go@@ -16,7 +16,7 @@ import (func TestAppfollow_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/appsynergy/appsynergy_test.go b/pkg/detectors/appsynergy/appsynergy_test.goindex 4c72f895d..97c404fca 100644--- a/pkg/detectors/appsynergy/appsynergy_test.go+++ b/pkg/detectors/appsynergy/appsynergy_test.go@@ -16,7 +16,7 @@ import (func TestAppSynergy_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/apptivo/apptivo_test.go b/pkg/detectors/apptivo/apptivo_test.goindex 6ad381e23..c7dfbdb24 100644--- a/pkg/detectors/apptivo/apptivo_test.go+++ b/pkg/detectors/apptivo/apptivo_test.go@@ -16,7 +16,7 @@ import (func TestApptivo_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/artifactory/artifactory_test.go b/pkg/detectors/artifactory/artifactory_test.goindex 2323c60db..a3ee58b9c 100644--- a/pkg/detectors/artifactory/artifactory_test.go+++ b/pkg/detectors/artifactory/artifactory_test.go@@ -16,7 +16,7 @@ import (func TestArtifactory_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/artsy/artsy_test.go b/pkg/detectors/artsy/artsy_test.goindex 2175d9fbd..b03bc7417 100644--- a/pkg/detectors/artsy/artsy_test.go+++ b/pkg/detectors/artsy/artsy_test.go@@ -16,7 +16,7 @@ import (func TestArtsy_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/asanaoauth/asanaoauth_test.go b/pkg/detectors/asanaoauth/asanaoauth_test.goindex aec60aba1..6ebc212df 100644--- a/pkg/detectors/asanaoauth/asanaoauth_test.go+++ b/pkg/detectors/asanaoauth/asanaoauth_test.go@@ -16,7 +16,7 @@ import (func TestAsanaOauth_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/asanapersonalaccesstoken/asanapersonalaccesstoken_test.go b/pkg/detectors/asanapersonalaccesstoken/asanapersonalaccesstoken_test.goindex 9bf2c5a0f..b07c81a25 100644--- a/pkg/detectors/asanapersonalaccesstoken/asanapersonalaccesstoken_test.go+++ b/pkg/detectors/asanapersonalaccesstoken/asanapersonalaccesstoken_test.go@@ -16,7 +16,7 @@ import (func TestAsanaPersonalAccessToken_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/assemblyai/assemblyai_test.go b/pkg/detectors/assemblyai/assemblyai_test.goindex b50926cbd..6ba70c205 100644--- a/pkg/detectors/assemblyai/assemblyai_test.go+++ b/pkg/detectors/assemblyai/assemblyai_test.go@@ -16,7 +16,7 @@ import (func TestAssemblyai_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/audd/audd_test.go b/pkg/detectors/audd/audd_test.goindex 2ba6b8da5..c92b2de3d 100644--- a/pkg/detectors/audd/audd_test.go+++ b/pkg/detectors/audd/audd_test.go@@ -16,7 +16,7 @@ import (func TestAudd_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/auth0managementapitoken/auth0managementapitoken_test.go b/pkg/detectors/auth0managementapitoken/auth0managementapitoken_test.goindex 4ae21c7bf..e901aae23 100644--- a/pkg/detectors/auth0managementapitoken/auth0managementapitoken_test.go+++ b/pkg/detectors/auth0managementapitoken/auth0managementapitoken_test.go@@ -16,7 +16,7 @@ import (func TestAuth0ManagementApiToken_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/auth0oauth/auth0oauth_test.go b/pkg/detectors/auth0oauth/auth0oauth_test.goindex e4276e048..316c19296 100644--- a/pkg/detectors/auth0oauth/auth0oauth_test.go+++ b/pkg/detectors/auth0oauth/auth0oauth_test.go@@ -16,7 +16,7 @@ import (func TestAuth0oauth_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/autodesk/autodesk_test.go b/pkg/detectors/autodesk/autodesk_test.goindex 6922c198c..f5eea59b0 100644--- a/pkg/detectors/autodesk/autodesk_test.go+++ b/pkg/detectors/autodesk/autodesk_test.go@@ -16,7 +16,7 @@ import (func TestAutodesk_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/autoklose/autoklose_test.go b/pkg/detectors/autoklose/autoklose_test.goindex 707045b2f..77363f924 100644--- a/pkg/detectors/autoklose/autoklose_test.go+++ b/pkg/detectors/autoklose/autoklose_test.go@@ -16,7 +16,7 @@ import (func TestAutoklose_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/autopilot/autopilot_test.go b/pkg/detectors/autopilot/autopilot_test.goindex cf6a87fe4..cd8dd6a3e 100644--- a/pkg/detectors/autopilot/autopilot_test.go+++ b/pkg/detectors/autopilot/autopilot_test.go@@ -16,7 +16,7 @@ import (func TestAutoPilot_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/aviationstack/aviationstack_test.go b/pkg/detectors/aviationstack/aviationstack_test.goindex 9cc5603b0..32c0674b0 100644--- a/pkg/detectors/aviationstack/aviationstack_test.go+++ b/pkg/detectors/aviationstack/aviationstack_test.go@@ -16,7 +16,7 @@ import (func TestAviationStack_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/aws/aws_test.go b/pkg/detectors/aws/aws_test.goindex d1c5f067d..8649104ab 100644--- a/pkg/detectors/aws/aws_test.go+++ b/pkg/detectors/aws/aws_test.go@@ -18,7 +18,7 @@ func TestScanner_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}@@ -117,7 +117,7 @@ func BenchmarkFromData(benchmark *testing.B) {func Test_callerIdentity(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/axonaut/axonaut_test.go b/pkg/detectors/axonaut/axonaut_test.goindex 776cb103b..78e1af1af 100644--- a/pkg/detectors/axonaut/axonaut_test.go+++ b/pkg/detectors/axonaut/axonaut_test.go@@ -16,7 +16,7 @@ import (func TestAxonaut_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/aylien/aylien_test.go b/pkg/detectors/aylien/aylien_test.goindex c12cde2eb..b266b92d6 100644--- a/pkg/detectors/aylien/aylien_test.go+++ b/pkg/detectors/aylien/aylien_test.go@@ -16,7 +16,7 @@ import (func TestAylien_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/ayrshare/ayrshare_test.go b/pkg/detectors/ayrshare/ayrshare_test.goindex 0dad962a3..45ef7f7ea 100644--- a/pkg/detectors/ayrshare/ayrshare_test.go+++ b/pkg/detectors/ayrshare/ayrshare_test.go@@ -16,7 +16,7 @@ import (func TestAyrshare_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/azure/azure_test.go b/pkg/detectors/azure/azure_test.goindex 8a1d2b62b..1bd0c076b 100644--- a/pkg/detectors/azure/azure_test.go+++ b/pkg/detectors/azure/azure_test.go@@ -15,7 +15,7 @@ import (func TestAzure_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/bannerbear/bannerbear_test.go b/pkg/detectors/bannerbear/bannerbear_test.goindex 8f0dc35f2..e3426be2a 100644--- a/pkg/detectors/bannerbear/bannerbear_test.go+++ b/pkg/detectors/bannerbear/bannerbear_test.go@@ -16,7 +16,7 @@ import (func TestBannerbear_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/baremetrics/baremetrics_test.go b/pkg/detectors/baremetrics/baremetrics_test.goindex cf8f9b95f..1ce9d16ab 100644--- a/pkg/detectors/baremetrics/baremetrics_test.go+++ b/pkg/detectors/baremetrics/baremetrics_test.go@@ -16,7 +16,7 @@ import (func TestBaremetrics_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/baseapiio/baseapiio_test.go b/pkg/detectors/baseapiio/baseapiio_test.goindex cd4e671d1..454c0b5cb 100644--- a/pkg/detectors/baseapiio/baseapiio_test.go+++ b/pkg/detectors/baseapiio/baseapiio_test.go@@ -16,7 +16,7 @@ import (func TestBaseApiIO_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/beamer/beamer_test.go b/pkg/detectors/beamer/beamer_test.goindex 59794f9e1..e32f8dbcc 100644--- a/pkg/detectors/beamer/beamer_test.go+++ b/pkg/detectors/beamer/beamer_test.go@@ -16,7 +16,7 @@ import (func TestBeamer_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/beebole/beebole_test.go b/pkg/detectors/beebole/beebole_test.goindex 6046f7111..d7d6d1673 100644--- a/pkg/detectors/beebole/beebole_test.go+++ b/pkg/detectors/beebole/beebole_test.go@@ -16,7 +16,7 @@ import (func TestBeebole_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/besttime/besttime_test.go b/pkg/detectors/besttime/besttime_test.goindex 78cd4a23b..2d1243bc9 100644--- a/pkg/detectors/besttime/besttime_test.go+++ b/pkg/detectors/besttime/besttime_test.go@@ -16,7 +16,7 @@ import (func TestBesttime_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/billomat/billomat_test.go b/pkg/detectors/billomat/billomat_test.goindex 8c5c527a6..95118b813 100644--- a/pkg/detectors/billomat/billomat_test.go+++ b/pkg/detectors/billomat/billomat_test.go@@ -16,7 +16,7 @@ import (func TestBillomat_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/bitbar/bitbar_test.go b/pkg/detectors/bitbar/bitbar_test.goindex 81e046499..9477cbcc7 100644--- a/pkg/detectors/bitbar/bitbar_test.go+++ b/pkg/detectors/bitbar/bitbar_test.go@@ -16,7 +16,7 @@ import (func TestBitbar_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/bitcoinaverage/bitcoinaverage_test.go b/pkg/detectors/bitcoinaverage/bitcoinaverage_test.goindex 75cd8b984..f649eb127 100644--- a/pkg/detectors/bitcoinaverage/bitcoinaverage_test.go+++ b/pkg/detectors/bitcoinaverage/bitcoinaverage_test.go@@ -16,7 +16,7 @@ import (func TestBitcoinAverage_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/bitfinex/bitfinex_test.go b/pkg/detectors/bitfinex/bitfinex_test.goindex cc4f00bf1..bcea6b2ba 100644--- a/pkg/detectors/bitfinex/bitfinex_test.go+++ b/pkg/detectors/bitfinex/bitfinex_test.go@@ -16,7 +16,7 @@ import (func TestBitfinex_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/bitlyaccesstoken/bitlyaccesstoken_test.go b/pkg/detectors/bitlyaccesstoken/bitlyaccesstoken_test.goindex e6e72376d..0255117d7 100644--- a/pkg/detectors/bitlyaccesstoken/bitlyaccesstoken_test.go+++ b/pkg/detectors/bitlyaccesstoken/bitlyaccesstoken_test.go@@ -16,7 +16,7 @@ import (func TestBitLyAccessToken_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/bitmex/bitmex_test.go b/pkg/detectors/bitmex/bitmex_test.goindex dd3fa3f97..95b91559c 100644--- a/pkg/detectors/bitmex/bitmex_test.go+++ b/pkg/detectors/bitmex/bitmex_test.go@@ -16,7 +16,7 @@ import (func TestBitmex_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/blablabus/blablabus_test.go b/pkg/detectors/blablabus/blablabus_test.goindex ff1b7ee3c..e20e5708d 100644--- a/pkg/detectors/blablabus/blablabus_test.go+++ b/pkg/detectors/blablabus/blablabus_test.go@@ -16,7 +16,7 @@ import (func TestBlablabus_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/blazemeter/blazemeter_test.go b/pkg/detectors/blazemeter/blazemeter_test.goindex 3d527695a..8e39effc6 100644--- a/pkg/detectors/blazemeter/blazemeter_test.go+++ b/pkg/detectors/blazemeter/blazemeter_test.go@@ -16,7 +16,7 @@ import (func TestBlazemeter_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/blitapp/blitapp_test.go b/pkg/detectors/blitapp/blitapp_test.goindex c4a488cc2..2550859f8 100644--- a/pkg/detectors/blitapp/blitapp_test.go+++ b/pkg/detectors/blitapp/blitapp_test.go@@ -16,7 +16,7 @@ import (func TestBlitApp_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/blogger/blogger_test.go b/pkg/detectors/blogger/blogger_test.goindex 7807e49a3..7c4db95f7 100644--- a/pkg/detectors/blogger/blogger_test.go+++ b/pkg/detectors/blogger/blogger_test.go@@ -16,7 +16,7 @@ import (func TestBlogger_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/bombbomb/bombbomb_test.go b/pkg/detectors/bombbomb/bombbomb_test.goindex 0ff68b548..02f932516 100644--- a/pkg/detectors/bombbomb/bombbomb_test.go+++ b/pkg/detectors/bombbomb/bombbomb_test.go@@ -16,7 +16,7 @@ import (func TestBombBomb_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/brandfetch/brandfetch_test.go b/pkg/detectors/brandfetch/brandfetch_test.goindex 2b58f5a46..79d64bba2 100644--- a/pkg/detectors/brandfetch/brandfetch_test.go+++ b/pkg/detectors/brandfetch/brandfetch_test.go@@ -16,7 +16,7 @@ import (func TestBrandfetch_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/browshot/browshot_test.go b/pkg/detectors/browshot/browshot_test.goindex a051101e4..864ca27da 100644--- a/pkg/detectors/browshot/browshot_test.go+++ b/pkg/detectors/browshot/browshot_test.go@@ -16,7 +16,7 @@ import (func TestBrowshot_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/buddyns/buddyns_test.go b/pkg/detectors/buddyns/buddyns_test.goindex 73bf5713b..cb7824a5d 100644--- a/pkg/detectors/buddyns/buddyns_test.go+++ b/pkg/detectors/buddyns/buddyns_test.go@@ -16,7 +16,7 @@ import (func TestBuddyns_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/bugherd/bugherd_test.go b/pkg/detectors/bugherd/bugherd_test.goindex 3e886dde5..9bf4fb90b 100644--- a/pkg/detectors/bugherd/bugherd_test.go+++ b/pkg/detectors/bugherd/bugherd_test.go@@ -16,7 +16,7 @@ import (func TestBugherd_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/bugsnag/bugsnag_test.go b/pkg/detectors/bugsnag/bugsnag_test.goindex 5d605373d..4c071206c 100644--- a/pkg/detectors/bugsnag/bugsnag_test.go+++ b/pkg/detectors/bugsnag/bugsnag_test.go@@ -16,7 +16,7 @@ import (func TestBugsnag_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/buildkite/buildkite_test.go b/pkg/detectors/buildkite/buildkite_test.goindex 3d6242ea9..e9d55006c 100644--- a/pkg/detectors/buildkite/buildkite_test.go+++ b/pkg/detectors/buildkite/buildkite_test.go@@ -16,7 +16,7 @@ import (func TestBuildkite_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/bulbul/bulbul_test.go b/pkg/detectors/bulbul/bulbul_test.goindex 741cb4bdb..8713a62a7 100644--- a/pkg/detectors/bulbul/bulbul_test.go+++ b/pkg/detectors/bulbul/bulbul_test.go@@ -16,7 +16,7 @@ import (func TestBulbul_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/buttercms/buttercms_test.go b/pkg/detectors/buttercms/buttercms_test.goindex e533620f2..438a9dbbe 100644--- a/pkg/detectors/buttercms/buttercms_test.go+++ b/pkg/detectors/buttercms/buttercms_test.go@@ -16,7 +16,7 @@ import (func TestButterCMS_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/caflou/caflou_test.go b/pkg/detectors/caflou/caflou_test.goindex 4bf450635..4907f7dc5 100644--- a/pkg/detectors/caflou/caflou_test.go+++ b/pkg/detectors/caflou/caflou_test.go@@ -16,7 +16,7 @@ import (func TestCaflou_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/calendarific/calendarific_test.go b/pkg/detectors/calendarific/calendarific_test.goindex 1e251c7d8..0e9ef7fa8 100644--- a/pkg/detectors/calendarific/calendarific_test.go+++ b/pkg/detectors/calendarific/calendarific_test.go@@ -16,7 +16,7 @@ import (func TestCalendarific_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/calendlyapikey/calendlyapikey_test.go b/pkg/detectors/calendlyapikey/calendlyapikey_test.goindex 331e8e04a..2b2e73d7f 100644--- a/pkg/detectors/calendlyapikey/calendlyapikey_test.go+++ b/pkg/detectors/calendlyapikey/calendlyapikey_test.go@@ -16,7 +16,7 @@ import (func TestCalendlyApiKey_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/calorieninja/calorieninja_test.go b/pkg/detectors/calorieninja/calorieninja_test.goindex b0ee779c3..ccc8c89b1 100644--- a/pkg/detectors/calorieninja/calorieninja_test.go+++ b/pkg/detectors/calorieninja/calorieninja_test.go@@ -16,7 +16,7 @@ import (func TestCalorieninja_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/campayn/campayn_test.go b/pkg/detectors/campayn/campayn_test.goindex 4b8d8b0a0..834294211 100644--- a/pkg/detectors/campayn/campayn_test.go+++ b/pkg/detectors/campayn/campayn_test.go@@ -16,7 +16,7 @@ import (func TestCampayn_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/cannyio/cannyio_test.go b/pkg/detectors/cannyio/cannyio_test.goindex d27586806..4a01c841a 100644--- a/pkg/detectors/cannyio/cannyio_test.go+++ b/pkg/detectors/cannyio/cannyio_test.go@@ -16,7 +16,7 @@ import (func TestCannyIo_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/capsulecrm/capsulecrm_test.go b/pkg/detectors/capsulecrm/capsulecrm_test.goindex 25adc3745..5aa01aa6c 100644--- a/pkg/detectors/capsulecrm/capsulecrm_test.go+++ b/pkg/detectors/capsulecrm/capsulecrm_test.go@@ -16,7 +16,7 @@ import (func TestCapsuleCRM_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/carboninterface/carboninterface_test.go b/pkg/detectors/carboninterface/carboninterface_test.goindex 824d88953..5b9b12fdb 100644--- a/pkg/detectors/carboninterface/carboninterface_test.go+++ b/pkg/detectors/carboninterface/carboninterface_test.go@@ -16,7 +16,7 @@ import (func TestCarbonInterface_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/cashboard/cashboard_test.go b/pkg/detectors/cashboard/cashboard_test.goindex 83315542c..f2ba3025a 100644--- a/pkg/detectors/cashboard/cashboard_test.go+++ b/pkg/detectors/cashboard/cashboard_test.go@@ -16,7 +16,7 @@ import (func TestCashboard_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/censys/censys_test.go b/pkg/detectors/censys/censys_test.goindex 19e1995be..d1d88c60a 100644--- a/pkg/detectors/censys/censys_test.go+++ b/pkg/detectors/censys/censys_test.go@@ -16,7 +16,7 @@ import (func TestCensys_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/centralstationcrm/centralstationcrm_test.go b/pkg/detectors/centralstationcrm/centralstationcrm_test.goindex 2e79402e1..b06497dd3 100644--- a/pkg/detectors/centralstationcrm/centralstationcrm_test.go+++ b/pkg/detectors/centralstationcrm/centralstationcrm_test.go@@ -16,7 +16,7 @@ import (func TestCentralStationCRM_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/chatbot/chatbot_test.go b/pkg/detectors/chatbot/chatbot_test.goindex 9ff1675e2..9d8128007 100644--- a/pkg/detectors/chatbot/chatbot_test.go+++ b/pkg/detectors/chatbot/chatbot_test.go@@ -16,7 +16,7 @@ import (func TestChatbot_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/checio/checio_test.go b/pkg/detectors/checio/checio_test.goindex 76093e0e4..d7bf53403 100644--- a/pkg/detectors/checio/checio_test.go+++ b/pkg/detectors/checio/checio_test.go@@ -16,7 +16,7 @@ import (func TestChecIO_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/checklyhq/checklyhq_test.go b/pkg/detectors/checklyhq/checklyhq_test.goindex 901cbf9e2..64d659011 100644--- a/pkg/detectors/checklyhq/checklyhq_test.go+++ b/pkg/detectors/checklyhq/checklyhq_test.go@@ -16,7 +16,7 @@ import (func TestChecklyHQ_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/checkout/checkout_test.go b/pkg/detectors/checkout/checkout_test.goindex 72358b776..6b81efa34 100644--- a/pkg/detectors/checkout/checkout_test.go+++ b/pkg/detectors/checkout/checkout_test.go@@ -16,7 +16,7 @@ import (func TestCheckout_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/cicero/cicero_test.go b/pkg/detectors/cicero/cicero_test.goindex 0a3bbd609..211482f57 100644--- a/pkg/detectors/cicero/cicero_test.go+++ b/pkg/detectors/cicero/cicero_test.go@@ -16,7 +16,7 @@ import (func TestCicero_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/circleci/circleci_test.go b/pkg/detectors/circleci/circleci_test.goindex 19b6c37cb..318541b04 100644--- a/pkg/detectors/circleci/circleci_test.go+++ b/pkg/detectors/circleci/circleci_test.go@@ -16,7 +16,7 @@ import (func TestCircleCI_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/clarifai/clarifai_test.go b/pkg/detectors/clarifai/clarifai_test.goindex e55b5c7f3..5fde7b34a 100644--- a/pkg/detectors/clarifai/clarifai_test.go+++ b/pkg/detectors/clarifai/clarifai_test.go@@ -16,7 +16,7 @@ import (func TestClarifai_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/clearbit/clearbit_test.go b/pkg/detectors/clearbit/clearbit_test.goindex abed9608e..15010185e 100644--- a/pkg/detectors/clearbit/clearbit_test.go+++ b/pkg/detectors/clearbit/clearbit_test.go@@ -16,7 +16,7 @@ import (func TestClearbit_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/clickhelp/clickhelp_test.go b/pkg/detectors/clickhelp/clickhelp_test.goindex 41109e9cc..ec79a058a 100644--- a/pkg/detectors/clickhelp/clickhelp_test.go+++ b/pkg/detectors/clickhelp/clickhelp_test.go@@ -16,7 +16,7 @@ import (func TestClickhelp_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/clicksendsms/clicksendsms_test.go b/pkg/detectors/clicksendsms/clicksendsms_test.goindex 9f70ed59c..f852b6408 100644--- a/pkg/detectors/clicksendsms/clicksendsms_test.go+++ b/pkg/detectors/clicksendsms/clicksendsms_test.go@@ -16,7 +16,7 @@ import (func TestClickSendsms_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/clickuppersonaltoken/clickuppersonaltoken_test.go b/pkg/detectors/clickuppersonaltoken/clickuppersonaltoken_test.goindex 16861de50..d77bc6ec6 100644--- a/pkg/detectors/clickuppersonaltoken/clickuppersonaltoken_test.go+++ b/pkg/detectors/clickuppersonaltoken/clickuppersonaltoken_test.go@@ -16,7 +16,7 @@ import (func TestClickupPersonalToken_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/clinchpad/clinchpad_test.go b/pkg/detectors/clinchpad/clinchpad_test.goindex 3c94a288e..ce5335df5 100644--- a/pkg/detectors/clinchpad/clinchpad_test.go+++ b/pkg/detectors/clinchpad/clinchpad_test.go@@ -16,7 +16,7 @@ import (func TestClinchpad_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/clockify/clockify_test.go b/pkg/detectors/clockify/clockify_test.goindex ce8d635b6..82c8f060f 100644--- a/pkg/detectors/clockify/clockify_test.go+++ b/pkg/detectors/clockify/clockify_test.go@@ -16,7 +16,7 @@ import (func TestClockify_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/clockworksms/clockworksms_test.go b/pkg/detectors/clockworksms/clockworksms_test.goindex 9d143b8ef..d58c975f9 100644--- a/pkg/detectors/clockworksms/clockworksms_test.go+++ b/pkg/detectors/clockworksms/clockworksms_test.go@@ -16,7 +16,7 @@ import (func TestClockworksms_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/closecrm/close_test.go b/pkg/detectors/closecrm/close_test.goindex 76d3005d6..00fc109c2 100644--- a/pkg/detectors/closecrm/close_test.go+++ b/pkg/detectors/closecrm/close_test.go@@ -16,7 +16,7 @@ import (func TestClose_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/cloudelements/cloudelements_test.go b/pkg/detectors/cloudelements/cloudelements_test.goindex 8d2d9df0a..788cfd0af 100644--- a/pkg/detectors/cloudelements/cloudelements_test.go+++ b/pkg/detectors/cloudelements/cloudelements_test.go@@ -16,7 +16,7 @@ import (func TestCloudElements_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/cloudflareapitoken/cloudflareapitoken_test.go b/pkg/detectors/cloudflareapitoken/cloudflareapitoken_test.goindex 86386dc2b..4a9259982 100644--- a/pkg/detectors/cloudflareapitoken/cloudflareapitoken_test.go+++ b/pkg/detectors/cloudflareapitoken/cloudflareapitoken_test.go@@ -16,7 +16,7 @@ import (func TestCloudflareApiToken_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/cloudflarecakey/cloudflarecakey_test.go b/pkg/detectors/cloudflarecakey/cloudflarecakey_test.goindex 8d91c0b7c..502951c16 100644--- a/pkg/detectors/cloudflarecakey/cloudflarecakey_test.go+++ b/pkg/detectors/cloudflarecakey/cloudflarecakey_test.go@@ -16,7 +16,7 @@ import (func TestCloudflareCaKey_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/cloudflareglobalapikey/cloudflareglobalapikey_test.go b/pkg/detectors/cloudflareglobalapikey/cloudflareglobalapikey_test.goindex ea43d6557..7a511fb27 100644--- a/pkg/detectors/cloudflareglobalapikey/cloudflareglobalapikey_test.go+++ b/pkg/detectors/cloudflareglobalapikey/cloudflareglobalapikey_test.go@@ -16,7 +16,7 @@ import (func TestCloudflareGlobalApiKey_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/cloudmersive/cloudmersive_test.go b/pkg/detectors/cloudmersive/cloudmersive_test.goindex cae6f3a68..9c6051418 100644--- a/pkg/detectors/cloudmersive/cloudmersive_test.go+++ b/pkg/detectors/cloudmersive/cloudmersive_test.go@@ -16,7 +16,7 @@ import (func TestCloudmersive_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/cloudplan/cloudplan_test.go b/pkg/detectors/cloudplan/cloudplan_test.goindex 036020184..7676c121d 100644--- a/pkg/detectors/cloudplan/cloudplan_test.go+++ b/pkg/detectors/cloudplan/cloudplan_test.go@@ -16,7 +16,7 @@ import (func TestCloudplan_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/cloverly/cloverly_test.go b/pkg/detectors/cloverly/cloverly_test.goindex f237e024f..0004907c4 100644--- a/pkg/detectors/cloverly/cloverly_test.go+++ b/pkg/detectors/cloverly/cloverly_test.go@@ -16,7 +16,7 @@ import (func TestCloverly_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/clustdoc/clustdoc_test.go b/pkg/detectors/clustdoc/clustdoc_test.goindex 69488a2e6..3bab2ec44 100644--- a/pkg/detectors/clustdoc/clustdoc_test.go+++ b/pkg/detectors/clustdoc/clustdoc_test.go@@ -16,7 +16,7 @@ import (func TestClustDoc_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/codacy/codacy_test.go b/pkg/detectors/codacy/codacy_test.goindex c53243abd..ad59e5c6e 100644--- a/pkg/detectors/codacy/codacy_test.go+++ b/pkg/detectors/codacy/codacy_test.go@@ -16,7 +16,7 @@ import (func TestCodacy_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/coinapi/coinapi_test.go b/pkg/detectors/coinapi/coinapi_test.goindex 91d7a1684..daeef625b 100644--- a/pkg/detectors/coinapi/coinapi_test.go+++ b/pkg/detectors/coinapi/coinapi_test.go@@ -16,7 +16,7 @@ import (func TestCoinApi_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/coinbase/coinbase_test.go b/pkg/detectors/coinbase/coinbase_test.goindex d37c224cc..0dfcdc310 100644--- a/pkg/detectors/coinbase/coinbase_test.go+++ b/pkg/detectors/coinbase/coinbase_test.go@@ -16,7 +16,7 @@ package coinbase// func TestCoinbase_FromChunk(t *testing.T) {// ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)// defer cancel()-// testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+// testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")// if err != nil {// t.Fatalf("could not get test secrets from GCP: %s", err)// }diff --git a/pkg/detectors/coinlayer/coinlayer_test.go b/pkg/detectors/coinlayer/coinlayer_test.goindex 29e2dec6c..c47149dfe 100644--- a/pkg/detectors/coinlayer/coinlayer_test.go+++ b/pkg/detectors/coinlayer/coinlayer_test.go@@ -16,7 +16,7 @@ import (func TestCoinlayer_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/coinlib/coinlib_test.go b/pkg/detectors/coinlib/coinlib_test.goindex 041974205..2a2515836 100644--- a/pkg/detectors/coinlib/coinlib_test.go+++ b/pkg/detectors/coinlib/coinlib_test.go@@ -16,7 +16,7 @@ import (func TestCoinlib_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/commercejs/commercejs_test.go b/pkg/detectors/commercejs/commercejs_test.goindex c58f84a4e..41164334a 100644--- a/pkg/detectors/commercejs/commercejs_test.go+++ b/pkg/detectors/commercejs/commercejs_test.go@@ -16,7 +16,7 @@ import (func TestCommerceJS_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/commodities/commodities_test.go b/pkg/detectors/commodities/commodities_test.goindex 659bff106..3e4a16f45 100644--- a/pkg/detectors/commodities/commodities_test.go+++ b/pkg/detectors/commodities/commodities_test.go@@ -16,7 +16,7 @@ import (func TestCommodities_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/companyhub/companyhub_test.go b/pkg/detectors/companyhub/companyhub_test.goindex 508b1768a..cd8546295 100644--- a/pkg/detectors/companyhub/companyhub_test.go+++ b/pkg/detectors/companyhub/companyhub_test.go@@ -16,7 +16,7 @@ import (func TestCompanyHub_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/confluent/confluent_test.go b/pkg/detectors/confluent/confluent_test.goindex 34c26c919..67f85bc84 100644--- a/pkg/detectors/confluent/confluent_test.go+++ b/pkg/detectors/confluent/confluent_test.go@@ -16,7 +16,7 @@ import (func TestConfluent_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/contentfulpersonalaccesstoken/contentfulpersonalaccesstoken_test.go b/pkg/detectors/contentfulpersonalaccesstoken/contentfulpersonalaccesstoken_test.goindex fc80f82cd..5932bb641 100644--- a/pkg/detectors/contentfulpersonalaccesstoken/contentfulpersonalaccesstoken_test.go+++ b/pkg/detectors/contentfulpersonalaccesstoken/contentfulpersonalaccesstoken_test.go@@ -16,7 +16,7 @@ import (func TestContentfulPersonalAccessToken_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/convertkit/convertkit_test.go b/pkg/detectors/convertkit/convertkit_test.goindex 54c90f0d0..ae9125170 100644--- a/pkg/detectors/convertkit/convertkit_test.go+++ b/pkg/detectors/convertkit/convertkit_test.go@@ -16,7 +16,7 @@ import (func TestConvertkit_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/copper/copper_test.go b/pkg/detectors/copper/copper_test.goindex 6d6eacb7d..d739e4443 100644--- a/pkg/detectors/copper/copper_test.go+++ b/pkg/detectors/copper/copper_test.go@@ -16,7 +16,7 @@ import (func TestCopper_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/countrylayer/countrylayer_test.go b/pkg/detectors/countrylayer/countrylayer_test.goindex 962e98d3b..65f3ef37f 100644--- a/pkg/detectors/countrylayer/countrylayer_test.go+++ b/pkg/detectors/countrylayer/countrylayer_test.go@@ -16,7 +16,7 @@ import (func TestCountryLayer_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/courier/courier_test.go b/pkg/detectors/courier/courier_test.goindex 110fceb2b..d4b4f2b79 100644--- a/pkg/detectors/courier/courier_test.go+++ b/pkg/detectors/courier/courier_test.go@@ -16,7 +16,7 @@ import (func TestCourier_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/coveralls/coveralls_test.go b/pkg/detectors/coveralls/coveralls_test.goindex 5191f85c9..f3d4714cc 100644--- a/pkg/detectors/coveralls/coveralls_test.go+++ b/pkg/detectors/coveralls/coveralls_test.go@@ -16,7 +16,7 @@ import (func TestCoveralls_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/crowdin/crowdin_test.go b/pkg/detectors/crowdin/crowdin_test.goindex 5a6b23826..5f7640c34 100644--- a/pkg/detectors/crowdin/crowdin_test.go+++ b/pkg/detectors/crowdin/crowdin_test.go@@ -16,7 +16,7 @@ import (func TestCrowdin_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/cryptocompare/cryptocompare_test.go b/pkg/detectors/cryptocompare/cryptocompare_test.goindex 9bd41d56a..e4ce05098 100644--- a/pkg/detectors/cryptocompare/cryptocompare_test.go+++ b/pkg/detectors/cryptocompare/cryptocompare_test.go@@ -16,7 +16,7 @@ import (func TestCryptoCompare_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/currencycloud/currencycloud_test.go b/pkg/detectors/currencycloud/currencycloud_test.goindex fa40834b4..9054d0433 100644--- a/pkg/detectors/currencycloud/currencycloud_test.go+++ b/pkg/detectors/currencycloud/currencycloud_test.go@@ -16,7 +16,7 @@ import (func TestCurrencycloud_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/currencyfreaks/currencyfreaks_test.go b/pkg/detectors/currencyfreaks/currencyfreaks_test.goindex a47d83881..027b62261 100644--- a/pkg/detectors/currencyfreaks/currencyfreaks_test.go+++ b/pkg/detectors/currencyfreaks/currencyfreaks_test.go@@ -16,7 +16,7 @@ import (func TestCurrencyfreaks_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/currencylayer/currencylayer_test.go b/pkg/detectors/currencylayer/currencylayer_test.goindex fa16673e2..ca20b3a79 100644--- a/pkg/detectors/currencylayer/currencylayer_test.go+++ b/pkg/detectors/currencylayer/currencylayer_test.go@@ -16,7 +16,7 @@ import (func TestCurrencylayer_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/currencyscoop/currencyscoop_test.go b/pkg/detectors/currencyscoop/currencyscoop_test.goindex 494430d0d..296b8fd6c 100644--- a/pkg/detectors/currencyscoop/currencyscoop_test.go+++ b/pkg/detectors/currencyscoop/currencyscoop_test.go@@ -16,7 +16,7 @@ import (func TestCurrencyscoop_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/currentsapi/currentsapi_test.go b/pkg/detectors/currentsapi/currentsapi_test.goindex 0b15dd73a..dcabcfd04 100644--- a/pkg/detectors/currentsapi/currentsapi_test.go+++ b/pkg/detectors/currentsapi/currentsapi_test.go@@ -16,7 +16,7 @@ import (func TestCurrentsAPI_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/customerguru/customerguru_test.go b/pkg/detectors/customerguru/customerguru_test.goindex cd4b8761e..e540575bf 100644--- a/pkg/detectors/customerguru/customerguru_test.go+++ b/pkg/detectors/customerguru/customerguru_test.go@@ -16,7 +16,7 @@ import (func TestCustomerGuru_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/customerio/customerio_test.go b/pkg/detectors/customerio/customerio_test.goindex 4e90856b1..27947ed76 100644--- a/pkg/detectors/customerio/customerio_test.go+++ b/pkg/detectors/customerio/customerio_test.go@@ -16,7 +16,7 @@ import (func TestCustomerIO_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/d7network/d7network_test.go b/pkg/detectors/d7network/d7network_test.goindex 5dde6e81b..e9745099f 100644--- a/pkg/detectors/d7network/d7network_test.go+++ b/pkg/detectors/d7network/d7network_test.go@@ -16,7 +16,7 @@ import (func TestD7Network_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/dailyco/dailyco_test.go b/pkg/detectors/dailyco/dailyco_test.goindex a2bda465c..b2d0984d6 100644--- a/pkg/detectors/dailyco/dailyco_test.go+++ b/pkg/detectors/dailyco/dailyco_test.go@@ -16,7 +16,7 @@ import (func TestDailyCO_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/dandelion/dandelion_test.go b/pkg/detectors/dandelion/dandelion_test.goindex 5ed9870dc..5732f00af 100644--- a/pkg/detectors/dandelion/dandelion_test.go+++ b/pkg/detectors/dandelion/dandelion_test.go@@ -16,7 +16,7 @@ import (func TestDandelion_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/datadogtoken/datadogtoken_test.go b/pkg/detectors/datadogtoken/datadogtoken_test.goindex fa5b55a58..827fa3222 100644--- a/pkg/detectors/datadogtoken/datadogtoken_test.go+++ b/pkg/detectors/datadogtoken/datadogtoken_test.go@@ -16,7 +16,7 @@ import (func TestDatadogToken_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/datafire/datafire_test.go b/pkg/detectors/datafire/datafire_test.goindex a1463d567..dea252ed1 100644--- a/pkg/detectors/datafire/datafire_test.go+++ b/pkg/detectors/datafire/datafire_test.go@@ -16,7 +16,7 @@ import (func TestDataFire_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/datagov/datagov_test.go b/pkg/detectors/datagov/datagov_test.goindex c4850ce67..982916094 100644--- a/pkg/detectors/datagov/datagov_test.go+++ b/pkg/detectors/datagov/datagov_test.go@@ -16,7 +16,7 @@ import (func TestDataGov_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/debounce/debounce_test.go b/pkg/detectors/debounce/debounce_test.goindex a70500078..d2b955a37 100644--- a/pkg/detectors/debounce/debounce_test.go+++ b/pkg/detectors/debounce/debounce_test.go@@ -16,7 +16,7 @@ import (func TestDebounce_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/deepai/deepai_test.go b/pkg/detectors/deepai/deepai_test.goindex 4ed1b3250..2c9c387b5 100644--- a/pkg/detectors/deepai/deepai_test.go+++ b/pkg/detectors/deepai/deepai_test.go@@ -16,7 +16,7 @@ import (func TestDeepAI_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/deepgram/deepgram_test.go b/pkg/detectors/deepgram/deepgram_test.goindex 848ab764d..ea4d93da0 100644--- a/pkg/detectors/deepgram/deepgram_test.go+++ b/pkg/detectors/deepgram/deepgram_test.go@@ -16,7 +16,7 @@ import (func TestDeepgram_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/delighted/delighted_test.go b/pkg/detectors/delighted/delighted_test.goindex 5c0e88cac..fd1d1bc8b 100644--- a/pkg/detectors/delighted/delighted_test.go+++ b/pkg/detectors/delighted/delighted_test.go@@ -16,7 +16,7 @@ import (func TestDelighted_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/deputy/deputy_test.go b/pkg/detectors/deputy/deputy_test.goindex 2cd29edb1..17d11e657 100644--- a/pkg/detectors/deputy/deputy_test.go+++ b/pkg/detectors/deputy/deputy_test.go@@ -16,7 +16,7 @@ import (func TestDeputy_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/detectlanguage/detectlanguage_test.go b/pkg/detectors/detectlanguage/detectlanguage_test.goindex 958734136..873fa57de 100644--- a/pkg/detectors/detectlanguage/detectlanguage_test.go+++ b/pkg/detectors/detectlanguage/detectlanguage_test.go@@ -16,7 +16,7 @@ import (func TestDetectLanguage_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/dfuse/dfuse_test.go b/pkg/detectors/dfuse/dfuse_test.goindex b1ed5c949..b5d129bf6 100644--- a/pkg/detectors/dfuse/dfuse_test.go+++ b/pkg/detectors/dfuse/dfuse_test.go@@ -16,7 +16,7 @@ import (func TestDfuse_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/digitaloceantoken/digitaloceantoken_test.go b/pkg/detectors/digitaloceantoken/digitaloceantoken_test.goindex 1e26ba4df..0267a8129 100644--- a/pkg/detectors/digitaloceantoken/digitaloceantoken_test.go+++ b/pkg/detectors/digitaloceantoken/digitaloceantoken_test.go@@ -16,7 +16,7 @@ import (func TestDigitalOceanToken_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/discordbottoken/discordbottoken_test.go b/pkg/detectors/discordbottoken/discordbottoken_test.goindex e58b29b8a..7c98ded0a 100644--- a/pkg/detectors/discordbottoken/discordbottoken_test.go+++ b/pkg/detectors/discordbottoken/discordbottoken_test.go@@ -16,7 +16,7 @@ import (func TestDiscordBotToken_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/discordwebhook/discordwebhook_test.go b/pkg/detectors/discordwebhook/discordwebhook_test.goindex 896d675d8..96d5d858c 100644--- a/pkg/detectors/discordwebhook/discordwebhook_test.go+++ b/pkg/detectors/discordwebhook/discordwebhook_test.go@@ -16,7 +16,7 @@ import (func TestDiscordWebhook_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/ditto/ditto_test.go b/pkg/detectors/ditto/ditto_test.goindex f63f8d72f..565cedda9 100644--- a/pkg/detectors/ditto/ditto_test.go+++ b/pkg/detectors/ditto/ditto_test.go@@ -16,7 +16,7 @@ import (func TestDitto_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/dnscheck/dnscheck_test.go b/pkg/detectors/dnscheck/dnscheck_test.goindex 87343bf99..f04e747ba 100644--- a/pkg/detectors/dnscheck/dnscheck_test.go+++ b/pkg/detectors/dnscheck/dnscheck_test.go@@ -16,7 +16,7 @@ import (func TestDnscheck_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/documo/documo_test.go b/pkg/detectors/documo/documo_test.goindex f86ce717b..3e13a0c07 100644--- a/pkg/detectors/documo/documo_test.go+++ b/pkg/detectors/documo/documo_test.go@@ -16,7 +16,7 @@ import (func TestDocumo_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/doppler/doppler_test.go b/pkg/detectors/doppler/doppler_test.goindex 224a82732..ccfe96391 100644--- a/pkg/detectors/doppler/doppler_test.go+++ b/pkg/detectors/doppler/doppler_test.go@@ -16,7 +16,7 @@ import (func TestDoppler_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/dotmailer/dotmailer_test.go b/pkg/detectors/dotmailer/dotmailer_test.goindex 51260f839..92d8cb003 100644--- a/pkg/detectors/dotmailer/dotmailer_test.go+++ b/pkg/detectors/dotmailer/dotmailer_test.go@@ -16,7 +16,7 @@ import (func TestDotmailer_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/dovico/dovico_test.go b/pkg/detectors/dovico/dovico_test.goindex 3c518511b..6a6dee66e 100644--- a/pkg/detectors/dovico/dovico_test.go+++ b/pkg/detectors/dovico/dovico_test.go@@ -16,7 +16,7 @@ import (func TestDovico_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/dronahq/dronahq_test.go b/pkg/detectors/dronahq/dronahq_test.goindex 73b3b03d5..e33f0f064 100644--- a/pkg/detectors/dronahq/dronahq_test.go+++ b/pkg/detectors/dronahq/dronahq_test.go@@ -16,7 +16,7 @@ import (func TestDronaHQ_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/droneci/droneci_test.go b/pkg/detectors/droneci/droneci_test.goindex faa2b7bf4..6e5a9cda4 100644--- a/pkg/detectors/droneci/droneci_test.go+++ b/pkg/detectors/droneci/droneci_test.go@@ -16,7 +16,7 @@ import (func TestDroneCI_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/dropbox/dropbox_test.go b/pkg/detectors/dropbox/dropbox_test.goindex dafcff22d..4397b0627 100644--- a/pkg/detectors/dropbox/dropbox_test.go+++ b/pkg/detectors/dropbox/dropbox_test.go@@ -15,7 +15,7 @@ import (func TestDropbox_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/dwolla/dwolla_test.go b/pkg/detectors/dwolla/dwolla_test.goindex 8ee678093..adec8a192 100644--- a/pkg/detectors/dwolla/dwolla_test.go+++ b/pkg/detectors/dwolla/dwolla_test.go@@ -16,7 +16,7 @@ import (func TestDwolla_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/dynalist/dynalist_test.go b/pkg/detectors/dynalist/dynalist_test.goindex aa0178bf6..4391b99fe 100644--- a/pkg/detectors/dynalist/dynalist_test.go+++ b/pkg/detectors/dynalist/dynalist_test.go@@ -16,7 +16,7 @@ import (func TestDynalist_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/dyspatch/dyspatch_test.go b/pkg/detectors/dyspatch/dyspatch_test.goindex f2789a5e2..5b4e8aba5 100644--- a/pkg/detectors/dyspatch/dyspatch_test.go+++ b/pkg/detectors/dyspatch/dyspatch_test.go@@ -16,7 +16,7 @@ import (func TestDyspatch_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/eagleeyenetworks/eagleeyenetworks_test.go b/pkg/detectors/eagleeyenetworks/eagleeyenetworks_test.goindex 7fe57ecf2..e13645c78 100644--- a/pkg/detectors/eagleeyenetworks/eagleeyenetworks_test.go+++ b/pkg/detectors/eagleeyenetworks/eagleeyenetworks_test.go@@ -16,7 +16,7 @@ import (func TestEagleEyeNetworks_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/easyinsight/easyinsight_test.go b/pkg/detectors/easyinsight/easyinsight_test.goindex 36134b813..ff35a66ba 100644--- a/pkg/detectors/easyinsight/easyinsight_test.go+++ b/pkg/detectors/easyinsight/easyinsight_test.go@@ -16,7 +16,7 @@ import (func TestEasyInsight_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/edamam/edamam_test.go b/pkg/detectors/edamam/edamam_test.goindex ffbd4f292..1910eda43 100644--- a/pkg/detectors/edamam/edamam_test.go+++ b/pkg/detectors/edamam/edamam_test.go@@ -16,7 +16,7 @@ import (func TestEdamam_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/edenai/edenai_test.go b/pkg/detectors/edenai/edenai_test.goindex 272c7108e..306a59801 100644--- a/pkg/detectors/edenai/edenai_test.go+++ b/pkg/detectors/edenai/edenai_test.go@@ -16,7 +16,7 @@ import (func TestEdenAI_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/elasticemail/elasticemail_test.go b/pkg/detectors/elasticemail/elasticemail_test.goindex 94a035e07..59e728816 100644--- a/pkg/detectors/elasticemail/elasticemail_test.go+++ b/pkg/detectors/elasticemail/elasticemail_test.go@@ -16,7 +16,7 @@ import (func TestElasticEmail_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/enigma/enigma_test.go b/pkg/detectors/enigma/enigma_test.goindex c2cb6e374..e53814707 100644--- a/pkg/detectors/enigma/enigma_test.go+++ b/pkg/detectors/enigma/enigma_test.go@@ -16,7 +16,7 @@ import (func TestEnigma_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/ethplorer/ethplorer_test.go b/pkg/detectors/ethplorer/ethplorer_test.goindex df48b3725..be15bc63a 100644--- a/pkg/detectors/ethplorer/ethplorer_test.go+++ b/pkg/detectors/ethplorer/ethplorer_test.go@@ -16,7 +16,7 @@ import (func TestEthplorer_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/etsyapikey/etsyapikey_test.go b/pkg/detectors/etsyapikey/etsyapikey_test.goindex debbb8046..aaa6b598e 100644--- a/pkg/detectors/etsyapikey/etsyapikey_test.go+++ b/pkg/detectors/etsyapikey/etsyapikey_test.go@@ -16,7 +16,7 @@ import (func TestEtsyApiKey_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/everhour/everhour_test.go b/pkg/detectors/everhour/everhour_test.goindex 871d35158..3f9146db8 100644--- a/pkg/detectors/everhour/everhour_test.go+++ b/pkg/detectors/everhour/everhour_test.go@@ -16,7 +16,7 @@ import (func TestEverhour_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/exchangerateapi/exchangerateapi_test.go b/pkg/detectors/exchangerateapi/exchangerateapi_test.goindex a097ca2ee..0b3d07f72 100644--- a/pkg/detectors/exchangerateapi/exchangerateapi_test.go+++ b/pkg/detectors/exchangerateapi/exchangerateapi_test.go@@ -16,7 +16,7 @@ import (func TestExchangeRateAPI_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/exchangeratesapi/exchangeratesapi_test.go b/pkg/detectors/exchangeratesapi/exchangeratesapi_test.goindex 5dcc818cc..31c360557 100644--- a/pkg/detectors/exchangeratesapi/exchangeratesapi_test.go+++ b/pkg/detectors/exchangeratesapi/exchangeratesapi_test.go@@ -16,7 +16,7 @@ import (func TestExchangeRatesAPI_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/facebookoauth/facebookoauth_test.go b/pkg/detectors/facebookoauth/facebookoauth_test.goindex 921a51159..1eb04e278 100644--- a/pkg/detectors/facebookoauth/facebookoauth_test.go+++ b/pkg/detectors/facebookoauth/facebookoauth_test.go@@ -16,7 +16,7 @@ import (func TestFacebookOAuth_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/faceplusplus/faceplusplus_test.go b/pkg/detectors/faceplusplus/faceplusplus_test.goindex 1f34b3f93..45d2021bc 100644--- a/pkg/detectors/faceplusplus/faceplusplus_test.go+++ b/pkg/detectors/faceplusplus/faceplusplus_test.go@@ -16,7 +16,7 @@ import (func TestFaceplusplus_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/fakejson/fakejson_test.go b/pkg/detectors/fakejson/fakejson_test.goindex b9b92e54c..f4a07fd08 100644--- a/pkg/detectors/fakejson/fakejson_test.go+++ b/pkg/detectors/fakejson/fakejson_test.go@@ -16,7 +16,7 @@ import (func TestFakeJSON_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/fastforex/fastforex_test.go b/pkg/detectors/fastforex/fastforex_test.goindex b7d20a815..d8f5b1d4b 100644--- a/pkg/detectors/fastforex/fastforex_test.go+++ b/pkg/detectors/fastforex/fastforex_test.go@@ -16,7 +16,7 @@ import (func TestFastForex_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/fastlypersonaltoken/fastlypersonaltoken_test.go b/pkg/detectors/fastlypersonaltoken/fastlypersonaltoken_test.goindex 3f7d1f7bc..1f9a89d25 100644--- a/pkg/detectors/fastlypersonaltoken/fastlypersonaltoken_test.go+++ b/pkg/detectors/fastlypersonaltoken/fastlypersonaltoken_test.go@@ -16,7 +16,7 @@ import (func TestFastlyPersonalToken_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/feedier/feedier_test.go b/pkg/detectors/feedier/feedier_test.goindex c266039fc..be04bc259 100644--- a/pkg/detectors/feedier/feedier_test.go+++ b/pkg/detectors/feedier/feedier_test.go@@ -16,7 +16,7 @@ import (func TestFeedier_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/fetchrss/fetchrss_test.go b/pkg/detectors/fetchrss/fetchrss_test.goindex bf89de580..5847dc5a5 100644--- a/pkg/detectors/fetchrss/fetchrss_test.go+++ b/pkg/detectors/fetchrss/fetchrss_test.go@@ -16,7 +16,7 @@ import (func TestFetchrss_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/figmapersonalaccesstoken/figmapersonalaccesstoken_test.go b/pkg/detectors/figmapersonalaccesstoken/figmapersonalaccesstoken_test.goindex a4c60a59d..17d80f317 100644--- a/pkg/detectors/figmapersonalaccesstoken/figmapersonalaccesstoken_test.go+++ b/pkg/detectors/figmapersonalaccesstoken/figmapersonalaccesstoken_test.go@@ -16,7 +16,7 @@ import (func TestFigmaPersonalAccessToken_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/fileio/fileio_test.go b/pkg/detectors/fileio/fileio_test.goindex 7516f177d..7192e56d1 100644--- a/pkg/detectors/fileio/fileio_test.go+++ b/pkg/detectors/fileio/fileio_test.go@@ -16,7 +16,7 @@ import (func TestFileIO_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/finage/finage_test.go b/pkg/detectors/finage/finage_test.goindex 31a2a4a16..bb02b70f7 100644--- a/pkg/detectors/finage/finage_test.go+++ b/pkg/detectors/finage/finage_test.go@@ -16,7 +16,7 @@ import (func TestFinage_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/financialmodelingprep/financialmodelingprep_test.go b/pkg/detectors/financialmodelingprep/financialmodelingprep_test.goindex 6bd187489..09592a9d2 100644--- a/pkg/detectors/financialmodelingprep/financialmodelingprep_test.go+++ b/pkg/detectors/financialmodelingprep/financialmodelingprep_test.go@@ -16,7 +16,7 @@ import (func TestFinancialModelingPrep_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/findl/findl_test.go b/pkg/detectors/findl/findl_test.goindex aa9dfddd5..1f91ff1d9 100644--- a/pkg/detectors/findl/findl_test.go+++ b/pkg/detectors/findl/findl_test.go@@ -16,7 +16,7 @@ import (func TestFindl_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/finnhub/finnhub_test.go b/pkg/detectors/finnhub/finnhub_test.goindex 0d8a71d00..3293cbc8b 100644--- a/pkg/detectors/finnhub/finnhub_test.go+++ b/pkg/detectors/finnhub/finnhub_test.go@@ -16,7 +16,7 @@ import (func TestFinnhub_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/fixerio/fixerio_test.go b/pkg/detectors/fixerio/fixerio_test.goindex f5ec5578c..8aee18c8f 100644--- a/pkg/detectors/fixerio/fixerio_test.go+++ b/pkg/detectors/fixerio/fixerio_test.go@@ -16,7 +16,7 @@ import (func TestFixerIO_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/flatio/flatio_test.go b/pkg/detectors/flatio/flatio_test.goindex a1dda97f1..99936929c 100644--- a/pkg/detectors/flatio/flatio_test.go+++ b/pkg/detectors/flatio/flatio_test.go@@ -16,7 +16,7 @@ import (func TestFlatIO_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/fleetbase/fleetbase_test.go b/pkg/detectors/fleetbase/fleetbase_test.goindex 10f4adc78..e1cef9915 100644--- a/pkg/detectors/fleetbase/fleetbase_test.go+++ b/pkg/detectors/fleetbase/fleetbase_test.go@@ -16,7 +16,7 @@ import (func TestFleetbase_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/flickr/flickr_test.go b/pkg/detectors/flickr/flickr_test.goindex d875367d6..a93c057d5 100644--- a/pkg/detectors/flickr/flickr_test.go+++ b/pkg/detectors/flickr/flickr_test.go@@ -16,7 +16,7 @@ import (func TestFlickr_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/flightapi/flightapi_test.go b/pkg/detectors/flightapi/flightapi_test.goindex 9423f99b3..b8bb1183f 100644--- a/pkg/detectors/flightapi/flightapi_test.go+++ b/pkg/detectors/flightapi/flightapi_test.go@@ -16,7 +16,7 @@ import (func TestFlightApi_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/float/float_test.go b/pkg/detectors/float/float_test.goindex c902fe7be..e45eefdd8 100644--- a/pkg/detectors/float/float_test.go+++ b/pkg/detectors/float/float_test.go@@ -16,7 +16,7 @@ import (func TestFloat_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/flowflu/flowflu_test.go b/pkg/detectors/flowflu/flowflu_test.goindex 61bd930bf..b524e2011 100644--- a/pkg/detectors/flowflu/flowflu_test.go+++ b/pkg/detectors/flowflu/flowflu_test.go@@ -16,7 +16,7 @@ import (func TestFlowFlu_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/flutterwave/flutterwave_test.go b/pkg/detectors/flutterwave/flutterwave_test.goindex 39832026a..319dfcd88 100644--- a/pkg/detectors/flutterwave/flutterwave_test.go+++ b/pkg/detectors/flutterwave/flutterwave_test.go@@ -16,7 +16,7 @@ import (func TestFlutterwave_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/fmfw/fmfw_test.go b/pkg/detectors/fmfw/fmfw_test.goindex 30e63ed27..b14db22f9 100644--- a/pkg/detectors/fmfw/fmfw_test.go+++ b/pkg/detectors/fmfw/fmfw_test.go@@ -16,7 +16,7 @@ import (func TestFmfw_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/foursquare/foursquare_test.go b/pkg/detectors/foursquare/foursquare_test.goindex 7333d13c2..c8fae9f07 100644--- a/pkg/detectors/foursquare/foursquare_test.go+++ b/pkg/detectors/foursquare/foursquare_test.go@@ -16,7 +16,7 @@ import (func TestFoursquare_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/frameio/frameio_test.go b/pkg/detectors/frameio/frameio_test.goindex 76b0a45fb..da8d44929 100644--- a/pkg/detectors/frameio/frameio_test.go+++ b/pkg/detectors/frameio/frameio_test.go@@ -16,7 +16,7 @@ import (func TestFrameio_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/freshbooks/freshbooks_test.go b/pkg/detectors/freshbooks/freshbooks_test.goindex 74ae64b78..53c41c5dc 100644--- a/pkg/detectors/freshbooks/freshbooks_test.go+++ b/pkg/detectors/freshbooks/freshbooks_test.go@@ -16,7 +16,7 @@ import (func TestFreshbooks_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/freshdesk/freshdesk_test.go b/pkg/detectors/freshdesk/freshdesk_test.goindex 339a1ef15..d2029e534 100644--- a/pkg/detectors/freshdesk/freshdesk_test.go+++ b/pkg/detectors/freshdesk/freshdesk_test.go@@ -16,7 +16,7 @@ import (func TestFreshdesk_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/front/front_test.go b/pkg/detectors/front/front_test.goindex bbdda80d6..d59a2614a 100644--- a/pkg/detectors/front/front_test.go+++ b/pkg/detectors/front/front_test.go@@ -16,7 +16,7 @@ import (func TestFront_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/fulcrum/fulcrum_test.go b/pkg/detectors/fulcrum/fulcrum_test.goindex 806987f32..096058ffa 100644--- a/pkg/detectors/fulcrum/fulcrum_test.go+++ b/pkg/detectors/fulcrum/fulcrum_test.go@@ -16,7 +16,7 @@ import (func TestFulcrum_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/fullstory/fullstory_test.go b/pkg/detectors/fullstory/fullstory_test.goindex 8a300136a..9e7bd91c0 100644--- a/pkg/detectors/fullstory/fullstory_test.go+++ b/pkg/detectors/fullstory/fullstory_test.go@@ -16,7 +16,7 @@ import (func TestFullstory_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/fusebill/fusebill_test.go b/pkg/detectors/fusebill/fusebill_test.goindex e2a8d3db6..d1312f3a3 100644--- a/pkg/detectors/fusebill/fusebill_test.go+++ b/pkg/detectors/fusebill/fusebill_test.go@@ -16,7 +16,7 @@ import (func TestFusebill_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/fxmarket/fxmarket_test.go b/pkg/detectors/fxmarket/fxmarket_test.goindex 033bef66f..0cf7b98a6 100644--- a/pkg/detectors/fxmarket/fxmarket_test.go+++ b/pkg/detectors/fxmarket/fxmarket_test.go@@ -16,7 +16,7 @@ import (func TestFxmarket_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/gcp/gcp_test.go b/pkg/detectors/gcp/gcp_test.goindex ba341cdfe..4fefb6cda 100644--- a/pkg/detectors/gcp/gcp_test.go+++ b/pkg/detectors/gcp/gcp_test.go@@ -15,7 +15,7 @@ import (func TestGCP_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/geckoboard/geckoboard_test.go b/pkg/detectors/geckoboard/geckoboard_test.goindex c552a828c..6e40dd8d5 100644--- a/pkg/detectors/geckoboard/geckoboard_test.go+++ b/pkg/detectors/geckoboard/geckoboard_test.go@@ -16,7 +16,7 @@ import (func TestGeckoboard_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/gengo/gengo_test.go b/pkg/detectors/gengo/gengo_test.goindex 56ce74f42..64073ddb1 100644--- a/pkg/detectors/gengo/gengo_test.go+++ b/pkg/detectors/gengo/gengo_test.go@@ -16,7 +16,7 @@ import (func TestGengo_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/geoapify/geoapify_test.go b/pkg/detectors/geoapify/geoapify_test.goindex 89c1d7110..675f1392f 100644--- a/pkg/detectors/geoapify/geoapify_test.go+++ b/pkg/detectors/geoapify/geoapify_test.go@@ -16,7 +16,7 @@ import (func TestGeoapify_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/geocode/geocode_test.go b/pkg/detectors/geocode/geocode_test.goindex bca500529..98e04c8f7 100644--- a/pkg/detectors/geocode/geocode_test.go+++ b/pkg/detectors/geocode/geocode_test.go@@ -16,7 +16,7 @@ import (func TestGeocode_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/geocodify/geocodify_test.go b/pkg/detectors/geocodify/geocodify_test.goindex 3184d7d63..b062fc0f5 100644--- a/pkg/detectors/geocodify/geocodify_test.go+++ b/pkg/detectors/geocodify/geocodify_test.go@@ -16,7 +16,7 @@ import (func TestGeocodify_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/geocodio/geocodio_test.go b/pkg/detectors/geocodio/geocodio_test.goindex f9328b1c3..bf9c4c922 100644--- a/pkg/detectors/geocodio/geocodio_test.go+++ b/pkg/detectors/geocodio/geocodio_test.go@@ -16,7 +16,7 @@ import (func TestGeocodio_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/geoipifi/geoipifi_test.go b/pkg/detectors/geoipifi/geoipifi_test.goindex 4db7c7603..4e0d4295d 100644--- a/pkg/detectors/geoipifi/geoipifi_test.go+++ b/pkg/detectors/geoipifi/geoipifi_test.go@@ -16,7 +16,7 @@ import (func TestGeoIpifi_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/getemail/getemail_test.go b/pkg/detectors/getemail/getemail_test.goindex ad624025a..60c842d81 100644--- a/pkg/detectors/getemail/getemail_test.go+++ b/pkg/detectors/getemail/getemail_test.go@@ -16,7 +16,7 @@ import (func TestGetEmail_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/getemails/getemails_test.go b/pkg/detectors/getemails/getemails_test.goindex d8e8bb155..93ea53fb0 100644--- a/pkg/detectors/getemails/getemails_test.go+++ b/pkg/detectors/getemails/getemails_test.go@@ -16,7 +16,7 @@ import (func TestGetEmails_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/getgeoapi/getgeoapi_test.go b/pkg/detectors/getgeoapi/getgeoapi_test.goindex ab8c08490..3bfed7956 100644--- a/pkg/detectors/getgeoapi/getgeoapi_test.go+++ b/pkg/detectors/getgeoapi/getgeoapi_test.go@@ -16,7 +16,7 @@ import (func TestGetgeoapi_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/getgist/getgist_test.go b/pkg/detectors/getgist/getgist_test.goindex 10d5fbfc2..70f0c3c7f 100644--- a/pkg/detectors/getgist/getgist_test.go+++ b/pkg/detectors/getgist/getgist_test.go@@ -16,7 +16,7 @@ import (func TestGetgist_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/getsandbox/getsandbox_test.go b/pkg/detectors/getsandbox/getsandbox_test.goindex 22af687d8..ea8493653 100644--- a/pkg/detectors/getsandbox/getsandbox_test.go+++ b/pkg/detectors/getsandbox/getsandbox_test.go@@ -16,7 +16,7 @@ import (func TestGetSandbox_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/github/github_test.go b/pkg/detectors/github/github_test.goindex cb63878ad..4b410c5e0 100644--- a/pkg/detectors/github/github_test.go+++ b/pkg/detectors/github/github_test.go@@ -15,7 +15,7 @@ import (func TestGitHub_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/github_old/github_old_test.go b/pkg/detectors/github_old/github_old_test.goindex 160bdc34d..2653c7568 100644--- a/pkg/detectors/github_old/github_old_test.go+++ b/pkg/detectors/github_old/github_old_test.go@@ -15,7 +15,7 @@ import (func TestGitHub_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/githubapp/githubapp_test.go b/pkg/detectors/githubapp/githubapp_test.goindex dd9494b78..17374746b 100644--- a/pkg/detectors/githubapp/githubapp_test.go+++ b/pkg/detectors/githubapp/githubapp_test.go@@ -17,7 +17,7 @@ import (func TestGitHubApp_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/gitlab/gitlab_test.go b/pkg/detectors/gitlab/gitlab_test.goindex b1faa6338..a06ed5f37 100644--- a/pkg/detectors/gitlab/gitlab_test.go+++ b/pkg/detectors/gitlab/gitlab_test.go@@ -15,7 +15,7 @@ import (func TestGitlab_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/gitlabv2/gitlab_test.go b/pkg/detectors/gitlabv2/gitlab_test.goindex 48eb95fe1..36f8e21b0 100644--- a/pkg/detectors/gitlabv2/gitlab_test.go+++ b/pkg/detectors/gitlabv2/gitlab_test.go@@ -15,7 +15,7 @@ import (func TestGitlab_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/gitter/gitter_test.go b/pkg/detectors/gitter/gitter_test.goindex 496dcc400..40cb8de70 100644--- a/pkg/detectors/gitter/gitter_test.go+++ b/pkg/detectors/gitter/gitter_test.go@@ -16,7 +16,7 @@ import (func TestGitter_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/glassnode/glassnode_test.go b/pkg/detectors/glassnode/glassnode_test.goindex 59d94e574..d3b6690a0 100644--- a/pkg/detectors/glassnode/glassnode_test.go+++ b/pkg/detectors/glassnode/glassnode_test.go@@ -16,7 +16,7 @@ import (func TestGlassnode_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/gocardless/gocardless_test.go b/pkg/detectors/gocardless/gocardless_test.goindex cd366f0c1..096325fe6 100644--- a/pkg/detectors/gocardless/gocardless_test.go+++ b/pkg/detectors/gocardless/gocardless_test.go@@ -16,7 +16,7 @@ import (func TestGoCardless_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/goodday/goodday_test.go b/pkg/detectors/goodday/goodday_test.goindex 87ed1556b..e0178909c 100644--- a/pkg/detectors/goodday/goodday_test.go+++ b/pkg/detectors/goodday/goodday_test.go@@ -16,7 +16,7 @@ import (func TestGoodDay_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/graphcms/graphcms_test.go b/pkg/detectors/graphcms/graphcms_test.goindex 31583c602..57afbe82e 100644--- a/pkg/detectors/graphcms/graphcms_test.go+++ b/pkg/detectors/graphcms/graphcms_test.go@@ -16,7 +16,7 @@ import (func TestGraphCMS_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/graphhopper/graphhopper_test.go b/pkg/detectors/graphhopper/graphhopper_test.goindex f2304cc34..02d743f8c 100644--- a/pkg/detectors/graphhopper/graphhopper_test.go+++ b/pkg/detectors/graphhopper/graphhopper_test.go@@ -16,7 +16,7 @@ import (func TestGraphhopper_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/groovehq/groovehq_test.go b/pkg/detectors/groovehq/groovehq_test.goindex 38a19a161..01352fa9e 100644--- a/pkg/detectors/groovehq/groovehq_test.go+++ b/pkg/detectors/groovehq/groovehq_test.go@@ -16,7 +16,7 @@ import (func TestGroovehq_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/guardianapi/guardianapi_test.go b/pkg/detectors/guardianapi/guardianapi_test.goindex c855a2633..2dd0740fd 100644--- a/pkg/detectors/guardianapi/guardianapi_test.go+++ b/pkg/detectors/guardianapi/guardianapi_test.go@@ -16,7 +16,7 @@ import (func TestGuardianapi_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/guru/guru_test.go b/pkg/detectors/guru/guru_test.goindex a07206b6f..7c7098f0c 100644--- a/pkg/detectors/guru/guru_test.go+++ b/pkg/detectors/guru/guru_test.go@@ -16,7 +16,7 @@ import (func TestGuru_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/gyazo/gyazo_test.go b/pkg/detectors/gyazo/gyazo_test.goindex 0979fbd3d..1f55ab391 100644--- a/pkg/detectors/gyazo/gyazo_test.go+++ b/pkg/detectors/gyazo/gyazo_test.go@@ -16,7 +16,7 @@ import (func TestGyazo_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/happi/happi_test.go b/pkg/detectors/happi/happi_test.goindex c97ee966b..585e24c31 100644--- a/pkg/detectors/happi/happi_test.go+++ b/pkg/detectors/happi/happi_test.go@@ -16,7 +16,7 @@ import (func TestHappi_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/happyscribe/happyscribe_test.go b/pkg/detectors/happyscribe/happyscribe_test.goindex 06c2b2a83..9e0918493 100644--- a/pkg/detectors/happyscribe/happyscribe_test.go+++ b/pkg/detectors/happyscribe/happyscribe_test.go@@ -16,7 +16,7 @@ import (func TestHappyscribe_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/harvest/harvest_test.go b/pkg/detectors/harvest/harvest_test.goindex e462fdf06..6857bf863 100644--- a/pkg/detectors/harvest/harvest_test.go+++ b/pkg/detectors/harvest/harvest_test.go@@ -16,7 +16,7 @@ import (func TestHarvest_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/hellosign/hellosign_test.go b/pkg/detectors/hellosign/hellosign_test.goindex 07619cfd7..d3b485bfa 100644--- a/pkg/detectors/hellosign/hellosign_test.go+++ b/pkg/detectors/hellosign/hellosign_test.go@@ -16,7 +16,7 @@ import (func TestHelloSign_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/helpcrunch/helpcrunch_test.go b/pkg/detectors/helpcrunch/helpcrunch_test.goindex 4f8639d62..15afdf78a 100644--- a/pkg/detectors/helpcrunch/helpcrunch_test.go+++ b/pkg/detectors/helpcrunch/helpcrunch_test.go@@ -16,7 +16,7 @@ import (func TestHelpCrunch_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/helpscout/helpscout_test.go b/pkg/detectors/helpscout/helpscout_test.goindex c32d69b55..c426f2134 100644--- a/pkg/detectors/helpscout/helpscout_test.go+++ b/pkg/detectors/helpscout/helpscout_test.go@@ -16,7 +16,7 @@ import (func TestHelpscout_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/hereapi/hereapi_test.go b/pkg/detectors/hereapi/hereapi_test.goindex 2dbcc8a52..ee6d36032 100644--- a/pkg/detectors/hereapi/hereapi_test.go+++ b/pkg/detectors/hereapi/hereapi_test.go@@ -16,7 +16,7 @@ import (func TestHereAPI_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/heroku/heroku_test.go b/pkg/detectors/heroku/heroku_test.goindex 021395ce8..00215bb85 100644--- a/pkg/detectors/heroku/heroku_test.go+++ b/pkg/detectors/heroku/heroku_test.go@@ -16,7 +16,7 @@ import (func TestHeroku_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/hive/hive_test.go b/pkg/detectors/hive/hive_test.goindex bfa6a152b..e00ba520c 100644--- a/pkg/detectors/hive/hive_test.go+++ b/pkg/detectors/hive/hive_test.go@@ -16,7 +16,7 @@ import (func TestHive_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/hiveage/hiveage_test.go b/pkg/detectors/hiveage/hiveage_test.goindex db81a60ab..b1f634279 100644--- a/pkg/detectors/hiveage/hiveage_test.go+++ b/pkg/detectors/hiveage/hiveage_test.go@@ -16,7 +16,7 @@ import (func TestHiveage_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/holidayapi/holidayapi_test.go b/pkg/detectors/holidayapi/holidayapi_test.goindex 786ef2754..71ca22b5d 100644--- a/pkg/detectors/holidayapi/holidayapi_test.go+++ b/pkg/detectors/holidayapi/holidayapi_test.go@@ -16,7 +16,7 @@ import (func TestHolidayAPI_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/host/host_test.go b/pkg/detectors/host/host_test.goindex ec07b1dfb..06a138274 100644--- a/pkg/detectors/host/host_test.go+++ b/pkg/detectors/host/host_test.go@@ -16,7 +16,7 @@ import (func TestHost_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/html2pdf/html2pdf_test.go b/pkg/detectors/html2pdf/html2pdf_test.goindex af72eb9ed..cf55a6979 100644--- a/pkg/detectors/html2pdf/html2pdf_test.go+++ b/pkg/detectors/html2pdf/html2pdf_test.go@@ -16,7 +16,7 @@ import (func TestHtml2Pdf_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/hubspotapikey/hubspotapikey_test.go b/pkg/detectors/hubspotapikey/hubspotapikey_test.goindex d4379b730..a144e1945 100644--- a/pkg/detectors/hubspotapikey/hubspotapikey_test.go+++ b/pkg/detectors/hubspotapikey/hubspotapikey_test.go@@ -16,7 +16,7 @@ import (func TestHubSpotApiKey_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/humanity/humanity_test.go b/pkg/detectors/humanity/humanity_test.goindex fe6aab424..1f4d23bc9 100644--- a/pkg/detectors/humanity/humanity_test.go+++ b/pkg/detectors/humanity/humanity_test.go@@ -16,7 +16,7 @@ import (func TestHumanity_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/hunter/hunter_test.go b/pkg/detectors/hunter/hunter_test.goindex b32243ead..5acb69bf5 100644--- a/pkg/detectors/hunter/hunter_test.go+++ b/pkg/detectors/hunter/hunter_test.go@@ -16,7 +16,7 @@ import (func TestHunter_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/hypertrack/hypertrack_test.go b/pkg/detectors/hypertrack/hypertrack_test.goindex e8d3697ce..530cf9567 100644--- a/pkg/detectors/hypertrack/hypertrack_test.go+++ b/pkg/detectors/hypertrack/hypertrack_test.go@@ -16,7 +16,7 @@ import (func TestHypertrack_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/ibmclouduserkey/ibmclouduserkey_test.go b/pkg/detectors/ibmclouduserkey/ibmclouduserkey_test.goindex 53923c9bc..6da48b467 100644--- a/pkg/detectors/ibmclouduserkey/ibmclouduserkey_test.go+++ b/pkg/detectors/ibmclouduserkey/ibmclouduserkey_test.go@@ -16,7 +16,7 @@ import (func TestIbmCloudUserKey_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/iconfinder/iconfinder_test.go b/pkg/detectors/iconfinder/iconfinder_test.goindex c291419b2..b75a38725 100644--- a/pkg/detectors/iconfinder/iconfinder_test.go+++ b/pkg/detectors/iconfinder/iconfinder_test.go@@ -16,7 +16,7 @@ import (func TestIconFinder_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/iexcloud/iexcloud_test.go b/pkg/detectors/iexcloud/iexcloud_test.goindex 045381141..f67c29bf4 100644--- a/pkg/detectors/iexcloud/iexcloud_test.go+++ b/pkg/detectors/iexcloud/iexcloud_test.go@@ -16,7 +16,7 @@ import (func TestIexcloud_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/imagekit/imagekit_test.go b/pkg/detectors/imagekit/imagekit_test.goindex 2bca5f7f0..79674f18e 100644--- a/pkg/detectors/imagekit/imagekit_test.go+++ b/pkg/detectors/imagekit/imagekit_test.go@@ -16,7 +16,7 @@ import (func TestImagekit_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/imagga/imagga_test.go b/pkg/detectors/imagga/imagga_test.goindex 7d97730b3..87ed75bde 100644--- a/pkg/detectors/imagga/imagga_test.go+++ b/pkg/detectors/imagga/imagga_test.go@@ -16,7 +16,7 @@ import (func TestImagga_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/impala/impala_test.go b/pkg/detectors/impala/impala_test.goindex b519cd4ea..f3eca0c4e 100644--- a/pkg/detectors/impala/impala_test.go+++ b/pkg/detectors/impala/impala_test.go@@ -16,7 +16,7 @@ import (func TestImpala_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/insightly/insightly_test.go b/pkg/detectors/insightly/insightly_test.goindex 98d5b71b1..04a085250 100644--- a/pkg/detectors/insightly/insightly_test.go+++ b/pkg/detectors/insightly/insightly_test.go@@ -16,7 +16,7 @@ import (func TestInsightly_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/integromat/integromat_test.go b/pkg/detectors/integromat/integromat_test.goindex 39ae6c21f..cc98ccc90 100644--- a/pkg/detectors/integromat/integromat_test.go+++ b/pkg/detectors/integromat/integromat_test.go@@ -16,7 +16,7 @@ import (func TestIntegromat_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/intercom/intercom_test.go b/pkg/detectors/intercom/intercom_test.goindex 3f022f948..d3bb45530 100644--- a/pkg/detectors/intercom/intercom_test.go+++ b/pkg/detectors/intercom/intercom_test.go@@ -16,7 +16,7 @@ import (func TestInterCom_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/intrinio/intrinio_test.go b/pkg/detectors/intrinio/intrinio_test.goindex 173c5d4a5..e1e4ba84d 100644--- a/pkg/detectors/intrinio/intrinio_test.go+++ b/pkg/detectors/intrinio/intrinio_test.go@@ -16,7 +16,7 @@ import (func TestIntrinio_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/invoiceocean/invoiceocean_test.go b/pkg/detectors/invoiceocean/invoiceocean_test.goindex 05c20c01e..9b8dc20fe 100644--- a/pkg/detectors/invoiceocean/invoiceocean_test.go+++ b/pkg/detectors/invoiceocean/invoiceocean_test.go@@ -16,7 +16,7 @@ import (func TestInvoiceocean_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/ipapi/ipapi_test.go b/pkg/detectors/ipapi/ipapi_test.goindex 5008ed67f..52f1957fc 100644--- a/pkg/detectors/ipapi/ipapi_test.go+++ b/pkg/detectors/ipapi/ipapi_test.go@@ -16,7 +16,7 @@ import (func TestIpapi_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/ipgeolocation/ipgeolocation_test.go b/pkg/detectors/ipgeolocation/ipgeolocation_test.goindex 7d2291998..05129a094 100644--- a/pkg/detectors/ipgeolocation/ipgeolocation_test.go+++ b/pkg/detectors/ipgeolocation/ipgeolocation_test.go@@ -16,7 +16,7 @@ import (func TestIPGeolocation_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/ipify/ipify_test.go b/pkg/detectors/ipify/ipify_test.goindex fc32a60d9..720095228 100644--- a/pkg/detectors/ipify/ipify_test.go+++ b/pkg/detectors/ipify/ipify_test.go@@ -16,7 +16,7 @@ import (func TestIpify_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/ipinfodb/ipinfodb_test.go b/pkg/detectors/ipinfodb/ipinfodb_test.goindex fade2f1cc..1226d4bc8 100644--- a/pkg/detectors/ipinfodb/ipinfodb_test.go+++ b/pkg/detectors/ipinfodb/ipinfodb_test.go@@ -16,7 +16,7 @@ import (func TestIPinfoDB_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/ipquality/ipquality_test.go b/pkg/detectors/ipquality/ipquality_test.goindex e08cfe285..e476603ed 100644--- a/pkg/detectors/ipquality/ipquality_test.go+++ b/pkg/detectors/ipquality/ipquality_test.go@@ -16,7 +16,7 @@ import (func TestIpquality_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/ipstack/ipstack_test.go b/pkg/detectors/ipstack/ipstack_test.goindex cb7333f51..a250c5dfe 100644--- a/pkg/detectors/ipstack/ipstack_test.go+++ b/pkg/detectors/ipstack/ipstack_test.go@@ -16,7 +16,7 @@ import (func TestIpStack_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/jiratoken/jiratoken_test.go b/pkg/detectors/jiratoken/jiratoken_test.goindex ecf13aeab..3efdf58a4 100644--- a/pkg/detectors/jiratoken/jiratoken_test.go+++ b/pkg/detectors/jiratoken/jiratoken_test.go@@ -16,7 +16,7 @@ import (func TestJiraToken_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/jotform/jotform_test.go b/pkg/detectors/jotform/jotform_test.goindex 3e48b73ac..6b124869d 100644--- a/pkg/detectors/jotform/jotform_test.go+++ b/pkg/detectors/jotform/jotform_test.go@@ -16,7 +16,7 @@ import (func TestJotform_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/jumpcloud/jumpcloud_test.go b/pkg/detectors/jumpcloud/jumpcloud_test.goindex 639374ae9..0a72d86a3 100644--- a/pkg/detectors/jumpcloud/jumpcloud_test.go+++ b/pkg/detectors/jumpcloud/jumpcloud_test.go@@ -16,7 +16,7 @@ import (func TestJumpcloud_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/juro/juro_test.go b/pkg/detectors/juro/juro_test.goindex 28309b507..9d6f0cc14 100644--- a/pkg/detectors/juro/juro_test.go+++ b/pkg/detectors/juro/juro_test.go@@ -16,7 +16,7 @@ import (func TestJuro_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/kanban/kanban_test.go b/pkg/detectors/kanban/kanban_test.goindex 3e27d46ca..9a249cad0 100644--- a/pkg/detectors/kanban/kanban_test.go+++ b/pkg/detectors/kanban/kanban_test.go@@ -16,7 +16,7 @@ import (func TestKanban_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/karmacrm/karmacrm_test.go b/pkg/detectors/karmacrm/karmacrm_test.goindex f568cab56..469c44d4a 100644--- a/pkg/detectors/karmacrm/karmacrm_test.go+++ b/pkg/detectors/karmacrm/karmacrm_test.go@@ -16,7 +16,7 @@ import (func TestKarmaCRM_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/keenio/keenio_test.go b/pkg/detectors/keenio/keenio_test.goindex 11dab9e90..0bc24c843 100644--- a/pkg/detectors/keenio/keenio_test.go+++ b/pkg/detectors/keenio/keenio_test.go@@ -16,7 +16,7 @@ import (func TestKeenIO_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/kickbox/kickbox_test.go b/pkg/detectors/kickbox/kickbox_test.goindex 00ca4e604..62500dc36 100644--- a/pkg/detectors/kickbox/kickbox_test.go+++ b/pkg/detectors/kickbox/kickbox_test.go@@ -16,7 +16,7 @@ import (func TestKickbox_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/kontent/kontent_test.go b/pkg/detectors/kontent/kontent_test.goindex 446554033..c770e2570 100644--- a/pkg/detectors/kontent/kontent_test.go+++ b/pkg/detectors/kontent/kontent_test.go@@ -16,7 +16,7 @@ import (func TestKontent_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/kraken/kraken_test.go b/pkg/detectors/kraken/kraken_test.goindex b6aa2cf77..eeae50f33 100644--- a/pkg/detectors/kraken/kraken_test.go+++ b/pkg/detectors/kraken/kraken_test.go@@ -16,7 +16,7 @@ import (func TestKraken_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/kylas/kylas_test.go b/pkg/detectors/kylas/kylas_test.goindex 9ee349f5f..9fa4c69a5 100644--- a/pkg/detectors/kylas/kylas_test.go+++ b/pkg/detectors/kylas/kylas_test.go@@ -16,7 +16,7 @@ import (func TestKylas_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/languagelayer/languagelayer_test.go b/pkg/detectors/languagelayer/languagelayer_test.goindex 2d8adb65a..a72982c00 100644--- a/pkg/detectors/languagelayer/languagelayer_test.go+++ b/pkg/detectors/languagelayer/languagelayer_test.go@@ -16,7 +16,7 @@ import (func TestLanguageLayer_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/lastfm/lastfm_test.go b/pkg/detectors/lastfm/lastfm_test.goindex 6ea31284b..dc18f9a67 100644--- a/pkg/detectors/lastfm/lastfm_test.go+++ b/pkg/detectors/lastfm/lastfm_test.go@@ -16,7 +16,7 @@ import (func TestLastfm_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/launchdarkly/launchdarkly_test.go b/pkg/detectors/launchdarkly/launchdarkly_test.goindex 70f5a1646..4efe5f763 100644--- a/pkg/detectors/launchdarkly/launchdarkly_test.go+++ b/pkg/detectors/launchdarkly/launchdarkly_test.go@@ -16,7 +16,7 @@ import (func TestLaunchDarkly_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/leadfeeder/leadfeeder_test.go b/pkg/detectors/leadfeeder/leadfeeder_test.goindex b6595cdf6..20ed5143d 100644--- a/pkg/detectors/leadfeeder/leadfeeder_test.go+++ b/pkg/detectors/leadfeeder/leadfeeder_test.go@@ -16,7 +16,7 @@ import (func TestLeadfeeder_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/lessannoyingcrm/lessannoyingcrm_test.go b/pkg/detectors/lessannoyingcrm/lessannoyingcrm_test.goindex 2a7ebcbe1..294530f48 100644--- a/pkg/detectors/lessannoyingcrm/lessannoyingcrm_test.go+++ b/pkg/detectors/lessannoyingcrm/lessannoyingcrm_test.go@@ -16,7 +16,7 @@ import (func TestLessAnnoyingCRM_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/lexigram/lexigram_test.go b/pkg/detectors/lexigram/lexigram_test.goindex 6356c9830..b09d96ad5 100644--- a/pkg/detectors/lexigram/lexigram_test.go+++ b/pkg/detectors/lexigram/lexigram_test.go@@ -16,7 +16,7 @@ import (func TestLexigram_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/linearapi/linearapi_test.go b/pkg/detectors/linearapi/linearapi_test.goindex 9c4f767e3..1b867d2cb 100644--- a/pkg/detectors/linearapi/linearapi_test.go+++ b/pkg/detectors/linearapi/linearapi_test.go@@ -16,7 +16,7 @@ import (func TestLinearAPI_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/linemessaging/linemessaging_test.go b/pkg/detectors/linemessaging/linemessaging_test.goindex 1037e255e..a939a4da7 100644--- a/pkg/detectors/linemessaging/linemessaging_test.go+++ b/pkg/detectors/linemessaging/linemessaging_test.go@@ -16,7 +16,7 @@ import (func TestLineMessaging_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/linenotify/linenotify_test.go b/pkg/detectors/linenotify/linenotify_test.goindex e4e70b29c..63cb239ee 100644--- a/pkg/detectors/linenotify/linenotify_test.go+++ b/pkg/detectors/linenotify/linenotify_test.go@@ -16,7 +16,7 @@ import (func TestLineNotify_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/linkpreview/linkpreview_test.go b/pkg/detectors/linkpreview/linkpreview_test.goindex f0843be64..61e95fe12 100644--- a/pkg/detectors/linkpreview/linkpreview_test.go+++ b/pkg/detectors/linkpreview/linkpreview_test.go@@ -16,7 +16,7 @@ import (func TestLinkPreview_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/liveagent/liveagent_test.go b/pkg/detectors/liveagent/liveagent_test.goindex 625be9bf9..5de4d4fa3 100644--- a/pkg/detectors/liveagent/liveagent_test.go+++ b/pkg/detectors/liveagent/liveagent_test.go@@ -16,7 +16,7 @@ import (func TestLiveAgent_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/lob/lob_test.go b/pkg/detectors/lob/lob_test.goindex c6e9d89cb..53156a438 100644--- a/pkg/detectors/lob/lob_test.go+++ b/pkg/detectors/lob/lob_test.go@@ -16,7 +16,7 @@ import (func TestLob_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/locationiq/locationiq_test.go b/pkg/detectors/locationiq/locationiq_test.goindex 419914f01..2f442c459 100644--- a/pkg/detectors/locationiq/locationiq_test.go+++ b/pkg/detectors/locationiq/locationiq_test.go@@ -16,7 +16,7 @@ import (func TestLocationIQ_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/loginradius/loginradius_test.go b/pkg/detectors/loginradius/loginradius_test.goindex 46b07b00a..787b5396c 100644--- a/pkg/detectors/loginradius/loginradius_test.go+++ b/pkg/detectors/loginradius/loginradius_test.go@@ -16,7 +16,7 @@ import (func TestLoginradius_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/lokalisetoken/lokalisetoken_test.go b/pkg/detectors/lokalisetoken/lokalisetoken_test.goindex 762e7509c..cdbb5a924 100644--- a/pkg/detectors/lokalisetoken/lokalisetoken_test.go+++ b/pkg/detectors/lokalisetoken/lokalisetoken_test.go@@ -16,7 +16,7 @@ import (func TestLokaliseToken_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/loyverse/loyverse_test.go b/pkg/detectors/loyverse/loyverse_test.goindex 2db248256..b955a31fb 100644--- a/pkg/detectors/loyverse/loyverse_test.go+++ b/pkg/detectors/loyverse/loyverse_test.go@@ -16,7 +16,7 @@ import (func TestLoyverse_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/luno/luno_test.go b/pkg/detectors/luno/luno_test.goindex 28491b3b6..f48323389 100644--- a/pkg/detectors/luno/luno_test.go+++ b/pkg/detectors/luno/luno_test.go@@ -16,7 +16,7 @@ import (func TestLuno_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/m3o/m3o_test.go b/pkg/detectors/m3o/m3o_test.goindex 5d61eebdb..ea9b719bf 100644--- a/pkg/detectors/m3o/m3o_test.go+++ b/pkg/detectors/m3o/m3o_test.go@@ -16,7 +16,7 @@ import (func TestM3o_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/macaddress/macaddress_test.go b/pkg/detectors/macaddress/macaddress_test.goindex c4565dbe5..9e84a9b88 100644--- a/pkg/detectors/macaddress/macaddress_test.go+++ b/pkg/detectors/macaddress/macaddress_test.go@@ -16,7 +16,7 @@ import (func TestMacaddress_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/magnetic/magnetic_test.go b/pkg/detectors/magnetic/magnetic_test.goindex 4effd527c..353abfb0d 100644--- a/pkg/detectors/magnetic/magnetic_test.go+++ b/pkg/detectors/magnetic/magnetic_test.go@@ -16,7 +16,7 @@ import (func TestMagnetic_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/mailboxlayer/mailboxlayer_test.go b/pkg/detectors/mailboxlayer/mailboxlayer_test.goindex 22409bb84..ca80190bd 100644--- a/pkg/detectors/mailboxlayer/mailboxlayer_test.go+++ b/pkg/detectors/mailboxlayer/mailboxlayer_test.go@@ -16,7 +16,7 @@ import (func TestMailboxplayer_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/mailchimp/mailchimp_test.go b/pkg/detectors/mailchimp/mailchimp_test.goindex dcfa7b18f..940d3cfd5 100644--- a/pkg/detectors/mailchimp/mailchimp_test.go+++ b/pkg/detectors/mailchimp/mailchimp_test.go@@ -15,7 +15,7 @@ import (func TestMailchimp_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/mailerlite/mailerlite_test.go b/pkg/detectors/mailerlite/mailerlite_test.goindex 032e8797b..c41548ef9 100644--- a/pkg/detectors/mailerlite/mailerlite_test.go+++ b/pkg/detectors/mailerlite/mailerlite_test.go@@ -16,7 +16,7 @@ import (func TestMailerlite_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/mailgun/mailgun_test.go b/pkg/detectors/mailgun/mailgun_test.goindex 4055dcf76..43ce5511f 100644--- a/pkg/detectors/mailgun/mailgun_test.go+++ b/pkg/detectors/mailgun/mailgun_test.go@@ -18,7 +18,7 @@ import (func TestMailgun_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/mailjetbasicauth/mailjetbasicauth_test.go b/pkg/detectors/mailjetbasicauth/mailjetbasicauth_test.goindex 62a03ccb1..0dba41539 100644--- a/pkg/detectors/mailjetbasicauth/mailjetbasicauth_test.go+++ b/pkg/detectors/mailjetbasicauth/mailjetbasicauth_test.go@@ -16,7 +16,7 @@ import (func TestMailJetBasicAuth_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/mailjetsms/mailjetsms_test.go b/pkg/detectors/mailjetsms/mailjetsms_test.goindex d756d859d..bd5d46bf3 100644--- a/pkg/detectors/mailjetsms/mailjetsms_test.go+++ b/pkg/detectors/mailjetsms/mailjetsms_test.go@@ -16,7 +16,7 @@ import (func TestMailJetSMS_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/mailmodo/mailmodo_test.go b/pkg/detectors/mailmodo/mailmodo_test.goindex 0edfa21f8..f6842333d 100644--- a/pkg/detectors/mailmodo/mailmodo_test.go+++ b/pkg/detectors/mailmodo/mailmodo_test.go@@ -16,7 +16,7 @@ import (func TestMailmodo_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/mailsac/mailsac_test.go b/pkg/detectors/mailsac/mailsac_test.goindex 78c4ca47e..f2dd7b99c 100644--- a/pkg/detectors/mailsac/mailsac_test.go+++ b/pkg/detectors/mailsac/mailsac_test.go@@ -16,7 +16,7 @@ import (func TestMailsac_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/mandrill/mandrill_test.go b/pkg/detectors/mandrill/mandrill_test.goindex 7f27a66f4..bae962134 100644--- a/pkg/detectors/mandrill/mandrill_test.go+++ b/pkg/detectors/mandrill/mandrill_test.go@@ -16,7 +16,7 @@ import (func TestMandrill_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/manifest/manifest_test.go b/pkg/detectors/manifest/manifest_test.goindex d9b9868d1..38a61f641 100644--- a/pkg/detectors/manifest/manifest_test.go+++ b/pkg/detectors/manifest/manifest_test.go@@ -16,7 +16,7 @@ import (func TestManifest_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/mapbox/mapbox_test.go b/pkg/detectors/mapbox/mapbox_test.goindex b84be91fb..b4e55e57b 100644--- a/pkg/detectors/mapbox/mapbox_test.go+++ b/pkg/detectors/mapbox/mapbox_test.go@@ -16,7 +16,7 @@ import (func TestMapBox_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/mapquest/mapquest_test.go b/pkg/detectors/mapquest/mapquest_test.goindex 132522631..e75caf0ff 100644--- a/pkg/detectors/mapquest/mapquest_test.go+++ b/pkg/detectors/mapquest/mapquest_test.go@@ -16,7 +16,7 @@ import (func TestMapquest_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/marketstack/marketstack_test.go b/pkg/detectors/marketstack/marketstack_test.goindex 59e97f896..7b64f1d1d 100644--- a/pkg/detectors/marketstack/marketstack_test.go+++ b/pkg/detectors/marketstack/marketstack_test.go@@ -16,7 +16,7 @@ import (func TestMarketstack_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/mattermostpersonaltoken/mattermostpersonaltoken_test.go b/pkg/detectors/mattermostpersonaltoken/mattermostpersonaltoken_test.goindex 9d3b8a45a..c07005c5e 100644--- a/pkg/detectors/mattermostpersonaltoken/mattermostpersonaltoken_test.go+++ b/pkg/detectors/mattermostpersonaltoken/mattermostpersonaltoken_test.go@@ -16,7 +16,7 @@ import (func TestMattermostPersonalToken_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/mavenlink/mavenlink_test.go b/pkg/detectors/mavenlink/mavenlink_test.goindex 6787526a0..1fef47462 100644--- a/pkg/detectors/mavenlink/mavenlink_test.go+++ b/pkg/detectors/mavenlink/mavenlink_test.go@@ -16,7 +16,7 @@ import (func TestMavenlink_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/maxmindlicense/maxmindlicense_test.go b/pkg/detectors/maxmindlicense/maxmindlicense_test.goindex 1380eecc3..162ca86cd 100644--- a/pkg/detectors/maxmindlicense/maxmindlicense_test.go+++ b/pkg/detectors/maxmindlicense/maxmindlicense_test.go@@ -16,7 +16,7 @@ import (func TestMaxMindLicense_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/meaningcloud/meaningcloud_test.go b/pkg/detectors/meaningcloud/meaningcloud_test.goindex e4876596b..146588ccc 100644--- a/pkg/detectors/meaningcloud/meaningcloud_test.go+++ b/pkg/detectors/meaningcloud/meaningcloud_test.go@@ -16,7 +16,7 @@ import (func TestMeaningCloud_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/mediastack/mediastack_test.go b/pkg/detectors/mediastack/mediastack_test.goindex dbf897b01..eb899e360 100644--- a/pkg/detectors/mediastack/mediastack_test.go+++ b/pkg/detectors/mediastack/mediastack_test.go@@ -16,7 +16,7 @@ import (func TestMediaStack_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/meistertask/meistertask_test.go b/pkg/detectors/meistertask/meistertask_test.goindex cb6eec394..aa0c4e0f1 100644--- a/pkg/detectors/meistertask/meistertask_test.go+++ b/pkg/detectors/meistertask/meistertask_test.go@@ -16,7 +16,7 @@ import (func TestMeistertask_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/mesibo/mesibo_test.go b/pkg/detectors/mesibo/mesibo_test.goindex f258c3e0c..7a4a0cc84 100644--- a/pkg/detectors/mesibo/mesibo_test.go+++ b/pkg/detectors/mesibo/mesibo_test.go@@ -16,7 +16,7 @@ import (func TestMesibo_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/messagebird/messagebird_test.go b/pkg/detectors/messagebird/messagebird_test.goindex 698b11b5d..fa081a8f8 100644--- a/pkg/detectors/messagebird/messagebird_test.go+++ b/pkg/detectors/messagebird/messagebird_test.go@@ -16,7 +16,7 @@ import (func TestMessageBird_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/metrilo/metrilo_test.go b/pkg/detectors/metrilo/metrilo_test.goindex 108f37133..a7e6bb04a 100644--- a/pkg/detectors/metrilo/metrilo_test.go+++ b/pkg/detectors/metrilo/metrilo_test.go@@ -16,7 +16,7 @@ import (func TestMetrilo_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/microsoftteamswebhook/microsoftteamswebhook_test.go b/pkg/detectors/microsoftteamswebhook/microsoftteamswebhook_test.goindex 77f567b78..7840c1aed 100644--- a/pkg/detectors/microsoftteamswebhook/microsoftteamswebhook_test.go+++ b/pkg/detectors/microsoftteamswebhook/microsoftteamswebhook_test.go@@ -16,7 +16,7 @@ import (func TestMicrosoftTeamsWebhook_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/mindmeister/mindmeister_test.go b/pkg/detectors/mindmeister/mindmeister_test.goindex 50dd561fe..c1331e486 100644--- a/pkg/detectors/mindmeister/mindmeister_test.go+++ b/pkg/detectors/mindmeister/mindmeister_test.go@@ -16,7 +16,7 @@ import (func TestMindmeister_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/mite/mite_test.go b/pkg/detectors/mite/mite_test.goindex 237b8c82b..c3582e0ff 100644--- a/pkg/detectors/mite/mite_test.go+++ b/pkg/detectors/mite/mite_test.go@@ -16,7 +16,7 @@ import (func TestMite_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/mixmax/mixmax_test.go b/pkg/detectors/mixmax/mixmax_test.goindex b28364436..42615c779 100644--- a/pkg/detectors/mixmax/mixmax_test.go+++ b/pkg/detectors/mixmax/mixmax_test.go@@ -16,7 +16,7 @@ import (func TestMixmax_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/mixpanel/mixpanel_test.go b/pkg/detectors/mixpanel/mixpanel_test.goindex 51b070072..5241da58f 100644--- a/pkg/detectors/mixpanel/mixpanel_test.go+++ b/pkg/detectors/mixpanel/mixpanel_test.go@@ -16,7 +16,7 @@ import (func TestMixpanel_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/monday/monday_test.go b/pkg/detectors/monday/monday_test.goindex 99c4190a0..6a32c6d81 100644--- a/pkg/detectors/monday/monday_test.go+++ b/pkg/detectors/monday/monday_test.go@@ -16,7 +16,7 @@ import (func TestMonday_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/moonclerk/moonclerk_test.go b/pkg/detectors/moonclerk/moonclerk_test.goindex fb2209407..097b072c9 100644--- a/pkg/detectors/moonclerk/moonclerk_test.go+++ b/pkg/detectors/moonclerk/moonclerk_test.go@@ -16,7 +16,7 @@ import (func TestMoonclerk_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/moosend/moosend_test.go b/pkg/detectors/moosend/moosend_test.goindex d752a8307..fab0ec7fd 100644--- a/pkg/detectors/moosend/moosend_test.go+++ b/pkg/detectors/moosend/moosend_test.go@@ -16,7 +16,7 @@ import (func TestMoosend_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/mrticktock/mrticktock_test.go b/pkg/detectors/mrticktock/mrticktock_test.goindex cff83f9cd..0377d2c78 100644--- a/pkg/detectors/mrticktock/mrticktock_test.go+++ b/pkg/detectors/mrticktock/mrticktock_test.go@@ -16,7 +16,7 @@ import (func TestMrticktock_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/myfreshworks/myfreshworks_test.go b/pkg/detectors/myfreshworks/myfreshworks_test.goindex 74ef75a9e..699664fe3 100644--- a/pkg/detectors/myfreshworks/myfreshworks_test.go+++ b/pkg/detectors/myfreshworks/myfreshworks_test.go@@ -16,7 +16,7 @@ import (func TestMyfreshworks_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/myintervals/myintervals_test.go b/pkg/detectors/myintervals/myintervals_test.goindex 67969f1dd..9f4ffb0ec 100644--- a/pkg/detectors/myintervals/myintervals_test.go+++ b/pkg/detectors/myintervals/myintervals_test.go@@ -16,7 +16,7 @@ import (func TestMyintervals_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/nasdaqdatalink/nasdaqdatalink_test.go b/pkg/detectors/nasdaqdatalink/nasdaqdatalink_test.goindex f63657691..7b440766d 100644--- a/pkg/detectors/nasdaqdatalink/nasdaqdatalink_test.go+++ b/pkg/detectors/nasdaqdatalink/nasdaqdatalink_test.go@@ -16,7 +16,7 @@ import (func TestNasdaqDataLink_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/nethunt/nethunt_test.go b/pkg/detectors/nethunt/nethunt_test.goindex 9f66cf99f..8a0518060 100644--- a/pkg/detectors/nethunt/nethunt_test.go+++ b/pkg/detectors/nethunt/nethunt_test.go@@ -16,7 +16,7 @@ import (func TestNethunt_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/netlify/netlify_test.go b/pkg/detectors/netlify/netlify_test.goindex 095edb82a..63671e521 100644--- a/pkg/detectors/netlify/netlify_test.go+++ b/pkg/detectors/netlify/netlify_test.go@@ -16,7 +16,7 @@ import (func TestNetlify_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/neutrinoapi/neutrinoapi_test.go b/pkg/detectors/neutrinoapi/neutrinoapi_test.goindex 52bcbde63..0d8cc27a8 100644--- a/pkg/detectors/neutrinoapi/neutrinoapi_test.go+++ b/pkg/detectors/neutrinoapi/neutrinoapi_test.go@@ -16,7 +16,7 @@ import (func TestNeutrinoApi_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/newrelicpersonalapikey/newrelicpersonalapikey_test.go b/pkg/detectors/newrelicpersonalapikey/newrelicpersonalapikey_test.goindex d3e67a03e..512ca9ebf 100644--- a/pkg/detectors/newrelicpersonalapikey/newrelicpersonalapikey_test.go+++ b/pkg/detectors/newrelicpersonalapikey/newrelicpersonalapikey_test.go@@ -16,7 +16,7 @@ import (func TestNewRelicPersonalApiKey_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/newsapi/newsapi_test.go b/pkg/detectors/newsapi/newsapi_test.goindex cba413e2d..46a035088 100644--- a/pkg/detectors/newsapi/newsapi_test.go+++ b/pkg/detectors/newsapi/newsapi_test.go@@ -16,7 +16,7 @@ import (func TestNewsapi_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/newscatcher/newscatcher_test.go b/pkg/detectors/newscatcher/newscatcher_test.goindex 93e763074..415171c9d 100644--- a/pkg/detectors/newscatcher/newscatcher_test.go+++ b/pkg/detectors/newscatcher/newscatcher_test.go@@ -16,7 +16,7 @@ import (func TestNewscatcher_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/nexmoapikey/nexmoapikey_test.go b/pkg/detectors/nexmoapikey/nexmoapikey_test.goindex 2f1847492..560f96a8d 100644--- a/pkg/detectors/nexmoapikey/nexmoapikey_test.go+++ b/pkg/detectors/nexmoapikey/nexmoapikey_test.go@@ -16,7 +16,7 @@ import (func TestNexmoApiKey_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/nftport/nftport_test.go b/pkg/detectors/nftport/nftport_test.goindex fe0d33e1e..5750b1db1 100644--- a/pkg/detectors/nftport/nftport_test.go+++ b/pkg/detectors/nftport/nftport_test.go@@ -16,7 +16,7 @@ import (func TestNftport_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/nicereply/nicereply_test.go b/pkg/detectors/nicereply/nicereply_test.goindex 50ef5d50f..b5e651650 100644--- a/pkg/detectors/nicereply/nicereply_test.go+++ b/pkg/detectors/nicereply/nicereply_test.go@@ -16,7 +16,7 @@ import (func TestNicereply_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/nimble/nimble_test.go b/pkg/detectors/nimble/nimble_test.goindex 8c6576686..a4b5a3393 100644--- a/pkg/detectors/nimble/nimble_test.go+++ b/pkg/detectors/nimble/nimble_test.go@@ -16,7 +16,7 @@ import (func TestNimble_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/nitro/nitro_test.go b/pkg/detectors/nitro/nitro_test.goindex 7d12ec292..4ef197f20 100644--- a/pkg/detectors/nitro/nitro_test.go+++ b/pkg/detectors/nitro/nitro_test.go@@ -16,7 +16,7 @@ import (func TestNitro_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/noticeable/noticeable_test.go b/pkg/detectors/noticeable/noticeable_test.goindex 8b3dc0f66..ff9f6a9a2 100644--- a/pkg/detectors/noticeable/noticeable_test.go+++ b/pkg/detectors/noticeable/noticeable_test.go@@ -16,7 +16,7 @@ import (func TestNoticeable_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/notion/notion_test.go b/pkg/detectors/notion/notion_test.goindex 1cf0bcd4a..f93c9a7f6 100644--- a/pkg/detectors/notion/notion_test.go+++ b/pkg/detectors/notion/notion_test.go@@ -16,7 +16,7 @@ import (func TestNotion_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/numverify/numverify_test.go b/pkg/detectors/numverify/numverify_test.goindex d7f43cdb9..0dfc4b3b7 100644--- a/pkg/detectors/numverify/numverify_test.go+++ b/pkg/detectors/numverify/numverify_test.go@@ -16,7 +16,7 @@ import (func TestNumverify_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/nutritionix/nutritionix_test.go b/pkg/detectors/nutritionix/nutritionix_test.goindex 40178baa8..e46b641de 100644--- a/pkg/detectors/nutritionix/nutritionix_test.go+++ b/pkg/detectors/nutritionix/nutritionix_test.go@@ -16,7 +16,7 @@ import (func TestNutritionix_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/nylas/nylas_test.go b/pkg/detectors/nylas/nylas_test.goindex 4f4bb8d67..0b13fc4ae 100644--- a/pkg/detectors/nylas/nylas_test.go+++ b/pkg/detectors/nylas/nylas_test.go@@ -16,7 +16,7 @@ import (func TestNylas_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/nytimes/nytimes_test.go b/pkg/detectors/nytimes/nytimes_test.goindex 5e928bb4f..5a8f9e28b 100644--- a/pkg/detectors/nytimes/nytimes_test.go+++ b/pkg/detectors/nytimes/nytimes_test.go@@ -16,7 +16,7 @@ import (func TestNytimes_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/oanda/oanda_test.go b/pkg/detectors/oanda/oanda_test.goindex e0b9afe5b..d38aab44c 100644--- a/pkg/detectors/oanda/oanda_test.go+++ b/pkg/detectors/oanda/oanda_test.go@@ -16,7 +16,7 @@ import (func TestOanda_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/okta/okta_test.go b/pkg/detectors/okta/okta_test.goindex e472adc74..ed62f664f 100644--- a/pkg/detectors/okta/okta_test.go+++ b/pkg/detectors/okta/okta_test.go@@ -15,7 +15,7 @@ import (func TestOkta_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/omnisend/omnisend_test.go b/pkg/detectors/omnisend/omnisend_test.goindex ca24936f6..c4c4b3d08 100644--- a/pkg/detectors/omnisend/omnisend_test.go+++ b/pkg/detectors/omnisend/omnisend_test.go@@ -16,7 +16,7 @@ import (func TestOmnisend_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/onedesk/onedesk_test.go b/pkg/detectors/onedesk/onedesk_test.goindex bda2055a5..e62101b03 100644--- a/pkg/detectors/onedesk/onedesk_test.go+++ b/pkg/detectors/onedesk/onedesk_test.go@@ -16,7 +16,7 @@ import (func TestOnedesk_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/onelogin/onelogin_test.go b/pkg/detectors/onelogin/onelogin_test.goindex 5fa28f573..dc34f47c8 100644--- a/pkg/detectors/onelogin/onelogin_test.go+++ b/pkg/detectors/onelogin/onelogin_test.go@@ -15,7 +15,7 @@ import (func TestOnelogin_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/onepagecrm/onepagecrm_test.go b/pkg/detectors/onepagecrm/onepagecrm_test.goindex 132e34603..bd29dba18 100644--- a/pkg/detectors/onepagecrm/onepagecrm_test.go+++ b/pkg/detectors/onepagecrm/onepagecrm_test.go@@ -16,7 +16,7 @@ import (func TestOnepageCRM_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/onwaterio/onwaterio_test.go b/pkg/detectors/onwaterio/onwaterio_test.goindex 828c67469..60dd5cdc2 100644--- a/pkg/detectors/onwaterio/onwaterio_test.go+++ b/pkg/detectors/onwaterio/onwaterio_test.go@@ -16,7 +16,7 @@ import (func TestOnWaterIO_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/oopspam/oopspam_test.go b/pkg/detectors/oopspam/oopspam_test.goindex 8e026e13f..abeb73780 100644--- a/pkg/detectors/oopspam/oopspam_test.go+++ b/pkg/detectors/oopspam/oopspam_test.go@@ -16,7 +16,7 @@ import (func TestOOPSpam_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/opencagedata/opencagedata_test.go b/pkg/detectors/opencagedata/opencagedata_test.goindex 17b4c392e..4d2af226f 100644--- a/pkg/detectors/opencagedata/opencagedata_test.go+++ b/pkg/detectors/opencagedata/opencagedata_test.go@@ -16,7 +16,7 @@ import (func TestOpenCageData_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/opengraphr/opengraphr_test.go b/pkg/detectors/opengraphr/opengraphr_test.goindex f3393eb00..76b5dc9fa 100644--- a/pkg/detectors/opengraphr/opengraphr_test.go+++ b/pkg/detectors/opengraphr/opengraphr_test.go@@ -16,7 +16,7 @@ import (func TestOpengraphr_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/openuv/openuv_test.go b/pkg/detectors/openuv/openuv_test.goindex 0b14403f1..3ef657dbe 100644--- a/pkg/detectors/openuv/openuv_test.go+++ b/pkg/detectors/openuv/openuv_test.go@@ -16,7 +16,7 @@ import (func TestOpenuv_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/openweather/openweather_test.go b/pkg/detectors/openweather/openweather_test.goindex d57ed8fba..97e93b88d 100644--- a/pkg/detectors/openweather/openweather_test.go+++ b/pkg/detectors/openweather/openweather_test.go@@ -16,7 +16,7 @@ import (func TestOpenWeather_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/optimizely/optimizely_test.go b/pkg/detectors/optimizely/optimizely_test.goindex 263a4770c..e46396716 100644--- a/pkg/detectors/optimizely/optimizely_test.go+++ b/pkg/detectors/optimizely/optimizely_test.go@@ -16,7 +16,7 @@ import (func TestOptimizely_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/owlbot/owlbot_test.go b/pkg/detectors/owlbot/owlbot_test.goindex bb6a590b0..7501d9ae9 100644--- a/pkg/detectors/owlbot/owlbot_test.go+++ b/pkg/detectors/owlbot/owlbot_test.go@@ -16,7 +16,7 @@ import (func TestOwlbot_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/pagerdutyapikey/pagerdutyapikey_test.go b/pkg/detectors/pagerdutyapikey/pagerdutyapikey_test.goindex 8791a7cdf..894d7af8e 100644--- a/pkg/detectors/pagerdutyapikey/pagerdutyapikey_test.go+++ b/pkg/detectors/pagerdutyapikey/pagerdutyapikey_test.go@@ -16,7 +16,7 @@ import (func TestPagerDutyApiKey_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/pandadoc/pandadoc_test.go b/pkg/detectors/pandadoc/pandadoc_test.goindex f8a98196e..fcd9f742f 100644--- a/pkg/detectors/pandadoc/pandadoc_test.go+++ b/pkg/detectors/pandadoc/pandadoc_test.go@@ -16,7 +16,7 @@ import (func TestPandadoc_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/paralleldots/paralleldots_test.go b/pkg/detectors/paralleldots/paralleldots_test.goindex b2f68b68b..f7988c61a 100644--- a/pkg/detectors/paralleldots/paralleldots_test.go+++ b/pkg/detectors/paralleldots/paralleldots_test.go@@ -16,7 +16,7 @@ import (func TestParalleldots_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/partnerstack/partnerstack_test.go b/pkg/detectors/partnerstack/partnerstack_test.goindex 3201832d5..0fb9f3ada 100644--- a/pkg/detectors/partnerstack/partnerstack_test.go+++ b/pkg/detectors/partnerstack/partnerstack_test.go@@ -16,7 +16,7 @@ import (func TestPartnerstack_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/passbase/passbase_test.go b/pkg/detectors/passbase/passbase_test.goindex 9cdda2b79..7bed6edbc 100644--- a/pkg/detectors/passbase/passbase_test.go+++ b/pkg/detectors/passbase/passbase_test.go@@ -16,7 +16,7 @@ import (func TestPassbase_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/pastebin/pastebin_test.go b/pkg/detectors/pastebin/pastebin_test.goindex 0ceeca23b..0ecfeea2f 100644--- a/pkg/detectors/pastebin/pastebin_test.go+++ b/pkg/detectors/pastebin/pastebin_test.go@@ -16,7 +16,7 @@ import (func TestPastebin_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/paymoapp/paymoapp_test.go b/pkg/detectors/paymoapp/paymoapp_test.goindex 589a7a1a9..ac955c390 100644--- a/pkg/detectors/paymoapp/paymoapp_test.go+++ b/pkg/detectors/paymoapp/paymoapp_test.go@@ -16,7 +16,7 @@ import (func TestPaymoapp_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/paymongo/paymongo_test.go b/pkg/detectors/paymongo/paymongo_test.goindex 124e8f521..8f7996b21 100644--- a/pkg/detectors/paymongo/paymongo_test.go+++ b/pkg/detectors/paymongo/paymongo_test.go@@ -16,7 +16,7 @@ import (func TestPaymongo_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/paypaloauth/paypaloauth_test.go b/pkg/detectors/paypaloauth/paypaloauth_test.goindex 8c5175291..304183a29 100644--- a/pkg/detectors/paypaloauth/paypaloauth_test.go+++ b/pkg/detectors/paypaloauth/paypaloauth_test.go@@ -16,7 +16,7 @@ import (func TestPaypalOauth_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/paystack/paystack_test.go b/pkg/detectors/paystack/paystack_test.goindex 3d4a8c62f..d8f6dfe21 100644--- a/pkg/detectors/paystack/paystack_test.go+++ b/pkg/detectors/paystack/paystack_test.go@@ -16,7 +16,7 @@ import (func TestPaystack_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/pdflayer/pdflayer_test.go b/pkg/detectors/pdflayer/pdflayer_test.goindex a67512b8e..e270e74b9 100644--- a/pkg/detectors/pdflayer/pdflayer_test.go+++ b/pkg/detectors/pdflayer/pdflayer_test.go@@ -16,7 +16,7 @@ import (func TestPdfLayer_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/pdfshift/pdfshift_test.go b/pkg/detectors/pdfshift/pdfshift_test.goindex 2644d4cc0..c5ea471e4 100644--- a/pkg/detectors/pdfshift/pdfshift_test.go+++ b/pkg/detectors/pdfshift/pdfshift_test.go@@ -16,7 +16,7 @@ import (func TestPdfShift_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/peopledatalabs/peopledatalabs_test.go b/pkg/detectors/peopledatalabs/peopledatalabs_test.goindex 897eff200..81006a0c1 100644--- a/pkg/detectors/peopledatalabs/peopledatalabs_test.go+++ b/pkg/detectors/peopledatalabs/peopledatalabs_test.go@@ -16,7 +16,7 @@ import (func TestPeopleDataLabs_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/pepipost/pepipost_test.go b/pkg/detectors/pepipost/pepipost_test.goindex 8c4b5c52b..19a4150f5 100644--- a/pkg/detectors/pepipost/pepipost_test.go+++ b/pkg/detectors/pepipost/pepipost_test.go@@ -16,7 +16,7 @@ import (func TestPepipost_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/pipedrive/pipedrive_test.go b/pkg/detectors/pipedrive/pipedrive_test.goindex dc2e43d17..54e6659b8 100644--- a/pkg/detectors/pipedrive/pipedrive_test.go+++ b/pkg/detectors/pipedrive/pipedrive_test.go@@ -16,7 +16,7 @@ import (func TestPipedrive_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/pivotaltracker/pivotaltracker_test.go b/pkg/detectors/pivotaltracker/pivotaltracker_test.goindex 108035d3e..47ee42d18 100644--- a/pkg/detectors/pivotaltracker/pivotaltracker_test.go+++ b/pkg/detectors/pivotaltracker/pivotaltracker_test.go@@ -15,7 +15,7 @@ import (func TestPivotalTracker_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/pixabay/pixabay_test.go b/pkg/detectors/pixabay/pixabay_test.goindex 237d51256..51bf1d46b 100644--- a/pkg/detectors/pixabay/pixabay_test.go+++ b/pkg/detectors/pixabay/pixabay_test.go@@ -16,7 +16,7 @@ import (func TestPixabay_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/plaidkey/plaidkey_test.go b/pkg/detectors/plaidkey/plaidkey_test.goindex 05173ec95..fdf7476ac 100644--- a/pkg/detectors/plaidkey/plaidkey_test.go+++ b/pkg/detectors/plaidkey/plaidkey_test.go@@ -16,7 +16,7 @@ import (func TestPlaidKey_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/planyo/planyo_test.go b/pkg/detectors/planyo/planyo_test.goindex 0cc9515b1..f6a03e771 100644--- a/pkg/detectors/planyo/planyo_test.go+++ b/pkg/detectors/planyo/planyo_test.go@@ -16,7 +16,7 @@ import (func TestPlanyo_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/plivo/plivo_test.go b/pkg/detectors/plivo/plivo_test.goindex a9ad435bc..118e7387b 100644--- a/pkg/detectors/plivo/plivo_test.go+++ b/pkg/detectors/plivo/plivo_test.go@@ -16,7 +16,7 @@ import (func TestPlivo_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/poloniex/poloniex_test.go b/pkg/detectors/poloniex/poloniex_test.goindex b18a7d81e..9b096886b 100644--- a/pkg/detectors/poloniex/poloniex_test.go+++ b/pkg/detectors/poloniex/poloniex_test.go@@ -16,7 +16,7 @@ import (func TestPoloniex_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/polygon/polygon_test.go b/pkg/detectors/polygon/polygon_test.goindex b2f35f3cc..cc3699789 100644--- a/pkg/detectors/polygon/polygon_test.go+++ b/pkg/detectors/polygon/polygon_test.go@@ -16,7 +16,7 @@ import (func TestPolygon_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/positionstack/positionstack_test.go b/pkg/detectors/positionstack/positionstack_test.goindex 9970f338f..1fe02bb21 100644--- a/pkg/detectors/positionstack/positionstack_test.go+++ b/pkg/detectors/positionstack/positionstack_test.go@@ -16,7 +16,7 @@ import (func TestPositionStack_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/postageapp/postageapp_test.go b/pkg/detectors/postageapp/postageapp_test.goindex 43cc86cce..abfc5b91e 100644--- a/pkg/detectors/postageapp/postageapp_test.go+++ b/pkg/detectors/postageapp/postageapp_test.go@@ -16,7 +16,7 @@ import (func TestPostageApp_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/posthog/posthog_test.go b/pkg/detectors/posthog/posthog_test.goindex dfc59b2e0..73657a675 100644--- a/pkg/detectors/posthog/posthog_test.go+++ b/pkg/detectors/posthog/posthog_test.go@@ -16,7 +16,7 @@ import (func TestAppPosthog_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/postman/postman_test.go b/pkg/detectors/postman/postman_test.goindex 96cb842a6..b5d8d3478 100644--- a/pkg/detectors/postman/postman_test.go+++ b/pkg/detectors/postman/postman_test.go@@ -16,7 +16,7 @@ import (func TestPostman_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/postmark/postmark_test.go b/pkg/detectors/postmark/postmark_test.goindex df2fe3082..870552bb3 100644--- a/pkg/detectors/postmark/postmark_test.go+++ b/pkg/detectors/postmark/postmark_test.go@@ -16,7 +16,7 @@ import (func TestPostmark_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/powrbot/powrbot_test.go b/pkg/detectors/powrbot/powrbot_test.goindex db425cd19..25ae6d390 100644--- a/pkg/detectors/powrbot/powrbot_test.go+++ b/pkg/detectors/powrbot/powrbot_test.go@@ -16,7 +16,7 @@ import (func TestPowrbot_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/privatekey/privatekey_test.go b/pkg/detectors/privatekey/privatekey_test.goindex 69eb583d9..41b94a1ab 100644--- a/pkg/detectors/privatekey/privatekey_test.go+++ b/pkg/detectors/privatekey/privatekey_test.go@@ -17,7 +17,7 @@ import (func TestPrivatekey_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/prospectcrm/prospectcrm_test.go b/pkg/detectors/prospectcrm/prospectcrm_test.goindex 97462fd29..939f52d4c 100644--- a/pkg/detectors/prospectcrm/prospectcrm_test.go+++ b/pkg/detectors/prospectcrm/prospectcrm_test.go@@ -16,7 +16,7 @@ import (func TestProspectCRM_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/prospectio/prospectio_test.go b/pkg/detectors/prospectio/prospectio_test.goindex 4bed1b6cb..05f602950 100644--- a/pkg/detectors/prospectio/prospectio_test.go+++ b/pkg/detectors/prospectio/prospectio_test.go@@ -16,7 +16,7 @@ import (func TestProspectIO_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/protocolsio/protocolsio_test.go b/pkg/detectors/protocolsio/protocolsio_test.goindex 2ac45a575..0f0e4b435 100644--- a/pkg/detectors/protocolsio/protocolsio_test.go+++ b/pkg/detectors/protocolsio/protocolsio_test.go@@ -16,7 +16,7 @@ import (func TestProtocolsIO_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/proxycrawl/proxycrawl_test.go b/pkg/detectors/proxycrawl/proxycrawl_test.goindex b698ddfa1..fae8eb14c 100644--- a/pkg/detectors/proxycrawl/proxycrawl_test.go+++ b/pkg/detectors/proxycrawl/proxycrawl_test.go@@ -16,7 +16,7 @@ import (func TestProxyCrawl_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/pubnubpublishkey/pubnubpublishkey_test.go b/pkg/detectors/pubnubpublishkey/pubnubpublishkey_test.goindex d726d6367..f8f75578e 100644--- a/pkg/detectors/pubnubpublishkey/pubnubpublishkey_test.go+++ b/pkg/detectors/pubnubpublishkey/pubnubpublishkey_test.go@@ -16,7 +16,7 @@ import (func TestPubNubPublishKey_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/pubnubsubscriptionkey/pubnubsubscriptionkey_test.go b/pkg/detectors/pubnubsubscriptionkey/pubnubsubscriptionkey_test.goindex 407367f72..65f1f9edf 100644--- a/pkg/detectors/pubnubsubscriptionkey/pubnubsubscriptionkey_test.go+++ b/pkg/detectors/pubnubsubscriptionkey/pubnubsubscriptionkey_test.go@@ -16,7 +16,7 @@ import (func TestPubNubSubscriptionKey_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/purestake/purestake_test.go b/pkg/detectors/purestake/purestake_test.goindex 4a71605d8..fde90d8d8 100644--- a/pkg/detectors/purestake/purestake_test.go+++ b/pkg/detectors/purestake/purestake_test.go@@ -16,7 +16,7 @@ import (func TestPureStake_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/pushbulletapikey/pushbulletapikey_test.go b/pkg/detectors/pushbulletapikey/pushbulletapikey_test.goindex e561656ce..b05805b03 100644--- a/pkg/detectors/pushbulletapikey/pushbulletapikey_test.go+++ b/pkg/detectors/pushbulletapikey/pushbulletapikey_test.go@@ -16,7 +16,7 @@ import (func TestPushBulletApiKey_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/pusherchannelkey/pusherchannelkey_test.go b/pkg/detectors/pusherchannelkey/pusherchannelkey_test.goindex c08238c8b..be028d0d3 100644--- a/pkg/detectors/pusherchannelkey/pusherchannelkey_test.go+++ b/pkg/detectors/pusherchannelkey/pusherchannelkey_test.go@@ -16,7 +16,7 @@ import (func TestPusherChannelKey_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/qualaroo/qualaroo_test.go b/pkg/detectors/qualaroo/qualaroo_test.goindex ef0da1cfb..ea46b7b40 100644--- a/pkg/detectors/qualaroo/qualaroo_test.go+++ b/pkg/detectors/qualaroo/qualaroo_test.go@@ -16,7 +16,7 @@ import (func TestQualaroo_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/qubole/qubole_test.go b/pkg/detectors/qubole/qubole_test.goindex 831ccbc14..6f4b43871 100644--- a/pkg/detectors/qubole/qubole_test.go+++ b/pkg/detectors/qubole/qubole_test.go@@ -16,7 +16,7 @@ import (func TestQubole_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/quickmetrics/quickmetrics_test.go b/pkg/detectors/quickmetrics/quickmetrics_test.goindex def32e287..23aa196a3 100644--- a/pkg/detectors/quickmetrics/quickmetrics_test.go+++ b/pkg/detectors/quickmetrics/quickmetrics_test.go@@ -16,7 +16,7 @@ import (func TestQuickMetrics_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/rapidapi/rapidapi_test.go b/pkg/detectors/rapidapi/rapidapi_test.goindex 249b1a6be..1d794b28e 100644--- a/pkg/detectors/rapidapi/rapidapi_test.go+++ b/pkg/detectors/rapidapi/rapidapi_test.go@@ -16,7 +16,7 @@ import (func TestRapidApi_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/raven/raven_test.go b/pkg/detectors/raven/raven_test.goindex a7e72835c..1bebc264a 100644--- a/pkg/detectors/raven/raven_test.go+++ b/pkg/detectors/raven/raven_test.go@@ -16,7 +16,7 @@ import (func TestRaven_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/rawg/rawg_test.go b/pkg/detectors/rawg/rawg_test.goindex fbb432c7c..6dce149f1 100644--- a/pkg/detectors/rawg/rawg_test.go+++ b/pkg/detectors/rawg/rawg_test.go@@ -16,7 +16,7 @@ import (func TestRawg_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/razorpay/razorpay_test.go b/pkg/detectors/razorpay/razorpay_test.goindex 044bc3bc1..ae8e8edaf 100644--- a/pkg/detectors/razorpay/razorpay_test.go+++ b/pkg/detectors/razorpay/razorpay_test.go@@ -16,7 +16,7 @@ import (func TestRazorPay_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/readme/readme_test.go b/pkg/detectors/readme/readme_test.goindex 1faaa9a95..d4598b749 100644--- a/pkg/detectors/readme/readme_test.go+++ b/pkg/detectors/readme/readme_test.go@@ -16,7 +16,7 @@ import (func TestReadMe_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/reallysimplesystems/reallysimplesystems_test.go b/pkg/detectors/reallysimplesystems/reallysimplesystems_test.goindex eb6f60b6a..fd5ac91a3 100644--- a/pkg/detectors/reallysimplesystems/reallysimplesystems_test.go+++ b/pkg/detectors/reallysimplesystems/reallysimplesystems_test.go@@ -16,7 +16,7 @@ import (func TestReallySimpleSystems_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/rebrandly/rebrandly_test.go b/pkg/detectors/rebrandly/rebrandly_test.goindex 3ce6e8c3c..580bd5d30 100644--- a/pkg/detectors/rebrandly/rebrandly_test.go+++ b/pkg/detectors/rebrandly/rebrandly_test.go@@ -16,7 +16,7 @@ import (func TestRebrandly_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/refiner/refiner_test.go b/pkg/detectors/refiner/refiner_test.goindex 7b40ca67b..af88a9871 100644--- a/pkg/detectors/refiner/refiner_test.go+++ b/pkg/detectors/refiner/refiner_test.go@@ -16,7 +16,7 @@ import (func TestRefiner_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/restpack/restpack_test.go b/pkg/detectors/restpack/restpack_test.goindex 6c95b79bf..1979f9685 100644--- a/pkg/detectors/restpack/restpack_test.go+++ b/pkg/detectors/restpack/restpack_test.go@@ -16,7 +16,7 @@ import (func TestRestpack_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/restpackhtmltopdfapi/restpackhtmltopdfapi_test.go b/pkg/detectors/restpackhtmltopdfapi/restpackhtmltopdfapi_test.goindex 4ed21aa14..9cb3d0b70 100644--- a/pkg/detectors/restpackhtmltopdfapi/restpackhtmltopdfapi_test.go+++ b/pkg/detectors/restpackhtmltopdfapi/restpackhtmltopdfapi_test.go@@ -16,7 +16,7 @@ import (func TestRestpackHtmlToPdfAPI_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/restpackscreenshotapi/restpackscreenshotapi_test.go b/pkg/detectors/restpackscreenshotapi/restpackscreenshotapi_test.goindex 53e534eec..cf70ff2ad 100644--- a/pkg/detectors/restpackscreenshotapi/restpackscreenshotapi_test.go+++ b/pkg/detectors/restpackscreenshotapi/restpackscreenshotapi_test.go@@ -16,7 +16,7 @@ import (func TestRestpackScreenshotAPI_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/rev/rev_test.go b/pkg/detectors/rev/rev_test.goindex 5cf2f27e0..a246967b0 100644--- a/pkg/detectors/rev/rev_test.go+++ b/pkg/detectors/rev/rev_test.go@@ -16,7 +16,7 @@ import (func TestRev_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/revampcrm/revampcrm_test.go b/pkg/detectors/revampcrm/revampcrm_test.goindex cf514a2f5..dae099ef8 100644--- a/pkg/detectors/revampcrm/revampcrm_test.go+++ b/pkg/detectors/revampcrm/revampcrm_test.go@@ -16,7 +16,7 @@ import (func TestRevampCRM_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/ringcentral/ringcentral_test.go b/pkg/detectors/ringcentral/ringcentral_test.goindex 236a89fbf..d3884d423 100644--- a/pkg/detectors/ringcentral/ringcentral_test.go+++ b/pkg/detectors/ringcentral/ringcentral_test.go@@ -16,7 +16,7 @@ import (func TestRingcentral_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/ritekit/ritekit_test.go b/pkg/detectors/ritekit/ritekit_test.goindex 8457f895a..0f979d995 100644--- a/pkg/detectors/ritekit/ritekit_test.go+++ b/pkg/detectors/ritekit/ritekit_test.go@@ -16,7 +16,7 @@ import (func TestRiteKit_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/roaring/roaring_test.go b/pkg/detectors/roaring/roaring_test.goindex 99e882e1b..e5d5a3246 100644--- a/pkg/detectors/roaring/roaring_test.go+++ b/pkg/detectors/roaring/roaring_test.go@@ -16,7 +16,7 @@ import (func TestRoaring_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/rocketreach/rocketreach_test.go b/pkg/detectors/rocketreach/rocketreach_test.goindex f6d6fe658..4a57ddb0d 100644--- a/pkg/detectors/rocketreach/rocketreach_test.go+++ b/pkg/detectors/rocketreach/rocketreach_test.go@@ -16,7 +16,7 @@ import (func TestRocketReach_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/roninapp/roninapp_test.go b/pkg/detectors/roninapp/roninapp_test.goindex 0c5e2e51c..6143019a5 100644--- a/pkg/detectors/roninapp/roninapp_test.go+++ b/pkg/detectors/roninapp/roninapp_test.go@@ -16,7 +16,7 @@ import (func TestRoninApp_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/route4me/route4me_test.go b/pkg/detectors/route4me/route4me_test.goindex 8948678ad..53ff083cc 100644--- a/pkg/detectors/route4me/route4me_test.go+++ b/pkg/detectors/route4me/route4me_test.go@@ -16,7 +16,7 @@ import (func TestRoute4me_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/rubygems/rubygems_test.go b/pkg/detectors/rubygems/rubygems_test.goindex 537d9d541..05874ff8e 100644--- a/pkg/detectors/rubygems/rubygems_test.go+++ b/pkg/detectors/rubygems/rubygems_test.go@@ -16,7 +16,7 @@ import (func TestRubyGems_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/runrunit/runrunit_test.go b/pkg/detectors/runrunit/runrunit_test.goindex 8ec12b7b8..4033dad53 100644--- a/pkg/detectors/runrunit/runrunit_test.go+++ b/pkg/detectors/runrunit/runrunit_test.go@@ -16,7 +16,7 @@ import (func TestRunRunIt_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/salesblink/salesblink_test.go b/pkg/detectors/salesblink/salesblink_test.goindex 249655e1d..d05d0606f 100644--- a/pkg/detectors/salesblink/salesblink_test.go+++ b/pkg/detectors/salesblink/salesblink_test.go@@ -16,7 +16,7 @@ import (func TestSalesblink_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/salescookie/salescookie_test.go b/pkg/detectors/salescookie/salescookie_test.goindex 34438d908..edc478d33 100644--- a/pkg/detectors/salescookie/salescookie_test.go+++ b/pkg/detectors/salescookie/salescookie_test.go@@ -16,7 +16,7 @@ import (func TestSalescookie_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/salesflare/salesflare_test.go b/pkg/detectors/salesflare/salesflare_test.goindex f948f7daa..d634e6e56 100644--- a/pkg/detectors/salesflare/salesflare_test.go+++ b/pkg/detectors/salesflare/salesflare_test.go@@ -16,7 +16,7 @@ import (func TestSalesflare_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/satismeterprojectkey/satismeterprojectkey_test.go b/pkg/detectors/satismeterprojectkey/satismeterprojectkey_test.goindex a8544379c..05706f2cf 100644--- a/pkg/detectors/satismeterprojectkey/satismeterprojectkey_test.go+++ b/pkg/detectors/satismeterprojectkey/satismeterprojectkey_test.go@@ -16,7 +16,7 @@ import (func TestSatismeterProjectkey_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/satismeterwritekey/satismeterwritekey_test.go b/pkg/detectors/satismeterwritekey/satismeterwritekey_test.goindex 6f23f0ab6..53558b1e7 100644--- a/pkg/detectors/satismeterwritekey/satismeterwritekey_test.go+++ b/pkg/detectors/satismeterwritekey/satismeterwritekey_test.go@@ -16,7 +16,7 @@ import (func TestSatismeterWritekey_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/saucelabs/saucelabs_test.go b/pkg/detectors/saucelabs/saucelabs_test.goindex 991e8524c..fd842d2e2 100644--- a/pkg/detectors/saucelabs/saucelabs_test.go+++ b/pkg/detectors/saucelabs/saucelabs_test.go@@ -16,7 +16,7 @@ import (func TestSauceLabs_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/scalewaykey/scalewaykey_test.go b/pkg/detectors/scalewaykey/scalewaykey_test.goindex ab86cfaa9..78e11220a 100644--- a/pkg/detectors/scalewaykey/scalewaykey_test.go+++ b/pkg/detectors/scalewaykey/scalewaykey_test.go@@ -16,7 +16,7 @@ import (func TestScalewayKey_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/scrapeowl/scrapeowl_test.go b/pkg/detectors/scrapeowl/scrapeowl_test.goindex f73b17e9b..0a62d2a88 100644--- a/pkg/detectors/scrapeowl/scrapeowl_test.go+++ b/pkg/detectors/scrapeowl/scrapeowl_test.go@@ -16,7 +16,7 @@ import (func TestScrapeowl_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/scraperapi/scraperapi_test.go b/pkg/detectors/scraperapi/scraperapi_test.goindex 761ea7c97..b03657c24 100644--- a/pkg/detectors/scraperapi/scraperapi_test.go+++ b/pkg/detectors/scraperapi/scraperapi_test.go@@ -16,7 +16,7 @@ import (func TestScraperAPI_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/scraperbox/scraperbox_test.go b/pkg/detectors/scraperbox/scraperbox_test.goindex 27d613081..870c98a9c 100644--- a/pkg/detectors/scraperbox/scraperbox_test.go+++ b/pkg/detectors/scraperbox/scraperbox_test.go@@ -16,7 +16,7 @@ import (func TestScraperBox_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/scrapersite/scrapersite_test.go b/pkg/detectors/scrapersite/scrapersite_test.goindex b02b792db..74faca2bf 100644--- a/pkg/detectors/scrapersite/scrapersite_test.go+++ b/pkg/detectors/scrapersite/scrapersite_test.go@@ -16,7 +16,7 @@ import (func TestScraperSite_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/scrapestack/scrapestack_test.go b/pkg/detectors/scrapestack/scrapestack_test.goindex b4b3f3b1e..27e696315 100644--- a/pkg/detectors/scrapestack/scrapestack_test.go+++ b/pkg/detectors/scrapestack/scrapestack_test.go@@ -16,7 +16,7 @@ import (func TestScrapeStack_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/scrapfly/scrapfly_test.go b/pkg/detectors/scrapfly/scrapfly_test.goindex d77cddaa3..a29b8f3d1 100644--- a/pkg/detectors/scrapfly/scrapfly_test.go+++ b/pkg/detectors/scrapfly/scrapfly_test.go@@ -16,7 +16,7 @@ import (func TestScrapfly_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/scrapingant/scrapingant_test.go b/pkg/detectors/scrapingant/scrapingant_test.goindex cffe0e438..00770844b 100644--- a/pkg/detectors/scrapingant/scrapingant_test.go+++ b/pkg/detectors/scrapingant/scrapingant_test.go@@ -16,7 +16,7 @@ import (func TestScrapingAnt_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/scrapingbee/scrapingbee_test.go b/pkg/detectors/scrapingbee/scrapingbee_test.goindex 823d0c71a..722278591 100644--- a/pkg/detectors/scrapingbee/scrapingbee_test.go+++ b/pkg/detectors/scrapingbee/scrapingbee_test.go@@ -16,7 +16,7 @@ import (func TestScrapingBee_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/screenshotapi/screenshotapi_test.go b/pkg/detectors/screenshotapi/screenshotapi_test.goindex 1047f28ad..710dc5bc5 100644--- a/pkg/detectors/screenshotapi/screenshotapi_test.go+++ b/pkg/detectors/screenshotapi/screenshotapi_test.go@@ -16,7 +16,7 @@ import (func TestScreenshotAPI_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/screenshotlayer/screenshotlayer_test.go b/pkg/detectors/screenshotlayer/screenshotlayer_test.goindex d4ef95767..71c3cd4fd 100644--- a/pkg/detectors/screenshotlayer/screenshotlayer_test.go+++ b/pkg/detectors/screenshotlayer/screenshotlayer_test.go@@ -16,7 +16,7 @@ import (func TestScreenshotLayer_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/securitytrails/securitytrails_test.go b/pkg/detectors/securitytrails/securitytrails_test.goindex 25534688d..224448e55 100644--- a/pkg/detectors/securitytrails/securitytrails_test.go+++ b/pkg/detectors/securitytrails/securitytrails_test.go@@ -16,7 +16,7 @@ import (func TestSecurityTrails_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/segmentapikey/segmentapikey_test.go b/pkg/detectors/segmentapikey/segmentapikey_test.goindex 4e8789e25..cc71f9243 100644--- a/pkg/detectors/segmentapikey/segmentapikey_test.go+++ b/pkg/detectors/segmentapikey/segmentapikey_test.go@@ -16,7 +16,7 @@ import (func TestSegmentApiKey_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/selectpdf/selectpdf_test.go b/pkg/detectors/selectpdf/selectpdf_test.goindex fedaa56a3..7fe812b7d 100644--- a/pkg/detectors/selectpdf/selectpdf_test.go+++ b/pkg/detectors/selectpdf/selectpdf_test.go@@ -16,7 +16,7 @@ import (func TestSelectPDF_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/semaphore/semaphore_test.go b/pkg/detectors/semaphore/semaphore_test.goindex 78fcc35f0..f22dcbb0d 100644--- a/pkg/detectors/semaphore/semaphore_test.go+++ b/pkg/detectors/semaphore/semaphore_test.go@@ -16,7 +16,7 @@ import (func TestSemaphore_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/sendgrid/sendgrid_test.go b/pkg/detectors/sendgrid/sendgrid_test.goindex 6f200b932..36f4ca1d1 100644--- a/pkg/detectors/sendgrid/sendgrid_test.go+++ b/pkg/detectors/sendgrid/sendgrid_test.go@@ -15,7 +15,7 @@ import (func TestSendgrid_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/sendinbluev2/sendinbluev2_test.go b/pkg/detectors/sendinbluev2/sendinbluev2_test.goindex 39d9b2944..cfd255f7a 100644--- a/pkg/detectors/sendinbluev2/sendinbluev2_test.go+++ b/pkg/detectors/sendinbluev2/sendinbluev2_test.go@@ -16,7 +16,7 @@ import (func TestSendinBlueV2_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/sentiment/sentiment_test.go b/pkg/detectors/sentiment/sentiment_test.goindex d36bea3c2..23ecbfa63 100644--- a/pkg/detectors/sentiment/sentiment_test.go+++ b/pkg/detectors/sentiment/sentiment_test.go@@ -16,7 +16,7 @@ import (func TestSentiment_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/sentrytoken/sentrytoken_test.go b/pkg/detectors/sentrytoken/sentrytoken_test.goindex 3b5974938..f8b9b85df 100644--- a/pkg/detectors/sentrytoken/sentrytoken_test.go+++ b/pkg/detectors/sentrytoken/sentrytoken_test.go@@ -16,7 +16,7 @@ import (func TestSentryToken_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/serphouse/serphouse_test.go b/pkg/detectors/serphouse/serphouse_test.goindex 286af4244..0542b6219 100644--- a/pkg/detectors/serphouse/serphouse_test.go+++ b/pkg/detectors/serphouse/serphouse_test.go@@ -16,7 +16,7 @@ import (func TestSerphouse_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/serpstack/serpstack_test.go b/pkg/detectors/serpstack/serpstack_test.goindex 5d24ad323..a51c47551 100644--- a/pkg/detectors/serpstack/serpstack_test.go+++ b/pkg/detectors/serpstack/serpstack_test.go@@ -16,7 +16,7 @@ import (func TestSerpStack_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/sheety/sheety_test.go b/pkg/detectors/sheety/sheety_test.goindex efc6fcf7f..e96787116 100644--- a/pkg/detectors/sheety/sheety_test.go+++ b/pkg/detectors/sheety/sheety_test.go@@ -16,7 +16,7 @@ import (func TestSheety_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/sherpadesk/sherpadesk_test.go b/pkg/detectors/sherpadesk/sherpadesk_test.goindex d37ee8a44..f41b53aa8 100644--- a/pkg/detectors/sherpadesk/sherpadesk_test.go+++ b/pkg/detectors/sherpadesk/sherpadesk_test.go@@ -16,7 +16,7 @@ import (func TestSherpadesk_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/shipday/shipday_test.go b/pkg/detectors/shipday/shipday_test.goindex 9de7095b5..a25760f14 100644--- a/pkg/detectors/shipday/shipday_test.go+++ b/pkg/detectors/shipday/shipday_test.go@@ -16,7 +16,7 @@ import (func TestShipday_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/shodankey/shodankey_test.go b/pkg/detectors/shodankey/shodankey_test.goindex 637e1528b..f1718e807 100644--- a/pkg/detectors/shodankey/shodankey_test.go+++ b/pkg/detectors/shodankey/shodankey_test.go@@ -16,7 +16,7 @@ import (func TestShodanKey_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/shortcut/shortcut_test.go b/pkg/detectors/shortcut/shortcut_test.goindex 92463f2be..0e3c52fd1 100644--- a/pkg/detectors/shortcut/shortcut_test.go+++ b/pkg/detectors/shortcut/shortcut_test.go@@ -16,7 +16,7 @@ import (func TestShortcut_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/shotstack/shotstack_test.go b/pkg/detectors/shotstack/shotstack_test.goindex 5c97d6de1..5440efb89 100644--- a/pkg/detectors/shotstack/shotstack_test.go+++ b/pkg/detectors/shotstack/shotstack_test.go@@ -16,7 +16,7 @@ import (func TestShotstack_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/shutterstock/shutterstock_test.go b/pkg/detectors/shutterstock/shutterstock_test.goindex ef3f621e9..11c3c0f9f 100644--- a/pkg/detectors/shutterstock/shutterstock_test.go+++ b/pkg/detectors/shutterstock/shutterstock_test.go@@ -16,7 +16,7 @@ import (func TestShutterstock_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/shutterstockoauth/shutterstockoauth_test.go b/pkg/detectors/shutterstockoauth/shutterstockoauth_test.goindex ea4e6deda..a4cbbe092 100644--- a/pkg/detectors/shutterstockoauth/shutterstockoauth_test.go+++ b/pkg/detectors/shutterstockoauth/shutterstockoauth_test.go@@ -16,7 +16,7 @@ import (func TestShutterstockOAuth_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/signalwire/signalwire_test.go b/pkg/detectors/signalwire/signalwire_test.goindex e04494654..2e6159557 100644--- a/pkg/detectors/signalwire/signalwire_test.go+++ b/pkg/detectors/signalwire/signalwire_test.go@@ -16,7 +16,7 @@ import (func TestSignalwire_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/signaturit/signaturit_test.go b/pkg/detectors/signaturit/signaturit_test.goindex 092f9a20d..fb00e69c6 100644--- a/pkg/detectors/signaturit/signaturit_test.go+++ b/pkg/detectors/signaturit/signaturit_test.go@@ -16,7 +16,7 @@ import (func TestSignaturit_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/signupgenius/signupgenius_test.go b/pkg/detectors/signupgenius/signupgenius_test.goindex 475fb3d23..e9cc61adc 100644--- a/pkg/detectors/signupgenius/signupgenius_test.go+++ b/pkg/detectors/signupgenius/signupgenius_test.go@@ -16,7 +16,7 @@ import (func TestSignupgenius_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/sigopt/sigopt_test.go b/pkg/detectors/sigopt/sigopt_test.goindex 790e3d887..f2b5a7366 100644--- a/pkg/detectors/sigopt/sigopt_test.go+++ b/pkg/detectors/sigopt/sigopt_test.go@@ -16,7 +16,7 @@ import (func TestSigopt_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/simplesat/simplesat_test.go b/pkg/detectors/simplesat/simplesat_test.goindex 32effb8a9..831843c08 100644--- a/pkg/detectors/simplesat/simplesat_test.go+++ b/pkg/detectors/simplesat/simplesat_test.go@@ -16,7 +16,7 @@ import (func TestSimplesat_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/simplynoted/simplynoted_test.go b/pkg/detectors/simplynoted/simplynoted_test.goindex bde78b987..f0a7545c6 100644--- a/pkg/detectors/simplynoted/simplynoted_test.go+++ b/pkg/detectors/simplynoted/simplynoted_test.go@@ -16,7 +16,7 @@ import (func TestSimplyNoted_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/simvoly/simvoly_test.go b/pkg/detectors/simvoly/simvoly_test.goindex a2643a7de..ca9b7fef0 100644--- a/pkg/detectors/simvoly/simvoly_test.go+++ b/pkg/detectors/simvoly/simvoly_test.go@@ -16,7 +16,7 @@ import (func TestSimvoly_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/sinchmessage/sinchmessage_test.go b/pkg/detectors/sinchmessage/sinchmessage_test.goindex 0b2ddf2ce..b483e5166 100644--- a/pkg/detectors/sinchmessage/sinchmessage_test.go+++ b/pkg/detectors/sinchmessage/sinchmessage_test.go@@ -16,7 +16,7 @@ import (func TestSinchMessage_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/siteleaf/siteleaf_test.go b/pkg/detectors/siteleaf/siteleaf_test.goindex 4e016a014..9dd14f76a 100644--- a/pkg/detectors/siteleaf/siteleaf_test.go+++ b/pkg/detectors/siteleaf/siteleaf_test.go@@ -16,7 +16,7 @@ import (func TestSiteleaf_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/skrappio/skrappio_test.go b/pkg/detectors/skrappio/skrappio_test.goindex e94a68092..986d7d9f3 100644--- a/pkg/detectors/skrappio/skrappio_test.go+++ b/pkg/detectors/skrappio/skrappio_test.go@@ -16,7 +16,7 @@ import (func TestSkrapio_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/skybiometry/skybiometry_test.go b/pkg/detectors/skybiometry/skybiometry_test.goindex 3e4deaa8a..1ec7a1e33 100644--- a/pkg/detectors/skybiometry/skybiometry_test.go+++ b/pkg/detectors/skybiometry/skybiometry_test.go@@ -16,7 +16,7 @@ import (func TestSkyBiometry_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/slack/slack_test.go b/pkg/detectors/slack/slack_test.goindex f246abb2a..2b027b596 100644--- a/pkg/detectors/slack/slack_test.go+++ b/pkg/detectors/slack/slack_test.go@@ -15,7 +15,7 @@ import (func TestScanner_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/slackwebhook/slackwebhook_test.go b/pkg/detectors/slackwebhook/slackwebhook_test.goindex e62e02f58..94f389550 100644--- a/pkg/detectors/slackwebhook/slackwebhook_test.go+++ b/pkg/detectors/slackwebhook/slackwebhook_test.go@@ -16,7 +16,7 @@ import (func TestSlackWebhook_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/smartsheets/smartsheets_test.go b/pkg/detectors/smartsheets/smartsheets_test.goindex 2a2fcbb7e..e3e54f906 100644--- a/pkg/detectors/smartsheets/smartsheets_test.go+++ b/pkg/detectors/smartsheets/smartsheets_test.go@@ -16,7 +16,7 @@ import (func TestSmartsheets_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/smartystreets/smartystreets_test.go b/pkg/detectors/smartystreets/smartystreets_test.goindex 997665019..00a483693 100644--- a/pkg/detectors/smartystreets/smartystreets_test.go+++ b/pkg/detectors/smartystreets/smartystreets_test.go@@ -16,7 +16,7 @@ import (func TestSmartyStreets_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/smooch/smooch_test.go b/pkg/detectors/smooch/smooch_test.goindex 2ee3a326d..f53f05397 100644--- a/pkg/detectors/smooch/smooch_test.go+++ b/pkg/detectors/smooch/smooch_test.go@@ -16,7 +16,7 @@ import (func TestSmooch_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/snipcart/snipcart_test.go b/pkg/detectors/snipcart/snipcart_test.goindex 87dd37896..5e3dce9e3 100644--- a/pkg/detectors/snipcart/snipcart_test.go+++ b/pkg/detectors/snipcart/snipcart_test.go@@ -16,7 +16,7 @@ import (func TestSnipcart_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/snykkey/snykkey_test.go b/pkg/detectors/snykkey/snykkey_test.goindex a9bcc5170..bd0e87bb2 100644--- a/pkg/detectors/snykkey/snykkey_test.go+++ b/pkg/detectors/snykkey/snykkey_test.go@@ -16,7 +16,7 @@ import (func TestSnykKey_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/sparkpost/sparkpost_test.go b/pkg/detectors/sparkpost/sparkpost_test.goindex e385ddaad..9205acd6e 100644--- a/pkg/detectors/sparkpost/sparkpost_test.go+++ b/pkg/detectors/sparkpost/sparkpost_test.go@@ -16,7 +16,7 @@ import (func TestSparkpost_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/splunkobservabilitytoken/splunkobservabilitytoken_test.go b/pkg/detectors/splunkobservabilitytoken/splunkobservabilitytoken_test.goindex 30ae3ff32..c0061739e 100644--- a/pkg/detectors/splunkobservabilitytoken/splunkobservabilitytoken_test.go+++ b/pkg/detectors/splunkobservabilitytoken/splunkobservabilitytoken_test.go@@ -16,7 +16,7 @@ import (func TestSplunkObservabilityToken_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/spoonacular/spoonacular_test.go b/pkg/detectors/spoonacular/spoonacular_test.goindex 243cf0f5c..209a10dc9 100644--- a/pkg/detectors/spoonacular/spoonacular_test.go+++ b/pkg/detectors/spoonacular/spoonacular_test.go@@ -16,7 +16,7 @@ import (func TestSpoonacular_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/sportsmonk/sportsmonk_test.go b/pkg/detectors/sportsmonk/sportsmonk_test.goindex 7ac5a673e..f75f48f92 100644--- a/pkg/detectors/sportsmonk/sportsmonk_test.go+++ b/pkg/detectors/sportsmonk/sportsmonk_test.go@@ -16,7 +16,7 @@ import (func TestSportsmonk_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/spotifykey/spotifykey_test.go b/pkg/detectors/spotifykey/spotifykey_test.goindex 98aeea7a7..9c409c0f0 100644--- a/pkg/detectors/spotifykey/spotifykey_test.go+++ b/pkg/detectors/spotifykey/spotifykey_test.go@@ -16,7 +16,7 @@ import (func TestSpotifyKey_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/square/square_test.go b/pkg/detectors/square/square_test.goindex 91e4ab20d..4f3c8803e 100644--- a/pkg/detectors/square/square_test.go+++ b/pkg/detectors/square/square_test.go@@ -15,7 +15,7 @@ import (func TestSquare_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/squareapp/squareapp_test.go b/pkg/detectors/squareapp/squareapp_test.goindex 3b31c0238..b232e8d9e 100644--- a/pkg/detectors/squareapp/squareapp_test.go+++ b/pkg/detectors/squareapp/squareapp_test.go@@ -15,7 +15,7 @@ import (func TestSquareApp_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/squarespace/squarespace_test.go b/pkg/detectors/squarespace/squarespace_test.goindex bfe9e5a8d..7b8eebd5d 100644--- a/pkg/detectors/squarespace/squarespace_test.go+++ b/pkg/detectors/squarespace/squarespace_test.go@@ -16,7 +16,7 @@ import (func TestSquarespace_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/squareup/squareup_test.go b/pkg/detectors/squareup/squareup_test.goindex f058e798d..6d0ec9d43 100644--- a/pkg/detectors/squareup/squareup_test.go+++ b/pkg/detectors/squareup/squareup_test.go@@ -16,7 +16,7 @@ import (func TestSquareup_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/sslmate/sslmate_test.go b/pkg/detectors/sslmate/sslmate_test.goindex 8be7c3bee..3a197a485 100644--- a/pkg/detectors/sslmate/sslmate_test.go+++ b/pkg/detectors/sslmate/sslmate_test.go@@ -16,7 +16,7 @@ import (func TestSslMate_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/stitchdata/stitchdata_test.go b/pkg/detectors/stitchdata/stitchdata_test.goindex 2a020fbbc..68d485ce6 100644--- a/pkg/detectors/stitchdata/stitchdata_test.go+++ b/pkg/detectors/stitchdata/stitchdata_test.go@@ -16,7 +16,7 @@ import (func TestStitchdata_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/stockdata/stockdata_test.go b/pkg/detectors/stockdata/stockdata_test.goindex 5faf33b4f..b135c5b84 100644--- a/pkg/detectors/stockdata/stockdata_test.go+++ b/pkg/detectors/stockdata/stockdata_test.go@@ -16,7 +16,7 @@ import (func TestStockdata_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/storecove/storecove_test.go b/pkg/detectors/storecove/storecove_test.goindex 843aec606..bcfec2cec 100644--- a/pkg/detectors/storecove/storecove_test.go+++ b/pkg/detectors/storecove/storecove_test.go@@ -16,7 +16,7 @@ import (func TestStorecove_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/stormglass/stormglass_test.go b/pkg/detectors/stormglass/stormglass_test.goindex e14d2bed0..ab518a2ec 100644--- a/pkg/detectors/stormglass/stormglass_test.go+++ b/pkg/detectors/stormglass/stormglass_test.go@@ -16,7 +16,7 @@ import (func TestStormglass_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/storyblok/storyblok_test.go b/pkg/detectors/storyblok/storyblok_test.goindex 90ef9a5d2..42e1e3fc2 100644--- a/pkg/detectors/storyblok/storyblok_test.go+++ b/pkg/detectors/storyblok/storyblok_test.go@@ -16,7 +16,7 @@ import (func TestStoryblok_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/storychief/storychief_test.go b/pkg/detectors/storychief/storychief_test.goindex 71e4fd8fb..e4995e778 100644--- a/pkg/detectors/storychief/storychief_test.go+++ b/pkg/detectors/storychief/storychief_test.go@@ -16,7 +16,7 @@ import (func TestStorychief_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/strava/strava_test.go b/pkg/detectors/strava/strava_test.goindex 5737d6ed1..b0456de8a 100644--- a/pkg/detectors/strava/strava_test.go+++ b/pkg/detectors/strava/strava_test.go@@ -16,7 +16,7 @@ import (func TestStrava_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/streak/streak_test.go b/pkg/detectors/streak/streak_test.goindex 922410f66..9a75a3f88 100644--- a/pkg/detectors/streak/streak_test.go+++ b/pkg/detectors/streak/streak_test.go@@ -16,7 +16,7 @@ import (func TestStreak_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/stripe/stripe_test.go b/pkg/detectors/stripe/stripe_test.goindex a662908c5..d440cff7c 100644--- a/pkg/detectors/stripe/stripe_test.go+++ b/pkg/detectors/stripe/stripe_test.go@@ -15,7 +15,7 @@ import (func TestStripe_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/stytch/stytch_test.go b/pkg/detectors/stytch/stytch_test.goindex 1e3166e07..86b5e0aa0 100644--- a/pkg/detectors/stytch/stytch_test.go+++ b/pkg/detectors/stytch/stytch_test.go@@ -16,7 +16,7 @@ import (func TestStytch_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/sumologickey/sumologickey_test.go b/pkg/detectors/sumologickey/sumologickey_test.goindex 0601376bb..982d4acae 100644--- a/pkg/detectors/sumologickey/sumologickey_test.go+++ b/pkg/detectors/sumologickey/sumologickey_test.go@@ -16,7 +16,7 @@ import (func TestSumoLogicKey_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/surveyanyplace/surveyanyplace_test.go b/pkg/detectors/surveyanyplace/surveyanyplace_test.goindex a99b81f26..d8d5f23df 100644--- a/pkg/detectors/surveyanyplace/surveyanyplace_test.go+++ b/pkg/detectors/surveyanyplace/surveyanyplace_test.go@@ -16,7 +16,7 @@ import (func TestSurveyAnyplace_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/surveybot/surveybot_test.go b/pkg/detectors/surveybot/surveybot_test.goindex 26ac01af0..10127cf16 100644--- a/pkg/detectors/surveybot/surveybot_test.go+++ b/pkg/detectors/surveybot/surveybot_test.go@@ -16,7 +16,7 @@ import (func TestSurveyBot_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/surveysparrow/surveysparrow_test.go b/pkg/detectors/surveysparrow/surveysparrow_test.goindex c95f9a16e..60927e51d 100644--- a/pkg/detectors/surveysparrow/surveysparrow_test.go+++ b/pkg/detectors/surveysparrow/surveysparrow_test.go@@ -16,7 +16,7 @@ import (func TestSurveySparrow_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/survicate/survicate_test.go b/pkg/detectors/survicate/survicate_test.goindex edbacc838..effb6b217 100644--- a/pkg/detectors/survicate/survicate_test.go+++ b/pkg/detectors/survicate/survicate_test.go@@ -16,7 +16,7 @@ import (func TestSurvicate_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/swell/swell_test.go b/pkg/detectors/swell/swell_test.goindex 0c7a0ee94..190fa9be7 100644--- a/pkg/detectors/swell/swell_test.go+++ b/pkg/detectors/swell/swell_test.go@@ -16,7 +16,7 @@ import (func TestSwell_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/swiftype/swiftype_test.go b/pkg/detectors/swiftype/swiftype_test.goindex e73a90102..4110d8647 100644--- a/pkg/detectors/swiftype/swiftype_test.go+++ b/pkg/detectors/swiftype/swiftype_test.go@@ -16,7 +16,7 @@ import (func TestSwiftype_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/tatumio/tatumio_test.go b/pkg/detectors/tatumio/tatumio_test.goindex 42cad08c7..5a7a6ec11 100644--- a/pkg/detectors/tatumio/tatumio_test.go+++ b/pkg/detectors/tatumio/tatumio_test.go@@ -16,7 +16,7 @@ import (func TestTatumIO_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/taxjar/taxjar_test.go b/pkg/detectors/taxjar/taxjar_test.goindex aeafca024..cc40cf4cb 100644--- a/pkg/detectors/taxjar/taxjar_test.go+++ b/pkg/detectors/taxjar/taxjar_test.go@@ -16,7 +16,7 @@ import (func TestTaxjar_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/teamgate/teamgate_test.go b/pkg/detectors/teamgate/teamgate_test.goindex e0b943268..73bed825c 100644--- a/pkg/detectors/teamgate/teamgate_test.go+++ b/pkg/detectors/teamgate/teamgate_test.go@@ -16,7 +16,7 @@ import (func TestTeamgate_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/technicalanalysisapi/technicalanalysisapi_test.go b/pkg/detectors/technicalanalysisapi/technicalanalysisapi_test.goindex 1805f9c38..98fa69e93 100644--- a/pkg/detectors/technicalanalysisapi/technicalanalysisapi_test.go+++ b/pkg/detectors/technicalanalysisapi/technicalanalysisapi_test.go@@ -16,7 +16,7 @@ import (func TestTechnicalAnalysisApi_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/telegrambottoken/telegrambottoken_test.go b/pkg/detectors/telegrambottoken/telegrambottoken_test.goindex a69a065ec..d3347eb2c 100644--- a/pkg/detectors/telegrambottoken/telegrambottoken_test.go+++ b/pkg/detectors/telegrambottoken/telegrambottoken_test.go@@ -16,7 +16,7 @@ import (func TestTelegramBotToken_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/telnyx/telnyx_test.go b/pkg/detectors/telnyx/telnyx_test.goindex e41bde4f2..0f7088a16 100644--- a/pkg/detectors/telnyx/telnyx_test.go+++ b/pkg/detectors/telnyx/telnyx_test.go@@ -16,7 +16,7 @@ import (func TestTelnyx_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/terraformcloudpersonaltoken/terraformcloudpersonaltoken_test.go b/pkg/detectors/terraformcloudpersonaltoken/terraformcloudpersonaltoken_test.goindex c1124b5ee..fa00961ea 100644--- a/pkg/detectors/terraformcloudpersonaltoken/terraformcloudpersonaltoken_test.go+++ b/pkg/detectors/terraformcloudpersonaltoken/terraformcloudpersonaltoken_test.go@@ -16,7 +16,7 @@ import (func TestTerraformCloudPersonalToken_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/text2data/text2data_test.go b/pkg/detectors/text2data/text2data_test.goindex 6685227d2..cc0d2bd98 100644--- a/pkg/detectors/text2data/text2data_test.go+++ b/pkg/detectors/text2data/text2data_test.go@@ -16,7 +16,7 @@ import (func TestText2Data_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/textmagic/textmagic_test.go b/pkg/detectors/textmagic/textmagic_test.goindex 26d8f52ba..db5462d74 100644--- a/pkg/detectors/textmagic/textmagic_test.go+++ b/pkg/detectors/textmagic/textmagic_test.go@@ -16,7 +16,7 @@ import (func TestTextmagic_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/thinkific/thinkific_test.go b/pkg/detectors/thinkific/thinkific_test.goindex 4c308ae3a..cf15ef4d5 100644--- a/pkg/detectors/thinkific/thinkific_test.go+++ b/pkg/detectors/thinkific/thinkific_test.go@@ -16,7 +16,7 @@ import (func TestThinkific_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/thousandeyes/thousandeyes_test.go b/pkg/detectors/thousandeyes/thousandeyes_test.goindex 421a8ff68..27093ff38 100644--- a/pkg/detectors/thousandeyes/thousandeyes_test.go+++ b/pkg/detectors/thousandeyes/thousandeyes_test.go@@ -16,7 +16,7 @@ import (func TestThousandEyes_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/ticketmaster/ticketmaster_test.go b/pkg/detectors/ticketmaster/ticketmaster_test.goindex a37b1436a..c3871bbf4 100644--- a/pkg/detectors/ticketmaster/ticketmaster_test.go+++ b/pkg/detectors/ticketmaster/ticketmaster_test.go@@ -16,7 +16,7 @@ import (func TestTicketMaster_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/tiingo/tiingo_test.go b/pkg/detectors/tiingo/tiingo_test.goindex 919f1d163..5a2d32251 100644--- a/pkg/detectors/tiingo/tiingo_test.go+++ b/pkg/detectors/tiingo/tiingo_test.go@@ -16,7 +16,7 @@ import (func TestTiingo_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/timezoneapi/timezoneapi_test.go b/pkg/detectors/timezoneapi/timezoneapi_test.goindex 45551609e..9ffae3485 100644--- a/pkg/detectors/timezoneapi/timezoneapi_test.go+++ b/pkg/detectors/timezoneapi/timezoneapi_test.go@@ -16,7 +16,7 @@ import (func TestTimezoneapi_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/tly/tly_test.go b/pkg/detectors/tly/tly_test.goindex a7c4d8f16..ca805644b 100644--- a/pkg/detectors/tly/tly_test.go+++ b/pkg/detectors/tly/tly_test.go@@ -16,7 +16,7 @@ import (func TestTLy_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/tmetric/tmetric_test.go b/pkg/detectors/tmetric/tmetric_test.goindex a7e548557..da18f6019 100644--- a/pkg/detectors/tmetric/tmetric_test.go+++ b/pkg/detectors/tmetric/tmetric_test.go@@ -16,7 +16,7 @@ import (func TestTmetric_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/todoist/todoist_test.go b/pkg/detectors/todoist/todoist_test.goindex b98bb3d0c..9fcfcefb9 100644--- a/pkg/detectors/todoist/todoist_test.go+++ b/pkg/detectors/todoist/todoist_test.go@@ -16,7 +16,7 @@ import (func TestTodoist_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/toggltrack/toggltrack_test.go b/pkg/detectors/toggltrack/toggltrack_test.goindex 10b39f948..32c9f342b 100644--- a/pkg/detectors/toggltrack/toggltrack_test.go+++ b/pkg/detectors/toggltrack/toggltrack_test.go@@ -16,7 +16,7 @@ import (func TestTogglTrack_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/tomorrowio/tomorrowio_test.go b/pkg/detectors/tomorrowio/tomorrowio_test.goindex cf407b8c3..1d223332a 100644--- a/pkg/detectors/tomorrowio/tomorrowio_test.go+++ b/pkg/detectors/tomorrowio/tomorrowio_test.go@@ -16,7 +16,7 @@ import (func TestTomorrowIO_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/tomtom/tomtom_test.go b/pkg/detectors/tomtom/tomtom_test.goindex 86423e734..484b09cc8 100644--- a/pkg/detectors/tomtom/tomtom_test.go+++ b/pkg/detectors/tomtom/tomtom_test.go@@ -16,7 +16,7 @@ import (func TestTomtom_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/tradier/tradier_test.go b/pkg/detectors/tradier/tradier_test.goindex 289299697..51cd45f15 100644--- a/pkg/detectors/tradier/tradier_test.go+++ b/pkg/detectors/tradier/tradier_test.go@@ -16,7 +16,7 @@ import (func TestTradier_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/travelpayouts/travelpayouts_test.go b/pkg/detectors/travelpayouts/travelpayouts_test.goindex ae1353efd..9aabd9c9f 100644--- a/pkg/detectors/travelpayouts/travelpayouts_test.go+++ b/pkg/detectors/travelpayouts/travelpayouts_test.go@@ -16,7 +16,7 @@ import (func TestTravelPayouts_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/travisci/travisci_test.go b/pkg/detectors/travisci/travisci_test.goindex 97a756ee6..bc0c0a311 100644--- a/pkg/detectors/travisci/travisci_test.go+++ b/pkg/detectors/travisci/travisci_test.go@@ -16,7 +16,7 @@ import (func TestTravisCI_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/trelloapikey/trelloapikey_test.go b/pkg/detectors/trelloapikey/trelloapikey_test.goindex c2484b77f..6a8666c2d 100644--- a/pkg/detectors/trelloapikey/trelloapikey_test.go+++ b/pkg/detectors/trelloapikey/trelloapikey_test.go@@ -16,7 +16,7 @@ import (func TestTrelloApiKey_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/tru/tru_test.go b/pkg/detectors/tru/tru_test.goindex 76605f3b9..2b759f921 100644--- a/pkg/detectors/tru/tru_test.go+++ b/pkg/detectors/tru/tru_test.go@@ -16,7 +16,7 @@ import (func TestTru_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/twelvedata/twelvedata_test.go b/pkg/detectors/twelvedata/twelvedata_test.goindex 64f681326..5771be85d 100644--- a/pkg/detectors/twelvedata/twelvedata_test.go+++ b/pkg/detectors/twelvedata/twelvedata_test.go@@ -16,7 +16,7 @@ import (func TestTwelveData_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/twilio/twilio_test.go b/pkg/detectors/twilio/twilio_test.goindex 3052aa722..b6e76acdb 100644--- a/pkg/detectors/twilio/twilio_test.go+++ b/pkg/detectors/twilio/twilio_test.go@@ -15,7 +15,7 @@ import (func TestTwilio_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/tyntec/tyntec_test.go b/pkg/detectors/tyntec/tyntec_test.goindex 31cd237f1..d3db6ee52 100644--- a/pkg/detectors/tyntec/tyntec_test.go+++ b/pkg/detectors/tyntec/tyntec_test.go@@ -16,7 +16,7 @@ import (func TestTyntec_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/typeform/typeform_test.go b/pkg/detectors/typeform/typeform_test.goindex 0b242a52f..a481cbc60 100644--- a/pkg/detectors/typeform/typeform_test.go+++ b/pkg/detectors/typeform/typeform_test.go@@ -16,7 +16,7 @@ import (func TestTypeform_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/ubidots/ubidots_test.go b/pkg/detectors/ubidots/ubidots_test.goindex b27e97b21..9cad2f5ab 100644--- a/pkg/detectors/ubidots/ubidots_test.go+++ b/pkg/detectors/ubidots/ubidots_test.go@@ -16,7 +16,7 @@ import (func TestUbidots_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/unifyid/unifyid_test.go b/pkg/detectors/unifyid/unifyid_test.goindex 31154a8f9..9de8b2a8a 100644--- a/pkg/detectors/unifyid/unifyid_test.go+++ b/pkg/detectors/unifyid/unifyid_test.go@@ -16,7 +16,7 @@ import (func TestUnifyid_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/unplugg/unplugg_test.go b/pkg/detectors/unplugg/unplugg_test.goindex 4288718e2..e4c769ef4 100644--- a/pkg/detectors/unplugg/unplugg_test.go+++ b/pkg/detectors/unplugg/unplugg_test.go@@ -16,7 +16,7 @@ import (func TestUnplugg_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/unsplash/unsplash_test.go b/pkg/detectors/unsplash/unsplash_test.goindex 95dbb0520..18dac24d9 100644--- a/pkg/detectors/unsplash/unsplash_test.go+++ b/pkg/detectors/unsplash/unsplash_test.go@@ -16,7 +16,7 @@ import (func TestUnsplash_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/upcdatabase/upcdatabase_test.go b/pkg/detectors/upcdatabase/upcdatabase_test.goindex 30b228d7e..f456cf7c6 100644--- a/pkg/detectors/upcdatabase/upcdatabase_test.go+++ b/pkg/detectors/upcdatabase/upcdatabase_test.go@@ -16,7 +16,7 @@ import (func TestUPCDatabase_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/uplead/uplead_test.go b/pkg/detectors/uplead/uplead_test.goindex 6119ac475..0ea17eb41 100644--- a/pkg/detectors/uplead/uplead_test.go+++ b/pkg/detectors/uplead/uplead_test.go@@ -16,7 +16,7 @@ import (func TestUplead_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/upwave/upwave_test.go b/pkg/detectors/upwave/upwave_test.goindex 4690ac7e2..c520677b4 100644--- a/pkg/detectors/upwave/upwave_test.go+++ b/pkg/detectors/upwave/upwave_test.go@@ -16,7 +16,7 @@ import (func TestUpwave_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/uri/uri_test.go b/pkg/detectors/uri/uri_test.goindex 8c2e2e4b3..9374e3d27 100644--- a/pkg/detectors/uri/uri_test.go+++ b/pkg/detectors/uri/uri_test.go@@ -15,7 +15,7 @@ import (func TestURI_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/urlscan/urlscan_test.go b/pkg/detectors/urlscan/urlscan_test.goindex 7cb766353..2bffe7c92 100644--- a/pkg/detectors/urlscan/urlscan_test.go+++ b/pkg/detectors/urlscan/urlscan_test.go@@ -16,7 +16,7 @@ import (func TestUrlscan_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/user/user_test.go b/pkg/detectors/user/user_test.goindex 12087511c..3de0687dd 100644--- a/pkg/detectors/user/user_test.go+++ b/pkg/detectors/user/user_test.go@@ -16,7 +16,7 @@ import (func TestUser_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/userstack/userstack_test.go b/pkg/detectors/userstack/userstack_test.goindex d783ef20f..28c7b57ba 100644--- a/pkg/detectors/userstack/userstack_test.go+++ b/pkg/detectors/userstack/userstack_test.go@@ -16,7 +16,7 @@ import (func TestUserStack_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/vatlayer/vatlayer_test.go b/pkg/detectors/vatlayer/vatlayer_test.goindex f79eeb391..b95956b47 100644--- a/pkg/detectors/vatlayer/vatlayer_test.go+++ b/pkg/detectors/vatlayer/vatlayer_test.go@@ -16,7 +16,7 @@ import (func TestVatLayer_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/vercel/vercel_test.go b/pkg/detectors/vercel/vercel_test.goindex fc866eaaf..330a472c1 100644--- a/pkg/detectors/vercel/vercel_test.go+++ b/pkg/detectors/vercel/vercel_test.go@@ -16,7 +16,7 @@ import (func TestVercel_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/verifier/verifier_test.go b/pkg/detectors/verifier/verifier_test.goindex ceee754b6..8b9baaa22 100644--- a/pkg/detectors/verifier/verifier_test.go+++ b/pkg/detectors/verifier/verifier_test.go@@ -16,7 +16,7 @@ import (func TestVerifier_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/verimail/verimail_test.go b/pkg/detectors/verimail/verimail_test.goindex 53afda7e9..adb27cfe6 100644--- a/pkg/detectors/verimail/verimail_test.go+++ b/pkg/detectors/verimail/verimail_test.go@@ -16,7 +16,7 @@ import (func TestVerimail_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/veriphone/veriphone_test.go b/pkg/detectors/veriphone/veriphone_test.goindex 2aa7cf1ee..42015d285 100644--- a/pkg/detectors/veriphone/veriphone_test.go+++ b/pkg/detectors/veriphone/veriphone_test.go@@ -16,7 +16,7 @@ import (func TestVeriphone_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/versioneye/versioneye_test.go b/pkg/detectors/versioneye/versioneye_test.goindex ddc55a3ae..5e43a0e65 100644--- a/pkg/detectors/versioneye/versioneye_test.go+++ b/pkg/detectors/versioneye/versioneye_test.go@@ -16,7 +16,7 @@ import (func TestVersionEye_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/viewneo/viewneo_test.go b/pkg/detectors/viewneo/viewneo_test.goindex 6e9fcc213..24636d699 100644--- a/pkg/detectors/viewneo/viewneo_test.go+++ b/pkg/detectors/viewneo/viewneo_test.go@@ -16,7 +16,7 @@ import (func TestViewneo_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/virustotal/virustotal_test.go b/pkg/detectors/virustotal/virustotal_test.goindex 7eaadc96c..4aff69085 100644--- a/pkg/detectors/virustotal/virustotal_test.go+++ b/pkg/detectors/virustotal/virustotal_test.go@@ -16,7 +16,7 @@ import (func TestVirusTotal_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/visualcrossing/visualcrossing_test.go b/pkg/detectors/visualcrossing/visualcrossing_test.goindex 7e52cc4f9..384f7cadd 100644--- a/pkg/detectors/visualcrossing/visualcrossing_test.go+++ b/pkg/detectors/visualcrossing/visualcrossing_test.go@@ -16,7 +16,7 @@ import (func TestVisualcrossing_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/voicegain/voicegain_test.go b/pkg/detectors/voicegain/voicegain_test.goindex 2d22092a9..18a428d47 100644--- a/pkg/detectors/voicegain/voicegain_test.go+++ b/pkg/detectors/voicegain/voicegain_test.go@@ -16,7 +16,7 @@ import (func TestVoicegain_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/vouchery/vouchery_test.go b/pkg/detectors/vouchery/vouchery_test.goindex d247c4766..2cebd1c20 100644--- a/pkg/detectors/vouchery/vouchery_test.go+++ b/pkg/detectors/vouchery/vouchery_test.go@@ -16,7 +16,7 @@ import (func TestVouchery_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/vpnapi/vpnapi_test.go b/pkg/detectors/vpnapi/vpnapi_test.goindex 2e890c9a6..fd76cc737 100644--- a/pkg/detectors/vpnapi/vpnapi_test.go+++ b/pkg/detectors/vpnapi/vpnapi_test.go@@ -16,7 +16,7 @@ import (func TestVpnapi_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/vultrapikey/vultrapikey_test.go b/pkg/detectors/vultrapikey/vultrapikey_test.goindex 6882b4cd5..5d52707f8 100644--- a/pkg/detectors/vultrapikey/vultrapikey_test.go+++ b/pkg/detectors/vultrapikey/vultrapikey_test.go@@ -16,7 +16,7 @@ import (func TestVultrApiKey_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/vyte/vyte_test.go b/pkg/detectors/vyte/vyte_test.goindex 7facbaafb..29426a8e3 100644--- a/pkg/detectors/vyte/vyte_test.go+++ b/pkg/detectors/vyte/vyte_test.go@@ -16,7 +16,7 @@ import (func TestVyte_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/walkscore/walkscore_test.go b/pkg/detectors/walkscore/walkscore_test.goindex 2d4cd8f5d..e6f136192 100644--- a/pkg/detectors/walkscore/walkscore_test.go+++ b/pkg/detectors/walkscore/walkscore_test.go@@ -16,7 +16,7 @@ import (func TestWalkscore_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/weatherbit/weatherbit_test.go b/pkg/detectors/weatherbit/weatherbit_test.goindex 91377cc4a..f30514a5e 100644--- a/pkg/detectors/weatherbit/weatherbit_test.go+++ b/pkg/detectors/weatherbit/weatherbit_test.go@@ -16,7 +16,7 @@ import (func TestWeatherbit_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/weatherstack/weatherstack_test.go b/pkg/detectors/weatherstack/weatherstack_test.goindex c75fc9de1..7cc159961 100644--- a/pkg/detectors/weatherstack/weatherstack_test.go+++ b/pkg/detectors/weatherstack/weatherstack_test.go@@ -16,7 +16,7 @@ import (func TestWeatherstack_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/webex/webex_test.go b/pkg/detectors/webex/webex_test.goindex 1532289cb..ff659b904 100644--- a/pkg/detectors/webex/webex_test.go+++ b/pkg/detectors/webex/webex_test.go@@ -16,7 +16,7 @@ import (func TestWebex_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/webflow/webflow_test.go b/pkg/detectors/webflow/webflow_test.goindex c1f63a2a1..777020de0 100644--- a/pkg/detectors/webflow/webflow_test.go+++ b/pkg/detectors/webflow/webflow_test.go@@ -16,7 +16,7 @@ import (func TestWebflow_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/webscraper/webscraper_test.go b/pkg/detectors/webscraper/webscraper_test.goindex d39152bf4..ea7394267 100644--- a/pkg/detectors/webscraper/webscraper_test.go+++ b/pkg/detectors/webscraper/webscraper_test.go@@ -16,7 +16,7 @@ import (func TestWebScraper_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/webscraping/webscraping_test.go b/pkg/detectors/webscraping/webscraping_test.goindex 795cb47fd..2c6a79c0c 100644--- a/pkg/detectors/webscraping/webscraping_test.go+++ b/pkg/detectors/webscraping/webscraping_test.go@@ -16,7 +16,7 @@ import (func TestWebscraping_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/wepay/wepay_test.go b/pkg/detectors/wepay/wepay_test.goindex 6bb5532b0..6770d5106 100644--- a/pkg/detectors/wepay/wepay_test.go+++ b/pkg/detectors/wepay/wepay_test.go@@ -16,7 +16,7 @@ import (func TestWePay_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/whoxy/whoxy_test.go b/pkg/detectors/whoxy/whoxy_test.goindex 49121b69e..c317e1f83 100644--- a/pkg/detectors/whoxy/whoxy_test.go+++ b/pkg/detectors/whoxy/whoxy_test.go@@ -16,7 +16,7 @@ import (func TestWhoxy_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/worksnaps/worksnaps_test.go b/pkg/detectors/worksnaps/worksnaps_test.goindex f89c1376e..a18be3027 100644--- a/pkg/detectors/worksnaps/worksnaps_test.go+++ b/pkg/detectors/worksnaps/worksnaps_test.go@@ -16,7 +16,7 @@ import (func TestWorksnaps_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/workstack/workstack_test.go b/pkg/detectors/workstack/workstack_test.goindex bfd82d429..8e99f784f 100644--- a/pkg/detectors/workstack/workstack_test.go+++ b/pkg/detectors/workstack/workstack_test.go@@ -16,7 +16,7 @@ import (func TestWorkstack_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/worldcoinindex/worldcoinindex_test.go b/pkg/detectors/worldcoinindex/worldcoinindex_test.goindex c3aa3576a..38c90182e 100644--- a/pkg/detectors/worldcoinindex/worldcoinindex_test.go+++ b/pkg/detectors/worldcoinindex/worldcoinindex_test.go@@ -16,7 +16,7 @@ import (func TestWorldCoinIndex_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/worldweather/worldweather_test.go b/pkg/detectors/worldweather/worldweather_test.goindex e4021b41f..a6da98687 100644--- a/pkg/detectors/worldweather/worldweather_test.go+++ b/pkg/detectors/worldweather/worldweather_test.go@@ -16,7 +16,7 @@ import (func TestWorldweather_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/wrike/wrike_test.go b/pkg/detectors/wrike/wrike_test.goindex 71839434e..d6d0c8481 100644--- a/pkg/detectors/wrike/wrike_test.go+++ b/pkg/detectors/wrike/wrike_test.go@@ -16,7 +16,7 @@ import (func TestWrike_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/yandex/yandex_test.go b/pkg/detectors/yandex/yandex_test.goindex 6f7a464c6..61d6c1c9d 100644--- a/pkg/detectors/yandex/yandex_test.go+++ b/pkg/detectors/yandex/yandex_test.go@@ -16,7 +16,7 @@ import (func TestYandex_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/youneedabudget/youneedabudget_test.go b/pkg/detectors/youneedabudget/youneedabudget_test.goindex 8a9ca7a54..9e5a17f41 100644--- a/pkg/detectors/youneedabudget/youneedabudget_test.go+++ b/pkg/detectors/youneedabudget/youneedabudget_test.go@@ -16,7 +16,7 @@ import (func TestYouNeedABudget_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/yousign/yousign_test.go b/pkg/detectors/yousign/yousign_test.goindex 371c43fa3..541dbd58f 100644--- a/pkg/detectors/yousign/yousign_test.go+++ b/pkg/detectors/yousign/yousign_test.go@@ -16,7 +16,7 @@ import (func TestYousign_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/youtubeapikey/youtubeapikey_test.go b/pkg/detectors/youtubeapikey/youtubeapikey_test.goindex de5942869..a3b87e7e2 100644--- a/pkg/detectors/youtubeapikey/youtubeapikey_test.go+++ b/pkg/detectors/youtubeapikey/youtubeapikey_test.go@@ -16,7 +16,7 @@ import (func TestYoutubeApiKey_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/zapierwebhook/zapierwebhook_test.go b/pkg/detectors/zapierwebhook/zapierwebhook_test.goindex b0fa352c5..ba01cdc47 100644--- a/pkg/detectors/zapierwebhook/zapierwebhook_test.go+++ b/pkg/detectors/zapierwebhook/zapierwebhook_test.go@@ -16,7 +16,7 @@ import (func TestZapierWebhook_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/zendeskapi/zendeskapi_test.go b/pkg/detectors/zendeskapi/zendeskapi_test.goindex 8aa4c760c..61d77634a 100644--- a/pkg/detectors/zendeskapi/zendeskapi_test.go+++ b/pkg/detectors/zendeskapi/zendeskapi_test.go@@ -16,7 +16,7 @@ import (func TestZendeskApi_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/zenscrape/zenscrape_test.go b/pkg/detectors/zenscrape/zenscrape_test.goindex 29ee52827..50bf3d314 100644--- a/pkg/detectors/zenscrape/zenscrape_test.go+++ b/pkg/detectors/zenscrape/zenscrape_test.go@@ -16,7 +16,7 @@ import (func TestZenscrape_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/zenserp/zenserp_test.go b/pkg/detectors/zenserp/zenserp_test.goindex 01f40e17b..2f4d637e5 100644--- a/pkg/detectors/zenserp/zenserp_test.go+++ b/pkg/detectors/zenserp/zenserp_test.go@@ -16,7 +16,7 @@ import (func TestZenserp_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/zeplin/zeplin_test.go b/pkg/detectors/zeplin/zeplin_test.goindex 42e4440f9..0e4859053 100644--- a/pkg/detectors/zeplin/zeplin_test.go+++ b/pkg/detectors/zeplin/zeplin_test.go@@ -16,7 +16,7 @@ import (func TestZeplin_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/zerobounce/zerobounce_test.go b/pkg/detectors/zerobounce/zerobounce_test.goindex f3328d69c..d41c6d11e 100644--- a/pkg/detectors/zerobounce/zerobounce_test.go+++ b/pkg/detectors/zerobounce/zerobounce_test.go@@ -16,7 +16,7 @@ import (func TestZerobounce_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/zipapi/zipapi_test.go b/pkg/detectors/zipapi/zipapi_test.goindex a9116d700..7b30bfac7 100644--- a/pkg/detectors/zipapi/zipapi_test.go+++ b/pkg/detectors/zipapi/zipapi_test.go@@ -16,7 +16,7 @@ import (func TestZipapi_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/zipbooks/zipbooks_test.go b/pkg/detectors/zipbooks/zipbooks_test.goindex 4d52b6852..e2f3d6b9e 100644--- a/pkg/detectors/zipbooks/zipbooks_test.go+++ b/pkg/detectors/zipbooks/zipbooks_test.go@@ -16,7 +16,7 @@ import (func TestZipbooks_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners2")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors2")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/zipcodeapi/zipcodeapi_test.go b/pkg/detectors/zipcodeapi/zipcodeapi_test.goindex d16d1c522..a114db983 100644--- a/pkg/detectors/zipcodeapi/zipcodeapi_test.go+++ b/pkg/detectors/zipcodeapi/zipcodeapi_test.go@@ -16,7 +16,7 @@ import (func TestZipCodeAPI_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners1")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors1")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/pkg/detectors/zonkafeedback/zonkafeedback_test.go b/pkg/detectors/zonkafeedback/zonkafeedback_test.goindex 2f5ded877..8c18b0ab5 100644--- a/pkg/detectors/zonkafeedback/zonkafeedback_test.go+++ b/pkg/detectors/zonkafeedback/zonkafeedback_test.go@@ -16,7 +16,7 @@ import (func TestZonkaFeedback_FromChunk(t *testing.T) {ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)defer cancel()- testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "scanners3")+ testSecrets, err := common.GetSecret(ctx, "trufflehog-testing", "detectors3")if err != nil {t.Fatalf("could not get test secrets from GCP: %s", err)}diff --git a/scripts/test_changed_detectors.sh b/scripts/test_changed_detectors.shnew file mode 100755index 000000000..a6cd5fdcb--- /dev/null+++ b/scripts/test_changed_detectors.sh@@ -0,0 +1,17 @@+#!/bin/bash++set -uo pipefail++CHANGED=$(git diff --name-only --no-commit-id origin/master | grep pkg/detectors | grep -v test)+while IFS= read -r FILE; do+ DIRECTORY=$(basename $FILE ".go")+ if [ -d "pkg/detectors/$DIRECTORY" ]+ then+ echo $DIRECTORY+ go test -v "github.com/trufflesecurity/trufflehog/v3/pkg/detectors/$DIRECTORY"+ retVal=$?+ if [ $retVal -ne 0 ]; then+ exit 1+ fi+ fi+done <<< "$CHANGED"