From f86f3ecab73a06bdae5b574fa11f8fb88bf11505 Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 1 Jun 2021 12:54:50 +0200 Subject: [PATCH] Fix and improve minor issues --- intel/filterlists/module.go | 2 +- process/find.go | 2 +- profile/endpoints/endpoint.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/intel/filterlists/module.go b/intel/filterlists/module.go index e0908326..5753d941 100644 --- a/intel/filterlists/module.go +++ b/intel/filterlists/module.go @@ -107,6 +107,6 @@ func warnAboutDisabledFilterLists() { module.Warning( filterlistsDisabled, "Filter Lists Are Initializing", - "Filter lists are being downloaded and set up in the background. Until this initialization is finished, the filter lists are disabled and will not block anything.", + "Filter lists are being downloaded and set up in the background. They will be activated as configured when finished.", ) } diff --git a/process/find.go b/process/find.go index 4d9e54a4..e97779c0 100644 --- a/process/find.go +++ b/process/find.go @@ -27,7 +27,7 @@ func GetProcessByConnection(ctx context.Context, pktInfo *packet.Info) (process var pid int pid, connInbound, err = state.Lookup(pktInfo, fastSearch) if err != nil { - log.Tracer(ctx).Debugf("process: failed to find PID of connection: %s", err) + log.Tracer(ctx).Tracef("process: failed to find PID of connection: %s", err) return nil, pktInfo.Inbound, err } diff --git a/profile/endpoints/endpoint.go b/profile/endpoints/endpoint.go index 929a70eb..16849f3c 100644 --- a/profile/endpoints/endpoint.go +++ b/profile/endpoints/endpoint.go @@ -37,7 +37,7 @@ func (ep *EndpointBase) match(s fmt.Stringer, entity *intel.Entity, value, desc func (ep *EndpointBase) makeReason(s fmt.Stringer, value, desc string, keyval ...interface{}) Reason { r := &reason{ description: desc, - Filter: ep.renderPPP(s.String()), + Filter: s.String(), Permitted: ep.Permitted, Value: value, }