Checkmarx / ast-vscode-extension

The Checkmarx One Visual Studio Code plugin (extension) enables you to import results from a Checkmarx One scan directly into your VS Code console. You can view the vulnerabilities that were identified in your source code and navigate directly to the vulnerable code in the editor.
https://marketplace.visualstudio.com/items?itemName=checkmarx.ast-results
Apache License 2.0
11 stars 6 forks source link

[BUG] Single select fields and scan button disabled #753

Open weltonduarte opened 7 months ago

weltonduarte commented 7 months ago

Describe the bug

The plugin disables the fields for selecting project, branch and scan several times:

image image

Expected behavior

I expect to be able to select the project, branch and scan. We have 70 developers and many are having problems and are unable to perform the view issues or scan from Visual Studio Code.

Actual behavior

I select a project and every time the branch and check fields are disabled. I've already uninstalled and reinstalled the Checkmarx Plug-in and it didn't help. In Visual Studio 2022 everything works with the same APIKey.

Steps to reproduce

  1. Go to 'Checkmarx' extension image
  2. See error image

Environment

image image image

Additional comments

Add any other context about the problem here.

Logs

[INFO - 9:52:23 AM] Checkmarx plugin is running [INFO - 9:52:23 AM] Initializing severity filters [INFO - 9:52:23 AM] Initializing group by selections [INFO - 9:52:24 AM] Git Extension - Add branch. [INFO - 9:52:24 AM] GIT API - Open repository [INFO - 9:52:24 AM] Initializing state filters [INFO - 9:52:26 AM] Filters initialized [INFO - 9:52:26 AM] Data refreshed and synced with Checkmarx One platform [INFO - 9:52:27 AM] Group by initialized

github-actions[bot] commented 7 months ago

Internal Jira issue: AST-35769

pedrompflopes commented 7 months ago

Hi @weltonduarte

Thanks for raising this issue. Please check if the apikey is correctly populated in the settings and check if the apikey is still valid.

Thanks, Pedro Lopes

weltonduarte commented 7 months ago

The APIKEy is correctly. I uninstalled all checkmarx plugins and installed them again. I was able to select the project, branch and scan. However, the button "Scan" is disabled.

OrShamirCM commented 7 months ago

Hi! I've tried to reproduce the issue with the latest version, and I can't reproduce it. What I see is that if you don't have a scan under this branch, you will encounter this behavior. please verify that this branch has a previous scan.