Skip to content
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

Export list of rules as JSON #157

Open
baruchiro opened this issue Aug 1, 2023 · 0 comments
Open

Export list of rules as JSON #157

baruchiro opened this issue Aug 1, 2023 · 0 comments
Labels
internal requirement Requirements from Checkmarx internally

Comments

@baruchiro
Copy link
Contributor

baruchiro commented Aug 1, 2023

Warning

Please wait with this issue, we are discussing with our Product Manager to consider this issue.

There is an option to run 2ms rules and list all the available rules (filtered by --include-rules and other arguments).

An internal user requested an option to print the rules in JSON format to easily parse it and display it to the user.

Need to add a flag --json that will print the rules as JSON.

{
  "rule id": {
    "description": "rule description",
    "tags": ["tag1", "tag2"]
  }
}
@baruchiro baruchiro added enhancement New feature or request good first issue Good for newcomers internal requirement Requirements from Checkmarx internally and removed enhancement New feature or request good first issue Good for newcomers labels Aug 1, 2023
@baruchiro baruchiro added this to 2ms Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal requirement Requirements from Checkmarx internally
Projects
Status: No status
Development

No branches or pull requests

1 participant