diff --git a/providers/azure/resources/keyvault.go b/providers/azure/resources/keyvault.go index fd70551717..77907c2447 100644 --- a/providers/azure/resources/keyvault.go +++ b/providers/azure/resources/keyvault.go @@ -350,7 +350,7 @@ func (a *mqlAzureSubscriptionKeyVaultServiceKey) versions() ([]interface{}, erro for _, entry := range page.Value { mqlAzure, err := CreateResource(a.MqlRuntime, "azure.subscription.keyVaultService.key", map[string]*llx.RawData{ - "kid": llx.StringData(convert.ToString((*string)(entry.KID))), + "kid": llx.StringDataPtr((*string)(entry.KID)), "managed": llx.BoolDataPtr(entry.Managed), "tags": llx.MapData(convert.PtrMapStrToInterface(entry.Tags), types.String), "enabled": llx.BoolDataPtr(entry.Attributes.Enabled), diff --git a/providers/azure/resources/resources.go b/providers/azure/resources/resources.go index ccaf060c56..5074d37ed5 100644 --- a/providers/azure/resources/resources.go +++ b/providers/azure/resources/resources.go @@ -69,8 +69,8 @@ func (a *mqlAzureSubscription) resources() ([]interface{}, error) { "plan": llx.DictData(plan), "identity": llx.DictData(identity), "provisioningState": llx.StringDataPtr(resource.ProvisioningState), - "createdTime": llx.TimeData(*resource.CreatedTime), - "changedTime": llx.TimeData(*resource.ChangedTime), + "createdTime": llx.TimeDataPtr(resource.CreatedTime), + "changedTime": llx.TimeDataPtr(resource.ChangedTime), }) if err != nil { return nil, err diff --git a/providers/azure/resources/sql.go b/providers/azure/resources/sql.go index 1a44685dd0..720148055a 100644 --- a/providers/azure/resources/sql.go +++ b/providers/azure/resources/sql.go @@ -136,7 +136,7 @@ func (a *mqlAzureSubscriptionSqlServiceServer) databases() ([]interface{}, error "name": llx.StringDataPtr(entry.Name), "type": llx.StringDataPtr(entry.Type), "collation": llx.StringDataPtr(entry.Properties.Collation), - "creationDate": llx.TimeData(*entry.Properties.CreationDate), + "creationDate": llx.TimeDataPtr(entry.Properties.CreationDate), "databaseId": llx.StringDataPtr(entry.Properties.DatabaseID), "createMode": llx.StringData(convert.ToString((*string)(entry.Properties.CreateMode))), "sourceDatabaseId": llx.StringDataPtr(entry.Properties.SourceDatabaseID),