mirror of
https://github.com/unpoller/unpoller.git
synced 2026-04-05 08:54:00 -04:00
add missing commit
This commit is contained in:
@@ -156,10 +156,10 @@ func redactEvent(e *unifi.Event, hash *bool, dropPII *bool) *unifi.Event {
|
||||
e.SrcMAC = ""
|
||||
} else {
|
||||
// hash it
|
||||
e.Host = RedactNamePII(e.Host, hash)
|
||||
e.Hostname = RedactNamePII(e.Hostname, hash)
|
||||
e.DstMAC = RedactMacPII(e.DstMAC, hash)
|
||||
e.SrcMAC = RedactMacPII(e.SrcMAC, hash)
|
||||
e.Host = RedactNamePII(e.Host, hash, dropPII)
|
||||
e.Hostname = RedactNamePII(e.Hostname, hash, dropPII)
|
||||
e.DstMAC = RedactMacPII(e.DstMAC, hash, dropPII)
|
||||
e.SrcMAC = RedactMacPII(e.SrcMAC, hash, dropPII)
|
||||
}
|
||||
|
||||
return e
|
||||
|
||||
Reference in New Issue
Block a user