Skip to content

Find, verify, and analyze leaked credentials

fixed integration test for opsgenie detector (#3795)

Kashif Khan56159ffadb6d
diff --git a/pkg/detectors/opsgenie/opsgenie_integration_test.go b/pkg/detectors/opsgenie/opsgenie_integration_test.go
index 31d5b834b..4f11fcf35 100644
--- a/pkg/detectors/opsgenie/opsgenie_integration_test.go
+++ b/pkg/detectors/opsgenie/opsgenie_integration_test.go
@@ -47,6 +47,10 @@ func TestOpsgenie_FromChunk(t *testing.T) {
{
DetectorType: detectorspb.DetectorType_Opsgenie,
Verified: true,
+ ExtraData: map[string]string{
+ "account": "secretdetectors",
+ "plan": "Free",
+ },
},
},
wantErr: false,