Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

Add table turbot_resource_count #38

Open
Joeturbot opened this issue Feb 9, 2022 · 2 comments
Open

Add table turbot_resource_count #38

Joeturbot opened this issue Feb 9, 2022 · 2 comments
Labels
enhancement New feature or request new table New table request

Comments

@Joeturbot
Copy link
Contributor

Joeturbot commented Feb 9, 2022

Description
Sometimes, we want to get a count of a set of resources in Turbot without having to pull over every resource to do the count steampipe-side. Turbot's resources GraphQL API queries have a metadata.stats.total section that includes count data. However, a column for metadata counts in the normal turbot_resource table has been deemed inapproriate (and I agree). This ticket requests the creation of a turbot_resource_count table that exclusively returns the metadata.stats.total.

  resources(filter: $filter, paging: $paging) {
    metadata {
      stats {
        total
      }
    }

References
Resource Counts in the turbot_notification table

If this implementation is successful, additional tables for turbot_control_count, and turbot_notification_count will be requested.

@Joeturbot Joeturbot added enhancement New feature or request new table New table request labels Feb 9, 2022
@github-actions
Copy link

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.

@github-actions github-actions bot added the stale No recent activity has been detected on this issue/PR and it will be closed label Apr 28, 2022
@github-actions
Copy link

This issue was closed because it has been stalled for 90 days with no activity.

@Joeturbot Joeturbot reopened this Jun 19, 2023
@ParthaI ParthaI removed the stale No recent activity has been detected on this issue/PR and it will be closed label Jun 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request new table New table request
Projects
None yet
Development

No branches or pull requests

2 participants