Find, verify, and analyze leaked credentials
Go credentialsdevsecopsdynamic-analysisprecommitscanningsecretsecret-managementsecretssecuritysecurity-toolstrufflehogverification
Re-enabled TestAPKHandler test and updated artifact url (#4856)
Muneeb Ullah Khan6bd2d14f7a4b
diff --git a/pkg/handlers/apk_test.go b/pkg/handlers/apk_test.goindex 45e79afc8..b8ca00530 100644--- a/pkg/handlers/apk_test.go+++ b/pkg/handlers/apk_test.go@@ -13,7 +13,6 @@ import ()func TestAPKHandler(t *testing.T) {- t.Skip("[INS-421] - Skipping this test because the apk file being used in this test is unavailable")tests := map[string]struct {archiveURL stringexpectedChunks int@@ -21,7 +20,7 @@ func TestAPKHandler(t *testing.T) {matchString string}{"apk_with_3_leaked_keys": {- archiveURL: "https://github.com/joeleonjr/leakyAPK/raw/refs/heads/main/aws_leak.apk",+ archiveURL: "https://raw.githubusercontent.com/trufflesecurity/leakyAPK/main/aws_leak.apk",expectedChunks: 942,// Note: the secret count is 4 instead of 3 b/c we're not actually running the secret detection engine,// we're just looking for a string match. There is one extra string match in the APK (but only 3 detected secrets).