diff --git a/pkg/exprhelpers/exprlib.go b/pkg/exprhelpers/exprlib.go index af303492251..5de7114ac39 100644 --- a/pkg/exprhelpers/exprlib.go +++ b/pkg/exprhelpers/exprlib.go @@ -64,6 +64,7 @@ func GetExprEnv(ctx map[string]interface{}) map[string]interface{} { "XMLGetNodeValue": XMLGetNodeValue, "IpToRange": IpToRange, "IsIPV6": IsIPV6, + "LookupHost": net.LookupHost, "GetDecisionsCount": GetDecisionsCount, "GetDecisionsSinceCount": GetDecisionsSinceCount, "Sprintf": fmt.Sprintf,