diff --git a/pkg/exprhelpers/exprlib.go b/pkg/exprhelpers/exprlib.go index af3034922..5de7114ac 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,