Vorpal custom path implementation (AST-133948)#1426
Merged
cx-anurag-dalke merged 19 commits intomainfrom Feb 13, 2026
Merged
Conversation
|
Great job! No new security vulnerabilities introduced in this pull request |
- Added trimmed space condition for key
- Added additional checks for not null flag name if given
cx-umesh-waghode
requested changes
Feb 11, 2026
- Fixed unit tests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

By submitting this pull request, you agree to the terms within the Checkmarx Code of Conduct. Please review the contributing guidelines for guidance on creating high-quality pull requests.
Description
Provide the ability to user to give custom location directory PATH where ASCA is installed (vorpal).
ASCA-Specific Flag: --asca-location
This flag is specific to the scan asca command e.g scan asca --asca-location "C:/drive "
CX_ASCA_LOCATION env variable is bind to this flag
If the directory does not exists or the vorpal executable does not exists then throw exclusive error . No fallback mechanism
Global Flag: --optional-flags
This flag accepts multiple key-value parameters separated by semicolons (;).
Format
--optional-flags "key1=value1;key2=value2"
e.g --optional-flags "asca-location=C:\drive\vorpal"
Behavior
The asca-location key specifies the directory where Vorpal (ASCA) is already installed.
CX_OPTIONAL_FLAGS is the env variable binded to this flag
Precedence Order
The following precedence must be enforced:
Type of Change
Related Issues
Link any related issues or tickets.
Checklist
Screenshots (if applicable)
Add screenshots to help explain your changes.
Additional Notes
Add any other relevant information.