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

[Enhancement] Support different output formats (e.g. JSON) #49

Closed
akittana opened this issue Aug 5, 2020 · 8 comments
Closed

[Enhancement] Support different output formats (e.g. JSON) #49

akittana opened this issue Aug 5, 2020 · 8 comments
Labels
2.0.3 2.0.3 release enhancement New feature or request

Comments

@akittana
Copy link

akittana commented Aug 5, 2020

Is your feature request related to a problem? Please describe.
Currently, it is hard to parse the output of cloudformation-guard using other scripts since the output is in text only, having different output formats would help ingest that output to different tools.

Describe the solution you'd like
It will be nice to have an option like cfn-lint/cfn_nag/cfripper/tflint/tfsec/terrascan/checkov that allows the user to specify different output options

Describe alternatives you've considered
Current solution is to parse the text output which is not ideal

@akittana akittana added the enhancement New feature or request label Aug 5, 2020
@nathanataws
Copy link
Contributor

This shouldn't be too hard to pull together. I can just use serde logic that's in the lambda to give you the same structured result from the CLI.

@PatMyron
Copy link
Contributor

PatMyron commented Oct 2, 2020

This would be useful for IDE/editor/code review bot integrations. Should consider existing formats to decrease unique integration work

@sfarazkazmi
Copy link

+1 on this. Text parsing is not ideal and we need JSON based output.

@johnttompkins johnttompkins added the release-2.0 Issues targeted to be implemented/fixed in the CloudFormation Guard 2.0 release label Feb 25, 2021
@johnttompkins
Copy link
Contributor

As mentioned in #111, rule evaluation output in the form of JSON is targeted for the next release

@tvb
Copy link

tvb commented Mar 12, 2021

@jotompki does this mean it will clear the road for #93 ?

@PatMyron PatMyron pinned this issue Apr 14, 2021
@0xjjoyy
Copy link
Contributor

0xjjoyy commented Apr 29, 2021

Is junitxml output so we can integrate with CodeBuild reports also on the roadmap?

@dchakrav-github
Copy link
Contributor

Current set of output-formats supported as a part of PR #156. Supports JSON, YAML and SingleLine formats. Does not have XML or other representation support. Contributions welcome post PR merge :)

@priyap286 priyap286 added 2.0.3 2.0.3 release and removed release-2.0 Issues targeted to be implemented/fixed in the CloudFormation Guard 2.0 release labels Jun 28, 2021
@gandhek
Copy link
Contributor

gandhek commented Jun 28, 2021

We have released a new minor version of Guard 2.0 which supports various output formats that @dchakrav-github mentioned. You can find the newest version at - https://github.com/aws-cloudformation/cloudformation-guard/releases/tag/2.0.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.0.3 2.0.3 release enhancement New feature or request
Projects
Status: Shipped
Development

No branches or pull requests

10 participants