func NewAbnormalPathEvent(event *Event, pathResolutionError error) (*rules.Rule, *CustomEvent) {
	return newRule(&rules.RuleDefinition{
			ID: AbnormalPathRuleID,
		}), newCustomEvent(resolutionErrorToEventType(event.GetPathResolutionError()), AbnormalPathEvent{
			Timestamp:           event.ResolveEventTimestamp(),
			Event:               NewEventSerializer(event),
			PathResolutionError: pathResolutionError.Error(),
		}.MarshalJSON)
}
// NewAbnormalPathEvent returns the rule and a populated custom event for a abnormal_path event
NewAbnormalPathEvent returns the rule and a populated custom event for a abnormal_path event
// NewAbnormalPathEvent returns the rule and a populated custom event for a abnormal_path event
func NewAbnormalPathEvent(event *Event, pathResolutionError error) (*rules.Rule, *CustomEvent) {
	return newRule(&rules.RuleDefinition{
			ID: AbnormalPathRuleID,
		}), newCustomEvent(resolutionErrorToEventType(event.GetPathResolutionError()), AbnormalPathEvent{
			Timestamp:           event.ResolveEventTimestamp(),
			Event:               NewEventSerializer(event),
			PathResolutionError: pathResolutionError.Error(),
		}.MarshalJSON)
}
func NewAbnormalPathEvent ( event * Event , pathResolutionError error ) ( * rules . Rule , * CustomEvent ) { return newRule ( & rules . RuleDefinition { ID : AbnormalPathRuleID , } ) , newCustomEvent ( resolutionErrorToEventType ( event . GetPathResolutionError ( ) ) , AbnormalPathEvent { Timestamp : event . ResolveEventTimestamp ( ) , Event : NewEventSerializer ( event ) , PathResolutionError : pathResolutionError . Error ( ) , } . MarshalJSON ) }
NewAbnormalPathEvent returns the rule and a populated custom event for a abnormal_path event
NewAbnormalPathEvent returns the rule and a populated custom event for a abnormal_path event