Skip to content

[Enhancement]: Prompt user before running real-time scan on plugin startup #1360

@jakeburkart-hcd

Description

@jakeburkart-hcd

Contact Details

jake.burkart@hcd.ca.gov

What problem does this solve?

After enabling Checkmarx extension, and upon restarting VS Code, the SCA real-time scanner begins scanning every file in the workspace. For many workspaces this could contain many thousands of files. The scan process taxes the system and essentially locks up VS Code. I have to use a work-around to in order to turn off the real-time scan.
Work Around: Create a new folder on your system. Open that folder in a terminal and enter> code . This will open VS Code to an empty workspace. Open Checkmarx extension and disable SCA real-time scanner.

Proposed Solution

When initializing the plugin, if real-time SCA scan is enabled, prompt the user if they want to proceed with the scan. Note that it can take a while if there are many files in the workspace. Provide the user with an option to disable the real time SCA scan in this modal.

Importance Level

Important

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions