From 8b833bcb71b0f4008b1e6bc82be702703417a4be Mon Sep 17 00:00:00 2001 From: Itay Paz Date: Thu, 21 Aug 2025 15:35:36 +0300 Subject: [PATCH 1/9] skip test --- src/tests/ScanTest.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/ScanTest.test.ts b/src/tests/ScanTest.test.ts index 7ec12696..42ce21d5 100644 --- a/src/tests/ScanTest.test.ts +++ b/src/tests/ScanTest.test.ts @@ -216,7 +216,7 @@ describe("ScanCreate cases", () => { expect(cxCommandOutput.exitCode).toBe(0); }); - it('ScanSecrets with ignore file filters the result', async () => { + it.skip('ScanSecrets with ignore file filters the result', async () => { const wrapper = new CxWrapper(cxScanConfig); const cxCommandOutput: CxCommandOutput = await wrapper.secretsScanResults( "src/tests/data/secret-exposed.txt", From c47c881456c82a1b5e81bda97cede6581dc98945 Mon Sep 17 00:00:00 2001 From: Itay Paz Date: Sun, 24 Aug 2025 14:28:51 +0300 Subject: [PATCH 2/9] fix mock for test ignore secrets --- src/tests/data/ignoreFileSecrets.json | 1 - 1 file changed, 1 deletion(-) diff --git a/src/tests/data/ignoreFileSecrets.json b/src/tests/data/ignoreFileSecrets.json index c83df634..af156339 100644 --- a/src/tests/data/ignoreFileSecrets.json +++ b/src/tests/data/ignoreFileSecrets.json @@ -1,7 +1,6 @@ [ { "Title": "github-pat", - "FilePath": "src/tests/data/secret-exposed.txt", "SecretValue":"ghp_1234567890abcdef1234567890abcdef1234" } ] \ No newline at end of file From 06672414c7e410932114affa1296ae77c306e3be Mon Sep 17 00:00:00 2001 From: Itay Paz Date: Mon, 25 Aug 2025 10:14:43 +0300 Subject: [PATCH 3/9] Remove skip test --- src/tests/ScanTest.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/ScanTest.test.ts b/src/tests/ScanTest.test.ts index 42ce21d5..7baba7b9 100644 --- a/src/tests/ScanTest.test.ts +++ b/src/tests/ScanTest.test.ts @@ -216,7 +216,7 @@ describe("ScanCreate cases", () => { expect(cxCommandOutput.exitCode).toBe(0); }); - it.skip('ScanSecrets with ignore file filters the result', async () => { + it.('ScanSecrets with ignore file filters the result', async () => { const wrapper = new CxWrapper(cxScanConfig); const cxCommandOutput: CxCommandOutput = await wrapper.secretsScanResults( "src/tests/data/secret-exposed.txt", From 49c2e3b9d9ed9610761df39f97100dd2a7a24f66 Mon Sep 17 00:00:00 2001 From: Itay Paz Date: Mon, 25 Aug 2025 10:27:04 +0300 Subject: [PATCH 4/9] fix pr --- src/tests/ScanTest.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/ScanTest.test.ts b/src/tests/ScanTest.test.ts index 7baba7b9..7ec12696 100644 --- a/src/tests/ScanTest.test.ts +++ b/src/tests/ScanTest.test.ts @@ -216,7 +216,7 @@ describe("ScanCreate cases", () => { expect(cxCommandOutput.exitCode).toBe(0); }); - it.('ScanSecrets with ignore file filters the result', async () => { + it('ScanSecrets with ignore file filters the result', async () => { const wrapper = new CxWrapper(cxScanConfig); const cxCommandOutput: CxCommandOutput = await wrapper.secretsScanResults( "src/tests/data/secret-exposed.txt", From 8dad98e007fc072884abc2f7b6783c0c24b012ca Mon Sep 17 00:00:00 2001 From: Itay Paz Date: Mon, 25 Aug 2025 15:29:06 +0300 Subject: [PATCH 5/9] change tag --- .github/scripts/update_cli.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/update_cli.sh b/.github/scripts/update_cli.sh index 6d59970b..8f30ed6f 100755 --- a/.github/scripts/update_cli.sh +++ b/.github/scripts/update_cli.sh @@ -1,6 +1,6 @@ #!/bin/bash -release=$1 +release=2.3.32-Remove-filePath-ignore-Final filename_windows=ast-cli_${release}_windows_x64.zip filename_linux=ast-cli_${release}_linux_x64.tar.gz filename_darwin=ast-cli_${release}_darwin_x64.tar.gz From d79743652e3a593582380a01bad201ec717c1178 Mon Sep 17 00:00:00 2001 From: Itay Paz Date: Tue, 26 Aug 2025 10:06:02 +0300 Subject: [PATCH 6/9] update cli version --- checkmarx-ast-cli.version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checkmarx-ast-cli.version b/checkmarx-ast-cli.version index a17d933d..08f2c243 100644 --- a/checkmarx-ast-cli.version +++ b/checkmarx-ast-cli.version @@ -1 +1 @@ -2.3.32 +2.3.32-Remove-filePath-ignore-Final \ No newline at end of file From d1ab4cee78b50f4f4ade3fecb98fa6cb645eddc1 Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 26 Aug 2025 07:14:19 +0000 Subject: [PATCH 7/9] Track Checkmarx CLI binaries with Git LFS --- src/main/wrapper/resources/cx-linux | 2 +- src/main/wrapper/resources/cx-mac | 4 ++-- src/main/wrapper/resources/cx.exe | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/wrapper/resources/cx-linux b/src/main/wrapper/resources/cx-linux index 50792ef5..062b7f27 100755 --- a/src/main/wrapper/resources/cx-linux +++ b/src/main/wrapper/resources/cx-linux @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d516e996f4971e7516dc91f0676c588b897a792ab85a532d6b6bf41a9bd084ae +oid sha256:832caee9fd1ceb57bcddd22cbd60abe10556060a80e33f4554c337384418bd1d size 76648632 diff --git a/src/main/wrapper/resources/cx-mac b/src/main/wrapper/resources/cx-mac index 1d478e93..094a669a 100755 --- a/src/main/wrapper/resources/cx-mac +++ b/src/main/wrapper/resources/cx-mac @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:954940965bb8769fd0440ce0b5a520cd5863ab3035c8953755ff071e8bc28f47 -size 154241504 +oid sha256:cf4627e58b77776fb209900f275e62c9777dd6ac556df9d94cc1754e5f2a1179 +size 154245344 diff --git a/src/main/wrapper/resources/cx.exe b/src/main/wrapper/resources/cx.exe index 7590ba6d..1ea4b769 100644 --- a/src/main/wrapper/resources/cx.exe +++ b/src/main/wrapper/resources/cx.exe @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8d56b322af737d1627b6ab557d060763be537bc140071e20019354ad59b7e22d +oid sha256:c770943778a9bdb4630154afad8b5d67369edae943066ad27204948097a9b31e size 78636992 From f115db080f7188db0c1941df58d367cff89890a3 Mon Sep 17 00:00:00 2001 From: cx-itay-paz <143506741+cx-itay-paz@users.noreply.github.com> Date: Tue, 26 Aug 2025 07:14:20 +0000 Subject: [PATCH 8/9] Update checkmarx-ast-cli to 2.3.32 --- checkmarx-ast-cli.version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checkmarx-ast-cli.version b/checkmarx-ast-cli.version index 08f2c243..a17d933d 100644 --- a/checkmarx-ast-cli.version +++ b/checkmarx-ast-cli.version @@ -1 +1 @@ -2.3.32-Remove-filePath-ignore-Final \ No newline at end of file +2.3.32 From 5d0e8c1c72f132efbfcfaca8bc1e4f2477188910 Mon Sep 17 00:00:00 2001 From: Itay Paz Date: Tue, 26 Aug 2025 10:25:02 +0300 Subject: [PATCH 9/9] revert the relase tag in update cli sh --- .github/scripts/update_cli.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/update_cli.sh b/.github/scripts/update_cli.sh index 8f30ed6f..6d59970b 100755 --- a/.github/scripts/update_cli.sh +++ b/.github/scripts/update_cli.sh @@ -1,6 +1,6 @@ #!/bin/bash -release=2.3.32-Remove-filePath-ignore-Final +release=$1 filename_windows=ast-cli_${release}_windows_x64.zip filename_linux=ast-cli_${release}_linux_x64.tar.gz filename_darwin=ast-cli_${release}_darwin_x64.tar.gz