trufflehog/pkg/detectors/jdbc
Miccah ddc81bd7c1
[THOG-162] Implement JDBC verification for select drivers (#792)
* [THOG-162] Implement JDBC verification for select drivers

Also includes integration tests for postgres and mysql via docker. To
run, execute the following (untested what will happen if the docker
images aren't installed):

go test -tags=detectors,integration ./pkg/detectors/jdbc

* Make jdbc regex a bit more strict

* Surface the context to allow the caller to set a timeout
2022-09-21 17:50:48 +02:00
..
jdbc.go [THOG-162] Implement JDBC verification for select drivers (#792) 2022-09-21 17:50:48 +02:00
jdbc_integration_test.go [THOG-162] Implement JDBC verification for select drivers (#792) 2022-09-21 17:50:48 +02:00
jdbc_test.go [THOG-162] Implement JDBC verification for select drivers (#792) 2022-09-21 17:50:48 +02:00
mysql.go [THOG-162] Implement JDBC verification for select drivers (#792) 2022-09-21 17:50:48 +02:00
mysql_integration_test.go [THOG-162] Implement JDBC verification for select drivers (#792) 2022-09-21 17:50:48 +02:00
postgres.go [THOG-162] Implement JDBC verification for select drivers (#792) 2022-09-21 17:50:48 +02:00
postgres_integration_test.go [THOG-162] Implement JDBC verification for select drivers (#792) 2022-09-21 17:50:48 +02:00
sqlite.go [THOG-162] Implement JDBC verification for select drivers (#792) 2022-09-21 17:50:48 +02:00
sqlite_test.go [THOG-162] Implement JDBC verification for select drivers (#792) 2022-09-21 17:50:48 +02:00
sqlserver.go [THOG-162] Implement JDBC verification for select drivers (#792) 2022-09-21 17:50:48 +02:00