turbot / steampipe-plugin-gcp

Use SQL to instantly query GCP resources across regions, projects and organizations. Open source CLI. No DB required.
https://hub.steampipe.io/plugins/turbot/gcp
Apache License 2.0
39 stars 25 forks source link

gcp_cloudfunctions_function is missing some of the column values. #579

Closed ashutoshmore658 closed 2 months ago

ashutoshmore658 commented 4 months ago

Description of the bug

After fixing the plugin for fetching GEN-2 cloud functions from vpc, gcp_cloudfunctions_function table for gcp plugin is missing some column values. They are following below.

  1. Status
  2. Run Time
  3. Available Memory
  4. Build Id
  5. Entry Point
  6. Https Triggers
  7. Ingress Settings
  8. Max Instances
  9. Service Account Email
  10. Source Upload URL
  11. Timeout

Steampipe version Steampipe v0.22.2

GCP Plugin version GCP Plugin v0.51.1

To reproduce We can reproduce this issue by simply querying GCP Cloud Functions :

steampipe query select * from gcp.gcp_cloudfunctions_function

Expected behavior It is expected that all mentioned columns are populated when querying GCP Cloud Functions, both for GEN-1 and GEN-2 Cloud Functions.

Additional context Images which proves this issue. Screenshot from 2024-05-12 21-45-05 Screenshot from 2024-05-12 21-48-12 Screenshot from 2024-05-12 21-47-49 Screenshot from 2024-05-12 21-47-22 Screenshot from 2024-05-12 21-46-50 Screenshot from 2024-05-12 21-46-31 Screenshot from 2024-05-12 21-46-00 Screenshot from 2024-05-12 21-45-41

ashutoshmore658 commented 4 months ago

@misraved or @bigdatasourav, If you could please allocate this issue to me, as I know how to resolve this issue.

ashutoshmore658 commented 4 months ago

@misraved could you please assign this to me ?

ashutoshmore658 commented 4 months ago

@ParthaI Thank you, raising the fix asap.

github-actions[bot] commented 2 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

misraved commented 2 months ago

Addressed in https://github.com/turbot/steampipe-plugin-gcp/pull/590