Skip to content

Find, verify, and analyze leaked credentials

fixed netlify detector integration tests (#3797)

Kashif Khanb562054ee78c
diff --git a/pkg/detectors/netlify/netlify_integration_test.go b/pkg/detectors/netlify/netlify_integration_test.go
index 2d8060dea..5129a95c2 100644
--- a/pkg/detectors/netlify/netlify_integration_test.go
+++ b/pkg/detectors/netlify/netlify_integration_test.go
@@ -50,6 +50,9 @@ func TestNetlify_FromChunk(t *testing.T) {
{
DetectorType: detectorspb.DetectorType_Netlify,
Verified: true,
+ ExtraData: map[string]string{
+ "rotation_guide": "https://howtorotate.com/docs/tutorials/netlify/",
+ },
},
},
wantErr: false,
@@ -66,6 +69,9 @@ func TestNetlify_FromChunk(t *testing.T) {
{
DetectorType: detectorspb.DetectorType_Netlify,
Verified: false,
+ ExtraData: map[string]string{
+ "rotation_guide": "https://howtorotate.com/docs/tutorials/netlify/",
+ },
},
},
wantErr: false,