Skip to content

Commit db459c9

Browse files
authored
feat: add labels and tags columns to gcp_compute_global_forwarding_rule table (#678)
1 parent 33cf0a6 commit db459c9

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

gcp/table_gcp_compute_global_forwarding_rule.go

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,19 @@ func tableGcpComputeGlobalForwardingRule(ctx context.Context) *plugin.Table {
160160
Description: "A list of ports can be configured.",
161161
Type: proto.ColumnType_JSON,
162162
},
163+
{
164+
Name: "labels",
165+
Description: "A list of labels attached to this resource.",
166+
Type: proto.ColumnType_JSON,
167+
},
163168

164169
// standard steampipe columns
170+
{
171+
Name: "tags",
172+
Description: ColumnDescriptionTags,
173+
Type: proto.ColumnType_JSON,
174+
Transform: transform.FromField("Labels"),
175+
},
165176
{
166177
Name: "title",
167178
Description: ColumnDescriptionTitle,

0 commit comments

Comments
 (0)