From 46aef691b97a80c565e5fe576b71554f10177102 Mon Sep 17 00:00:00 2001 From: vidyasagar-m Date: Thu, 9 Jan 2025 21:22:14 +0530 Subject: [PATCH] #3679 hide certificate, key and chain ca in AS3 response --- pkg/controller/postManager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/postManager.go b/pkg/controller/postManager.go index 8a2c6f084..8cc4d5675 100644 --- a/pkg/controller/postManager.go +++ b/pkg/controller/postManager.go @@ -638,7 +638,7 @@ func (postMgr *PostManager) getBigipRegKeyURL() string { func (postMgr *PostManager) logAS3Response(responseMap map[string]interface{}) { // removing the certificates/privateKey from response log - if declaration, ok := (responseMap["declaration"]).([]interface{}); ok { + if declaration, ok := (responseMap["declaration"]).(map[string]interface{}); ok { for _, value := range declaration { if tenantMap, ok := value.(map[string]interface{}); ok { for _, value2 := range tenantMap {