From 269c8e54c0d98499dece4f2b0ccf6335714cef03 Mon Sep 17 00:00:00 2001 From: Anurag Dalke <120229307+cx-anurag-dalke@users.noreply.github.com> Date: Thu, 3 Dec 2026 12:21:35 +0530 Subject: [PATCH 1/3] Updated AST_CLI Version --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8c25152..8fe44df 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Use AST Base image -FROM checkmarx/ast-cli:2.3.69@sha256:1574a3c34ca60cdf5661f1394755e9a3d9cd0d43388215f0fef3148bcfe54549 +FROM checkmarx/ast-cli:2.3.73@sha256:a0dda4aa318f76304648548fcfb4677b61d81b7c67b517f54c9f2d6b6803acc7 # Docker actions must be run by the default Docker user (root). USER root From 6321c61057f7b61c31b6a0c5fba5166bc4f98e2f Mon Sep 17 00:00:00 2001 From: Anurag Dalke <120229307+cx-anurag-dalke@users.noreply.github.com> Date: Thu, 3 Dec 2026 12:27:30 +0530 Subject: [PATCH 2/3] ci: use self-repository syntax for local action references zizmor's self-repository audit flags workspace-relative `uses: ./`. GitHub's `$/` syntax resolves to the workflow's own repository and is supported on the runners this repo uses (2.338.2 >= 2.336.0). Co-Authored-By: Claude Fable 5.1 --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c179653..c1d5e97 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: - name: Run With Empty Client And Secret id: empty_client_secret continue-on-error: true - uses: ./ + uses: $/ with: project_name: ${{ github.event.repository.name }}-tests base_uri: ${{ secrets.CX_BASE_URI }} @@ -47,7 +47,7 @@ jobs: - name: Valid Scenario id: valid_scenario continue-on-error: true - uses: ./ + uses: $/ with: project_name: ${{ github.event.repository.name }}-tests base_uri: ${{ secrets.CX_BASE_URI }} @@ -88,7 +88,7 @@ jobs: - name: Test With Wrong Preset Name id: preset_name_test continue-on-error: true - uses: ./ + uses: $/ with: project_name: ${{ github.event.repository.name }}-tests base_uri: ${{ secrets.CX_BASE_URI }} @@ -115,7 +115,7 @@ jobs: - name: Valid Scenario With Source Path id: valid_scenario_source_path continue-on-error: true - uses: ./ + uses: $/ with: project_name: ${{ github.event.repository.name }}-tests base_uri: ${{ secrets.CX_BASE_URI }} From 255f9f42ad5b8c95d802bf424f47b523485464d0 Mon Sep 17 00:00:00 2001 From: Anurag Dalke <120229307+cx-anurag-dalke@users.noreply.github.com> Date: Thu, 3 Dec 2026 12:33:47 +0530 Subject: [PATCH 3/3] ci: keep './' action references and suppress zizmor self-repository finding Using GitHub's '$/' self-repository syntax makes the runner resolve the action under test as a remote Checkmarx/ast-github-action@ reference, which the org's StepSecurity secret-exfiltration run policy blocks (see run 47054572963). Keep the workspace-relative './' form and suppress the low-severity zizmor finding inline, matching the existing suppression convention in this repo. Co-Authored-By: Claude Fable 5.1 --- .github/workflows/ci.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c1d5e97..b50f702 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,11 +24,15 @@ jobs: run: | echo "testcode"> source.py + # The action under test is referenced with the workspace-relative './' form on purpose: + # GitHub's '$/' self-repository syntax makes the runner resolve it as a remote + # Checkmarx/ast-github-action@ reference, which the org's StepSecurity + # secret-exfiltration run policy blocks. # Test Failure on missing client-id and secret - name: Run With Empty Client And Secret id: empty_client_secret continue-on-error: true - uses: $/ + uses: ./ # zizmor: ignore[self-repository] with: project_name: ${{ github.event.repository.name }}-tests base_uri: ${{ secrets.CX_BASE_URI }} @@ -47,7 +51,7 @@ jobs: - name: Valid Scenario id: valid_scenario continue-on-error: true - uses: $/ + uses: ./ # zizmor: ignore[self-repository] with: project_name: ${{ github.event.repository.name }}-tests base_uri: ${{ secrets.CX_BASE_URI }} @@ -88,7 +92,7 @@ jobs: - name: Test With Wrong Preset Name id: preset_name_test continue-on-error: true - uses: $/ + uses: ./ # zizmor: ignore[self-repository] with: project_name: ${{ github.event.repository.name }}-tests base_uri: ${{ secrets.CX_BASE_URI }} @@ -115,7 +119,7 @@ jobs: - name: Valid Scenario With Source Path id: valid_scenario_source_path continue-on-error: true - uses: $/ + uses: ./ # zizmor: ignore[self-repository] with: project_name: ${{ github.event.repository.name }}-tests base_uri: ${{ secrets.CX_BASE_URI }}