Skip to content

Added new command engines list-api which returns list of engine APIs : (AST-93454) #1114

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

RPDevX
Copy link

@RPDevX RPDevX commented Apr 16, 2025

Added functionality of below command to get the details checkmarx one engine APIs details
Command - engines list-api --engine-name sast --output-format json

Test Cases

  1. Execute command –
    engines list-api
    Expected Output – It will get list of all engine apis and display in default format (in Tabular format)

  2. engines list-api --engine-name sast
    Expected Output – It will get list of sast engine apis and display in default format (in Tabular format)

  3. engines list-api --engine-name sca
    Expected Output – It will get list of sca engine apis and display in default format (in Tabular format)

  4. engines list-api --engine-name sast --output-format json
    Expected Output – It will get list of sast engine apis and display in default format (in json format)

  5. engines list-api --engine-name sca --output-format json
    Expected Output – It will get list of sca engine apis and display in default format (in json format)

  6. engines list-api --output-format json
    Expected Output – It will get list of all engine apis and display in default format (in json format)

  7. engines list-api --output-format ABC
    Expected Output – Will get error Invalid Output format

Copy link

github-actions bot commented Apr 16, 2025

Logo
Checkmarx One – Scan Summary & Details2ba34f2a-0d25-41ef-b5b4-58e3bc5df53c

Great job, no security vulnerabilities found in this Pull Request

@RPDevX RPDevX removed the request for review from dalkeanurag April 16, 2025 17:21
@Sanjay-2025 Sanjay-2025 changed the title Added new command engines list-api which returns list of engine APIs (AST-1234) Added new command engines list-api which returns list of engine APIs : (AST-1234) Apr 21, 2025
@RPDevX RPDevX changed the title Added new command engines list-api which returns list of engine APIs : (AST-1234) Added new command engines list-api which returns list of engine APIs : (AST-93454) Apr 21, 2025
@RPDevX RPDevX force-pushed the other/RPDevX/engine-list-api-cli-task branch from e6233d7 to 2a496ce Compare April 21, 2025 16:13
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.

1 participant