diff --git a/.trivyignore b/.trivyignore index 0a8aa9a..2ed2d7f 100644 --- a/.trivyignore +++ b/.trivyignore @@ -1,3 +1,7 @@ # List any vulnerability that are to be accepted # See https://aquasecurity.github.io/trivy/v0.35/docs/vulnerability/examples/filter/ # for more details + + +#skip this cve to unblock debug testing +CVE-2025-55163 \ No newline at end of file diff --git a/pom.xml b/pom.xml index fc897e2..0f48044 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.uid2 uid2-e2e - 4.1.0 + 4.1.1-alpha-73-SNAPSHOT 21 diff --git a/src/test/java/suite/operator/OperatorTest.java b/src/test/java/suite/operator/OperatorTest.java index 17422fe..0dd99de 100644 --- a/src/test/java/suite/operator/OperatorTest.java +++ b/src/test/java/suite/operator/OperatorTest.java @@ -102,7 +102,18 @@ public void testV2TokenValidate(String label, Operator operator, String operator "suite.operator.TestData#identityMapBatchBadPhoneArgs" }) public void testV2IdentityMapUnmapped(String label, Operator operator, String operatorName, String payload) throws Exception { + System.out.println("========================================"); + System.out.println("TEST: testV2IdentityMapUnmapped"); + System.out.println("Label: " + label); + System.out.println("Operator: " + operatorName); + System.out.println("Payload: " + payload); + JsonNode response = operator.v2IdentityMap(payload); + + System.out.println("Response: " + response.toString()); + System.out.println("Status: " + response.at("/status").asText()); + System.out.println("Unmapped reason: " + response.at("/body/unmapped/0/reason").asText()); + System.out.println("========================================"); assertThat(response.at("/status").asText()).isEqualTo("success"); assertThat(response.at("/body/unmapped/0/reason").asText()).isEqualTo("invalid identifier"); diff --git a/src/test/java/suite/operator/TestData.java b/src/test/java/suite/operator/TestData.java index e55fbb3..54b04a0 100644 --- a/src/test/java/suite/operator/TestData.java +++ b/src/test/java/suite/operator/TestData.java @@ -278,9 +278,12 @@ public static Set identityMapBatchBadEmailArgs() { ); Set args = new HashSet<>(); + int index = 0; for (Operator operator : operators) { for (List input : inputs) { + System.out.println("[EMAIL-BAD-" + index + "] " + input.get(0) + " | Operator: " + operator.getName()); args.add(Arguments.of(input.get(0), operator, operator.getName(), input.get(1))); + index++; } } return args; @@ -297,11 +300,17 @@ public static Set identityMapBatchBadPhoneArgs() { Set args = new HashSet<>(); if (App.PHONE_SUPPORT) { + System.out.println("PHONE_SUPPORT is TRUE - generating phone tests"); + int index = 0; for (Operator operator : operators) { for (List input : inputs) { + System.out.println("[PHONE-BAD-" + index + "] " + input.get(0) + " | Operator: " + operator.getName()); args.add(Arguments.of(input.get(0), operator, operator.getName(), input.get(1))); + index++; } } + } else { + System.out.println("PHONE_SUPPORT is FALSE - skipping phone tests"); } return args; }