Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
e30a441
Fix KICS container shutdown race condition and add OneAssist license …
cx-atish-jadhav May 26, 2026
e7356a7
Integrate file updates: SARIF enhancements, filters expansion, and pr…
cx-atish-jadhav May 26, 2026
b70b80a
Fix SCA vulnerabilities: update dependencies to patched versions
cx-atish-jadhav May 27, 2026
65f4dd0
Fix additional SCA vulnerabilities: containerd, golang.org/x/image, a…
cx-atish-jadhav May 27, 2026
e4e3aad
Fix k8s.io/kubectl version mismatch after SCA dependency upgrades
cx-atish-jadhav May 27, 2026
8249fe4
create CLAUDE.md file for ast-cli repo
cx-atish-jadhav May 28, 2026
ccb12ae
Updated filters.go
cx-atish-jadhav May 28, 2026
b6c006b
fix failing unit test case
cx-atish-jadhav May 28, 2026
2d38f62
trivy and integration check fixes
cx-atish-jadhav May 28, 2026
47eee87
CVE-2026-33813: fixing cxone scan vulnerability
cx-atish-jadhav May 28, 2026
f2eb1ad
Fix CVE vulnerabilities and lint issues
cx-atish-jadhav May 28, 2026
129ef8c
Override transitive golang.org/x/image and update config
cx-atish-jadhav May 29, 2026
b791438
[StepSecurity] Apply security best practices (#1495)
stepsecurity-app[bot] May 30, 2026
1095e95
Fix KICS container shutdown race condition and add OneAssist license …
cx-atish-jadhav May 26, 2026
ad9ed06
Integrate file updates: SARIF enhancements, filters expansion, and pr…
cx-atish-jadhav May 26, 2026
820681b
Fix SCA vulnerabilities: update dependencies to patched versions
cx-atish-jadhav May 27, 2026
28c1d8f
Fix additional SCA vulnerabilities: containerd, golang.org/x/image, a…
cx-atish-jadhav May 27, 2026
c1a7a8b
Fix k8s.io/kubectl version mismatch after SCA dependency upgrades
cx-atish-jadhav May 27, 2026
df1be10
create CLAUDE.md file for ast-cli repo
cx-atish-jadhav May 28, 2026
92a7fe6
Updated filters.go
cx-atish-jadhav May 28, 2026
18dc8d1
fix failing unit test case
cx-atish-jadhav May 28, 2026
6808413
trivy and integration check fixes
cx-atish-jadhav May 28, 2026
780b52e
CVE-2026-33813: fixing cxone scan vulnerability
cx-atish-jadhav May 28, 2026
787783a
Fix CVE vulnerabilities and lint issues
cx-atish-jadhav May 28, 2026
1f068eb
Override transitive golang.org/x/image and update config
cx-atish-jadhav May 29, 2026
85c6850
Merge branch 'other/release-integration' of https://github.com/Checkm…
cx-atish-jadhav Jun 2, 2026
b99b734
Vulnerability fixes and ci changes
cx-atish-jadhav Jun 2, 2026
c7a8e92
Fix transitive CVE vulnerabilities without go mod tidy
cx-atish-jadhav Jun 2, 2026
0164e15
Added harden runner
cx-atish-jadhav Jun 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ jobs:
- run: go version
- run: go mod tidy
- name: golangci-lint
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 #v9.2.0
uses: step-security/golangci-lint-action@1797facf9ea427614d729a4e9cab0fae1a7852d9 # v9.2.0
with:
skip-pkg-cache: true
version: v2.11.3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@bfac3fa29cc6834ca2e3fd659343da191a65d971 # v1.3.1
uses: step-security/dependabot-fetch-metadata@bf8fb6e0be0a711c669dc236de6e7f7374ba626e # v3.1.0
with:
github-token: "${{ secrets.GH_TOKEN }}"
- name: Enable auto-merge for Dependabot PRs
Expand All @@ -20,6 +20,6 @@ jobs:
GITHUB_TOKEN: ${{secrets.GH_TOKEN}}
run: gh pr merge --auto --merge "$PR_URL"
- name: Auto approve dependabot PRs
uses: hmarr/auto-approve-action@7782c7e2bdf62b4d79bdcded8332808fd2f179cd #v2
uses: step-security/auto-approve-action@0c28339628c8e79ab2f6813291e7e6cd584b4d30 # v4.0.0
with:
github-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
13 changes: 8 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ jobs:
COSIGN_PASSWORD: ${{ secrets.COSIGN_PASSWORD }}
COSIGN_PUBLIC_KEY: ${{ secrets.COSIGN_PUBLIC_KEY }}
steps:
- name: Install Harden Runner
uses: checkmarx/harden-runner-action@9af89fc71515a100421586dfdb3dc9c984fbf411 #v2.19.4
with:
use-policy-store: true
api-key: ${{ secrets.STEP_SECURITY_API_KEY }}
- name: Checkout
uses: actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2 #v4.0.0
with:
Expand Down Expand Up @@ -81,14 +86,14 @@ jobs:
docker info
- name: Login to Docker Hub
if: inputs.dev == false
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 #v4.1.0
uses: step-security/docker-login-action@870af644803bf9f204aed474adbad2958fec048b # v4.1.0
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Install Cosign
if: inputs.dev == false
uses: sigstore/cosign-installer@1fc5bd396d372bee37d608f955b336615edf79c8 #v3.2.0
uses: step-security/cosign-installer@8c02650536457a1c912424ab6cb9734aa3eceb56 # v4.1.1

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@5fd3084fc36e372ff1fff382a39b10d03659f355 #v2
Expand All @@ -115,7 +120,7 @@ jobs:
- name: Echo GoReleaser Args
run: echo ${{ env.GR_ARGS }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@b508e2e3ef3b19d4e4146d4f8fb3ba9db644a757 #v3
uses: step-security/goreleaser-action@1472c46ac6e641f2b929f1a893354288b3a6b6b6 # v7.2.1
with:
version: v1.18.2
args: ${{ env.GR_ARGS }}
Expand Down Expand Up @@ -159,10 +164,8 @@ jobs:

if [ "${{ inputs.dev }}" = "true" ]; then
gh release create "${common[@]}" --prerelease
gh release edit "${{ inputs.tag }}" --draft=false
else
gh release create "${common[@]}"
gh release edit "${{ inputs.tag }}" --draft=false --latest
fi

- name: Cleanup draft release on failure
Expand Down
500 changes: 500 additions & 0 deletions CLAUDE.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM checkmarx/bash:5.3-r12-0e56cb6e000601@sha256:0e56cb6e000601d35ed11ddcc973ca268c431a176be53cdc31bc85f3208dc44a
FROM checkmarx/bash:5.3-r12-f48dd8a45af577@sha256:f48dd8a45af5771e98cb5d56d204ada0e0dc045093ca3272b4c3dbe3f85e6e4f
USER nonroot

COPY cx /app/bin/cx
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ Checkmarx One Integrations Team

Project Link: [https://github.com/Checkmarx/ast-cli](https://github.com/Checkmarx/ast-cli).

© 2025 Checkmarx Ltd. All Rights Reserved.
© 2026 Checkmarx Ltd. All Rights Reserved.


[docker-shield]: https://img.shields.io/docker/pulls/checkmarx/ast-cli
Expand Down
12 changes: 7 additions & 5 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
"syscall"

"github.com/checkmarx/ast-cli/internal/commands"
"github.com/checkmarx/ast-cli/internal/kicsshutdown"
"github.com/checkmarx/ast-cli/internal/logger"
"github.com/checkmarx/ast-cli/internal/params"
"github.com/checkmarx/ast-cli/internal/wrappers"
Expand Down Expand Up @@ -191,10 +192,6 @@ func exitListener() {
}

func signalHandler(signalChanel chan os.Signal) {
kicsRunArgs := []string{
killCommand,
viper.GetString(params.KicsContainerNameKey),
}
for {
s := <-signalChanel
switch s {
Expand All @@ -204,7 +201,12 @@ func signalHandler(signalChanel chan os.Signal) {
os.Exit(failureExitCode)
}
logger.PrintIfVerbose(string(out))
if strings.Contains(string(out), viper.GetString(params.KicsContainerNameKey)) {
kicsContainerName := kicsshutdown.GetKicsContainerName()
if kicsContainerName != "" && strings.Contains(string(out), kicsContainerName) {
kicsRunArgs := []string{
killCommand,
kicsContainerName,
}
out, err = exec.Command("docker", kicsRunArgs...).CombinedOutput()
logger.PrintIfVerbose(string(out))
if err != nil {
Expand Down
Loading
Loading