turbot / steampipe-plugin-wiz

Use SQL to instantly query Wiz resources. Open source CLI. No DB required.
https://hub.steampipe.io/plugins/turbot/wiz
Apache License 2.0
3 stars 1 forks source link

We see STerr in the CSV results, it should be an error (in the stderr) #42

Open Dor-Swisa opened 2 weeks ago

Dor-Swisa commented 2 weeks ago

Describe the bug We see STerr in the CSV results, it should be an error (in the stderr)

Steampipe version (steampipe -v) Example: v0.21.2

Plugin version (steampipe plugin list) Example: v0.3.0

To reproduce Run the plugin with the wrong credentials and see that the errors are written in the stdout

Expected behavior The error will be written in the stderr

Additional context Add any other context about the problem here.

ParthaI commented 1 week ago

Hello @Dor-Swisa, I’m sorry to hear you're encountering this issue. Could you please try running the queries again after updating the Steampipe CLI to the latest version? Let us know if the error still persists. Thanks!

Dor-Swisa commented 1 week ago

Thanks, @ParthaI for the quick answer, I want to use the plugin itself (Binary) without the CLI, when doing soo all the errors are shown in the stdout instead of stderr.

What do yu think I should do

ParthaI commented 1 week ago

Hi @Dor-Swisa, yes, please try running the query after installing the Steampipe CLI. I'd like to confirm whether the issue is related to the plugin build or the Steampipe CLI itself, as errors can sometimes occur due to a faulty build.

Dor-Swisa commented 1 week ago

It happen to me only in the plugin, it looks good in the CLI