kubescape / kubescape

Kubescape is an open-source Kubernetes security platform for your IDE, CI/CD pipelines, and clusters. It includes risk analysis, security, compliance, and misconfiguration scanning, saving Kubernetes users and administrators precious time, effort, and resources.
https://kubescape.io
Apache License 2.0
9.99k stars 833 forks source link

disable-color has no effect #1711

Open lusitania opened 2 weeks ago

lusitania commented 2 weeks ago

Description

Invoking a scan with disable-color

$ kubectl kubescape scan --kube-context dev --verbose --disable-color

leaves me with unreadable output

Screenshot 2024-07-08 at 12 09 05

Environment

OS: Macos Sonoma 14.5, iTerm 3.5.3 Version: v3.0.3 (fresh install via krew, as documented)

Steps To Reproduce

Run the command

Expected behavior

No colour codes in output.

Actual Behavior

Coloured, unreadable output

matthyx commented 2 weeks ago

@lusitania it looks like our publishing action to krew hasn't worked for several months... resulting in an outdated Kubescape version in krew. While I'm fixing that, would you mind trying again with https://github.com/kubescape/kubescape/releases/tag/v3.0.13

lusitania commented 2 weeks ago

While I'm fixing that, would you mind trying again with https://github.com/kubescape/kubescape/releases/tag/v3.0.13

Sure. I've downloaded the arm64-macos-latest of v3.0.13. Same result, as in the screenshot.