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

Output as Yaml or JSON? #22

Closed
ChrisCooney opened this issue Apr 14, 2019 · 1 comment
Closed

Output as Yaml or JSON? #22

ChrisCooney opened this issue Apr 14, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@ChrisCooney
Copy link




Is your feature request related to a problem? Please describe.
I wanted to use this tool as part of a regular set of scans that run against our cluster. We could then output the logs of this scan to an elasticsearch instance and visualise the current (and previous) score of our cluster.

Describe the solution you'd like
The kubectl CLI provides a -o flag that allows yaml, json, wide etc. Outputting the contents of the report into a parseable format like yaml or json would be perfect.

Describe alternatives you've considered
I played around with some sed scripts but it felt a little hacky.

Additional context

@derailed derailed added the enhancement New feature or request label Apr 16, 2019
@derailed
Copy link
Owner

@ChrisCooney Thank you for your report! I've added json/yaml output and you should be able to run Popeye in cluster too depending on your scenario. Can you give 0.3.3 a try and see if that helped? Tx!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants