From 58f0545faa251f7349078fa6f874d785b9441b5e Mon Sep 17 00:00:00 2001 From: vjeffrey Date: Wed, 6 Sep 2023 10:17:18 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20add=20log=20msg=20to=20bigquery?= =?UTF-8?q?=20tables=20fetching=20(#1652)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/packs/gcp/bigquery.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/packs/gcp/bigquery.go b/resources/packs/gcp/bigquery.go index e520d17464..0629c9fe0a 100644 --- a/resources/packs/gcp/bigquery.go +++ b/resources/packs/gcp/bigquery.go @@ -7,6 +7,7 @@ import ( "time" "cloud.google.com/go/bigquery" + "github.com/rs/zerolog/log" "go.mondoo.com/cnquery/resources" "go.mondoo.com/cnquery/resources/packs/core" "google.golang.org/api/iterator" @@ -262,6 +263,7 @@ func (g *mqlGcpProjectBigqueryServiceDataset) GetTables() ([]interface{}, error) if err != nil { return nil, err } + log.Debug().Msgf("fetching metadata for table %s", table.FullyQualifiedName()) metadata, err := table.Metadata(ctx) if err != nil {