Skip to content

json report from cx cli is not the same as in cx UI (AST-94779)#1134

Closed
cx-sumit-morchhale wants to merge 14 commits into
mainfrom
AST-94779-json-report-from-cx-cli-is-not-the-same-as-in-cx-ui
Closed

json report from cx cli is not the same as in cx UI (AST-94779)#1134
cx-sumit-morchhale wants to merge 14 commits into
mainfrom
AST-94779-json-report-from-cx-cli-is-not-the-same-as-in-cx-ui

Conversation

@cx-sumit-morchhale
Copy link
Copy Markdown
Contributor

@cx-sumit-morchhale cx-sumit-morchhale commented May 7, 2025

I made code changes for new JSON report format.
Command :
For new json report ,

  1. use jsonReport in place of json for --report-format flag.
  2. use --report-json-email flag in --email flag.
  3. use --report-json-options flag in --filter flag.

results show --report-format jsonReport --scan-id <scan_id>

cx scan create --project-name <Project_Name> -s <Repo_URL> --branch <branch_name> --report-format jsonReport --report-json-email <email_id> --report-json-options "sast"

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 7, 2025

Logo
Checkmarx One – Scan Summary & Detailse47cbc12-6204-476c-9d7c-a8b196a1068c

New Issues (1)

Checkmarx found the following issues in this Pull Request

Severity Issue Source File / Package Checkmarx Insight
HIGH Absolute_Path_Traversal /internal/wrappers/client.go: 623
detailsMethod request at line 623 of /internal/wrappers/client.go gets dynamic data from the Do element. This element’s value then flows through the cod...
ID: eGXj5Ts8xgbYi5fUi2P4%2BQ5bOnU%3D
Attack Vector

Sumit Morchhale and others added 10 commits May 8, 2025 08:01
Extended the filtering logic to handle uppercase 'EXCLUDE_NOT_EXPLOITABLE' state in results command. Added a new integration test to validate JSON report generation with mixed-case filters for state, severity, and status.
…-cx-ui' of https://github.com/Checkmarx/ast-cli into AST-94779-json-report-from-cx-cli-is-not-the-same-as-in-cx-ui
@cx-sumit-morchhale cx-sumit-morchhale changed the title Ast 94779 json report from cx cli is not the same as in cx UI json report from cx cli is not the same as in cx UI (AST-94779) May 14, 2025
@cx-sumit-morchhale cx-sumit-morchhale deleted the AST-94779-json-report-from-cx-cli-is-not-the-same-as-in-cx-ui branch May 14, 2025 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants