turbot / steampipe-plugin-googledirectory

Use SQL to instantly query users, groups, domains and more from Google Directory. Open source CLI. No DB required.
https://hub.steampipe.io/plugins/turbot/googledirectory
Apache License 2.0
11 stars 1 forks source link

Update Google Directory tables to return error if service API is disabled, instead of returning empty row #24

Closed Subhajit97 closed 2 years ago

Subhajit97 commented 2 years ago

Describe the bug googledirectory_* returning empty row, if the Admin SDK API is disabled.

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

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

To reproduce

Expected behavior If the resources can't exist because the API is disabled then return zero rows. But if resources can be created while the API is disabled then we should return an error.

Additional context N/A