Skip to content

Commit

Permalink
Fix masked field removed
Browse files Browse the repository at this point in the history
  • Loading branch information
ramanan-ravi committed Oct 30, 2023
1 parent 2b10440 commit 181b58f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions output/publish-to-console.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 181b58f

Please sign in to comment.