From b62fea622dcb154387d8c343c1519eef167fe466 Mon Sep 17 00:00:00 2001 From: James Xie Date: Tue, 22 Aug 2023 20:30:44 -0700 Subject: [PATCH] SUMO-225936:Terraform: bearer token displayed in plain text --- sumologic/resource_sumologic_connection.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sumologic/resource_sumologic_connection.go b/sumologic/resource_sumologic_connection.go index 77b80f69..c09844e4 100644 --- a/sumologic/resource_sumologic_connection.go +++ b/sumologic/resource_sumologic_connection.go @@ -55,8 +55,9 @@ func resourceSumologicConnection() *schema.Resource { Elem: &schema.Schema{ Type: schema.TypeString, }, - Optional: true, - Default: map[string]interface{}{}, + Optional: true, + Default: map[string]interface{}{}, + Sensitive: true, }, "custom_headers": { Type: schema.TypeMap,