From 181b58fed7bfb3e590aa2f63687616db88d6875b Mon Sep 17 00:00:00 2001 From: Ramanan Ravikumar Date: Mon, 30 Oct 2023 13:40:22 +0530 Subject: [PATCH] Fix masked field removed --- output/publish-to-console.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/output/publish-to-console.go b/output/publish-to-console.go index bc88766..6fbd9f8 100644 --- a/output/publish-to-console.go +++ b/output/publish-to-console.go @@ -2,19 +2,17 @@ package output import ( "bytes" + "context" "crypto/tls" "crypto/x509" "errors" "fmt" "net" "net/http" + "os" "strings" "time" - "context" - - "os" - dsc "github.com/deepfence/golang_deepfence_sdk/client" oahttp "github.com/deepfence/golang_deepfence_sdk/utils/http" log "github.com/sirupsen/logrus" @@ -258,7 +256,6 @@ func (p *Publisher) IngestSecretScanResults(scan_id string, secrets []SecretFoun s.SetRule(*rule) s.SetMatch(*match) s.SetSeverity(*severity) - s.SetMasked(false) s.SetScanId(scan_id) data = append(data, *s)