cherrybomb icon indicating copy to clipboard operation
cherrybomb copied to clipboard

💡 Provide additional output format controls and options

Open AErmie opened this issue 3 years ago • 4 comments

Is your feature request related to a problem? Please describe. Whether using the command cherrybomb oas [OR] swagger --file <PATH> --output <PATH> or running the command without the --output it produces a results.txt file. For use in a CI/CD pipeline, this file makes it difficult to react to the results.

Describe the solution you'd like I would like to see the tool support other common formats (ie. JSON, JUnit, SARIF, etc.), and provide the ability to control the output of that file (ie. allowing a multi-type output versus having to run the tool multiple times, such as --type JSON,JUnit,SARIF).

Further, having the ability to control the output by severity or result (ie. only outputting the Failed checks or High severities).

Describe alternatives you've considered None

Additional context Context would be running in a CI/CD pipeline, like Azure DevOps, or GitHub Actions.

AErmie avatar Mar 29 '22 16:03 AErmie

Thank you for the input, I'll add it to the top of the roadmap, and I'll update you once there is an rc/version that implement that change

GuyL99 avatar Mar 31 '22 05:03 GuyL99

In today's release I added the option for a JSON as the --format flag. Can you check it out? BTW, you can use verbosity 2 for the scan for it to output only the failed tests. Regarding severity control it's still in dev, I'll update you about it soon.

GuyL99 avatar Apr 27 '22 07:04 GuyL99

Hi @AErmie The output can now be exported from CherryBomb in TXT or JSON format. The next release will include an additional option to select the type of checks you want to run by categorizing them as intrusive, full, or normal. When it comes to severity control, we may include it in the upcoming config file feature.

DeliciousBounty avatar Dec 15 '22 13:12 DeliciousBounty

Hey, we will be releasing a major version soon this is will be included in it. thank you for the recommendation

RazMag avatar Jan 04 '23 09:01 RazMag