datreeio / datree

Prevent Kubernetes misconfigurations from reaching production (again 😤 )! From code to cloud, Datree provides an E2E policy enforcement solution to run automatic checks for rule violations. See our docs: https://hub.datree.io
https://datree.io
Apache License 2.0
6.39k stars 363 forks source link

Verbose by default #714

Open shimont opened 2 years ago

shimont commented 2 years ago

Describe the solution you'd like I would like to see the "How to Fix" link for every failed rule.

Describe alternatives you've considered Altering every datree run to include the --verbose flag

eyarz commented 2 years ago

We thought about that. The conclusion is the only way to do that will be to change the CLI behavior as follow - after signing up, the user will get the verbose flag by default.

The problem is that from the user perspective, this can be unclear why the default behavior of verbose got changed. @adifay WDYT?

adifayer commented 2 years ago

In order to prevent the confusion, I suggest to provide an option to control whether verbose should be included by default in each datree run (via the dashboard and the CLI). @eyarz WDYT? 🤗

eyarz commented 2 years ago

I like the idea. The user should decide the behavior (verbose on/off), but we can make it easier to change the default behavior via the dashboard or the config file. @shimont will this concept answer the need you described in your issue?