mirror of
https://github.com/kubeshark/kubeshark.git
synced 2026-01-21 21:53:57 +00:00
Update consts.go, messageSensitiveDataCleaner.go, and tap.go
This commit is contained in:
@@ -7,4 +7,4 @@ var personallyIdentifiableDataFields = []string{"token", "authorization", "authe
|
||||
"username", "user", "key", "passcode", "pass", "auth", "authtoken", "jwt",
|
||||
"bearer", "clientid", "clientsecret", "redirecturi", "phonenumber",
|
||||
"zip", "zipcode", "address", "country", "firstname", "lastname",
|
||||
"middlename", "fname", "lname", "birthdate", "title"}
|
||||
"middlename", "fname", "lname", "birthdate"}
|
||||
|
||||
@@ -3,13 +3,13 @@ package sensitiveDataFiltering
|
||||
import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"github.com/up9inc/mizu/shared"
|
||||
"mizuserver/pkg/tap"
|
||||
"net/url"
|
||||
"strings"
|
||||
|
||||
"github.com/beevik/etree"
|
||||
"github.com/google/martian/har"
|
||||
"github.com/up9inc/mizu/shared"
|
||||
)
|
||||
|
||||
func FilterSensitiveInfoFromHarRequest(harOutputItem *tap.OutputChannelItem, options *shared.TrafficFilteringOptions) {
|
||||
|
||||
Reference in New Issue
Block a user