Skip to content

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

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 1 commit into
base: main
Choose a base branch
from

Conversation

cx-sumit-morchhale
Copy link
Contributor

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

Test Cases

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

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

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

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)

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)

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

engines list-api --output-format xyz
Expected Output – Will get error Invalid Output format

Copy link

Logo
Checkmarx One – Scan Summary & Detailsc5a62535-e396-486f-b590-59e61cd81640

Great job, no security vulnerabilities found in this Pull Request

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