diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c179653..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 }} 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