From ba1347666cd9e80876648ca754068570bfe41e46 Mon Sep 17 00:00:00 2001 From: Dmytro Demydenko Date: Sun, 12 Nov 2023 19:49:18 +0200 Subject: [PATCH] [BCE-20554] Add SAST findings to JetBrains --- .../bridgecrew/services/fixtures/CheckovResultFixture.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/kotlin/com/bridgecrew/services/fixtures/CheckovResultFixture.kt b/src/test/kotlin/com/bridgecrew/services/fixtures/CheckovResultFixture.kt index e12b7ad..482436a 100644 --- a/src/test/kotlin/com/bridgecrew/services/fixtures/CheckovResultFixture.kt +++ b/src/test/kotlin/com/bridgecrew/services/fixtures/CheckovResultFixture.kt @@ -8,8 +8,8 @@ fun createDefaultResults(): CheckovResult { bc_check_id = "", check_name = "Unsafe custom MessageDigest is implemented", file_path = "Assertions.fail.java", - repo_file_path = "/Work/PaloAlto/sast-policies/tests/sast/source_code/java/BrokenCryptographicAlgorithm/Assertions.fail.java", - file_abs_path = "/Users/ddemydenko/Work/PaloAlto/sast-policies/tests/sast/source_code/java/BrokenCryptographicAlgorithm/fail.java", + repo_file_path = "/sast-policies/tests/sast/source_code/java/BrokenCryptographicAlgorithm/Assertions.fail.java", + file_abs_path = "/Users/user/sast-policies/tests/sast/source_code/java/BrokenCryptographicAlgorithm/fail.java", file_line_range = ArrayList(listOf(1, 3)), resource = "", severity = "MEDIUM", @@ -29,8 +29,8 @@ fun createSastCheckovResultResults(): CheckovResult { bc_check_id = "", check_name = "Unsafe custom MessageDigest is implemented", file_path = "Assertions.fail.java", - repo_file_path = "/Work/PaloAlto/sast-policies/tests/sast/source_code/java/BrokenCryptographicAlgorithm/Assertions.fail.java", - file_abs_path = "/Users/ddemydenko/Work/PaloAlto/sast-policies/tests/sast/source_code/java/BrokenCryptographicAlgorithm/fail.java", + repo_file_path = "/sast-policies/tests/sast/source_code/java/BrokenCryptographicAlgorithm/Assertions.fail.java", + file_abs_path = "/Users/user/sast-policies/tests/sast/source_code/java/BrokenCryptographicAlgorithm/fail.java", file_line_range = ArrayList(listOf(1, 3)), resource = "", severity = "MEDIUM",