Skip to content

Commit

Permalink
fix for hiding certificate, CA Chain and private keys from as3 response
Browse files Browse the repository at this point in the history
  • Loading branch information
vidyasagar-m committed Jan 15, 2025
1 parent 46aef69 commit 51fcbd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/agent/as3/postManager.go
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,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 {
Expand Down

0 comments on commit 51fcbd5

Please sign in to comment.