Open peterloron opened 7 months ago
Running kubeaudit 0.22 and selecting JSON output, I get a series of JSON formatted lines. However, when taken together, this output is not a valid JSON document.
This is the output I get:
{"AuditResultName":"RunAsUserCSCRoot","Container":"backup"...} {"AuditResultName":"RunAsUserCSCRoot","Container":"init-set-owner"...} {"AuditResultName":"AllowPrivilegeEscalationNil","Container":"backup"...}
What needs to be output is something like this:
{ "results": [ {"AuditResultName":"RunAsUserCSCRoot","Container":"backup"...}, {"AuditResultName":"RunAsUserCSCRoot","Container":"init-set-owner"...}, {"AuditResultName":"AllowPrivilegeEscalationNil","Container":"backup"...} ]}
Running kubeaudit 0.22 and selecting JSON output, I get a series of JSON formatted lines. However, when taken together, this output is not a valid JSON document.
This is the output I get:
What needs to be output is something like this: