Disable github v1, it is no longer supported

This commit is contained in:
Dustin Decker
2025-02-25 09:23:17 -08:00
parent f7ff9980e3
commit 32918cd358
3 changed files with 1049 additions and 1049 deletions
+1 -2
View File
@@ -308,7 +308,6 @@ import (
"github.com/trufflesecurity/trufflehog/v3/pkg/detectors/getgist"
"github.com/trufflesecurity/trufflehog/v3/pkg/detectors/getresponse"
"github.com/trufflesecurity/trufflehog/v3/pkg/detectors/getsandbox"
githubv1 "github.com/trufflesecurity/trufflehog/v3/pkg/detectors/github/v1"
githubv2 "github.com/trufflesecurity/trufflehog/v3/pkg/detectors/github/v2"
"github.com/trufflesecurity/trufflehog/v3/pkg/detectors/github_oauth2"
"github.com/trufflesecurity/trufflehog/v3/pkg/detectors/githubapp"
@@ -1145,7 +1144,7 @@ func buildDetectorList() []detectors.Detector {
&getsandbox.Scanner{},
&github_oauth2.Scanner{},
&githubapp.Scanner{},
&githubv1.Scanner{},
// &githubv1.Scanner{}, // No longer supported
&githubv2.Scanner{},
&gitlabv1.Scanner{},
&gitlabv2.Scanner{},
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -126,7 +126,7 @@ enum DetectorType {
ElasticEmail = 112;
FigmaPersonalAccessToken = 113;
MicrosoftTeamsWebhook = 114;
GitHubOld = 115;
GitHubOld = 115 [deprecated = true];
VultrApiKey = 116;
Pepipost = 117;
Postman = 118;