turbot / steampipe-plugin-turbot

Use SQL to instantly query the Turbot CMDB. Open source CLI. No DB required.
https://hub.steampipe.io/plugins/turbot/turbot
Apache License 2.0
8 stars 1 forks source link

Add table turbot_mod_version #27

Closed Joeturbot closed 2 years ago

Joeturbot commented 2 years ago

Is your feature request related to a problem? Please describe. Verifying that Installed Mods are up-to-date is an important part of verifying workspace health. A regular turbot_resource query will get the installed mods. Discovery of the current Recommended version isn't currently possible through Steampipe.

Describe the solution you'd like A new table for available mod version, perhaps called turbot_mod_versions. Should be able to search by modName, OrgName, free text search and status.

Describe alternatives you've considered There is no alternative, other than to go look in the Turbot console for this information.

Additional context The table should represent the same descriptive power as this query (pulled from the Turbot console).

query modVersionSearchByName {
  modVersionSearches(search: "", modName: "aws", orgName: "turbot", status: AVAILABLE) {
    items {
      identityName
      name
      versions {
        status
        version
      }
    }
  }
}