Skip to content

GCP Taggable Resources Missing #7629

Description

@jgpstuart

Describe the issue
There are resources in the GCP Terraform provider that allow labels but are not in the Checkov GCP taggable list. I suspect it is because some resources use other keys like user_labels or resource_labels.

Examples

  1. google_sql_database_instance: uses "user_labels" but is not in the list of GCP taggable resources in Checkov.
  2. google_container_cluster: uses "resource_labels" but is also not in the GCP taggable resources list.

Version (please complete the following information):

  • Checkov Version 3.3.8

Additional context
I'm evaluating IaC policy scanning tools and really like the "taggable" resources option, but noticed these gaps for GCP and am curious if this is intended or possibly an oversight. Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    checksCheck additions or changes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions