diff --git a/pkg/query-service/model/v3/v3.go b/pkg/query-service/model/v3/v3.go index d2f8f45fa5..e323f7e47c 100644 --- a/pkg/query-service/model/v3/v3.go +++ b/pkg/query-service/model/v3/v3.go @@ -293,7 +293,7 @@ func (a AttributeKey) Validate() error { if a.IsColumn { switch a.Type { - case AttributeKeyTypeResource, AttributeKeyTypeTag: + case AttributeKeyTypeResource, AttributeKeyTypeTag, AttributeKeyTypeUnspecified: break default: return fmt.Errorf("invalid attribute type: %s", a.Type)