Revert "Use inline trufflehog:ignore instead of exclude paths file"
This reverts commit f10ecb8210b1176311d9372d1108b91ce8290fd4. Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
committed by
Sacha Al Himdani
parent
7dcc3d21ac
commit
5237e57d27
@@ -82,12 +82,12 @@ func TestSensitiveDataGuardrail_Check(t *testing.T) {
|
||||
{"pem certificate", "-----BEGIN CERTIFICATE-----\nMIIE...", true},
|
||||
|
||||
// Connection strings
|
||||
{"postgres uri", "Connect to postgres://user:pass@host/db", true}, // trufflehog:ignore
|
||||
{"postgresql uri", "Connect to postgresql://user:pass@host/db", true}, // trufflehog:ignore
|
||||
{"mongodb uri", "Use mongodb://user:pass@host/db", true}, // trufflehog:ignore
|
||||
{"postgres uri", "Connect to postgres://user:pass@host/db", true},
|
||||
{"postgresql uri", "Connect to postgresql://user:pass@host/db", true},
|
||||
{"mongodb uri", "Use mongodb://user:pass@host/db", true},
|
||||
{"mysql uri", "Use mysql://user:pass@host/db", true},
|
||||
{"redis uri", "Cache at redis://localhost:6379", true},
|
||||
{"amqp uri", "Queue at amqp://guest:guest@host/vhost", true}, // trufflehog:ignore
|
||||
{"amqp uri", "Queue at amqp://guest:guest@host/vhost", true},
|
||||
|
||||
// Generic secret field names
|
||||
{"encryption_key", "The encryption_key is set in config", true},
|
||||
|
||||
Reference in New Issue
Block a user