-
Notifications
You must be signed in to change notification settings - Fork 821
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
Added support for YAML as an output format #1401
Added support for YAML as an output format #1401
Conversation
@craigbox this YAML output will not be aligned with the Kubescape-Operator YAML format, is this ok by you? |
update the issue to point out the differences and let's see if it can be
fixed
…On Sun, Oct 1, 2023 at 8:48 PM David Wertenteil ***@***.***> wrote:
@craigbox <https://github.com/craigbox> this YAML output will not be
aligned with the Kubescape-Operator YAML format, is this ok by you?
—
Reply to this email directly, view it on GitHub
<#1401 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABALHTBGKKN72TBDMIC3QLX5EN3ZANCNFSM6AAAAAA5NSJ7V4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@VaibhavMalik4187 Thank you for contributing :) |
This commit adds the support for using yaml as an output format to store the reports. For Example: kubescape scan image nginx -f yaml The report will be stored in the "report.yaml" file. Fixes: kubescape#1395 Signed-off-by: VaibhavMalik4187 <vaibhavmalik2018@gmail.com>
780ed97
to
f64586a
Compare
I tried looking for instances of yaml in the Kubescape-Operator codebase using the following command: Didn't get a lot of data but I noticed that |
just converting the JSON to a yaml doesn't bring any value to the user |
This commit adds the support for using yaml as an output format to store the reports.
For Example: kubescape scan image nginx -f yaml
The report will be stored in the "report.yaml" file.
Fixes: #1395
Screenshot