From bdcf499f227f9a3b92b3d03423155af3fd764004 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 18 May 2020 15:25:08 +0200 Subject: [PATCH] Fix domain endpoint reason message --- profile/endpoints/endpoint-domain.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profile/endpoints/endpoint-domain.go b/profile/endpoints/endpoint-domain.go index fbd0dcf9..3cc3450f 100644 --- a/profile/endpoints/endpoint-domain.go +++ b/profile/endpoints/endpoint-domain.go @@ -31,7 +31,7 @@ type EndpointDomain struct { } func (ep *EndpointDomain) check(entity *intel.Entity, domain string) (EPResult, Reason) { - result, reason := ep.match(ep, entity, ep.Domain, "domain matches") + result, reason := ep.match(ep, entity, ep.OriginalValue, "domain matches") switch ep.MatchType { case domainMatchTypeExact: