code: protected DateTime findMostRecentAttackTime(Event event, DetectionPoint configuredDetectionPoint) {
  		DateTime newest = DateUtils.epoch();
  
  		SearchCriteria criteria = new SearchCriteria().
  				setUser(event.getUser()).
  				setDetectionPoint(configuredDetectionPoint).
  				setDetectionSystemIds(appSensorServer.getConfiguration().getRelatedDetectionSystems(event.getDetectionSystem()));
  
  		Collection<Attack> attacks = appSensorServer.getAttackStore().findAttacks(criteria);
  
  		for (Attack attack : attacks) {
  			if (DateUtils.fromString(attack.getTimestamp()).isAfter(newest)) {
  				newest = DateUtils.fromString(attack.getTimestamp());
  			}
  		}
  
  		return newest;
  	}
docs: Find most recent {@link Attack} matching the given {@link Event} {@link User}, {@link DetectionPoint}
  matching the currently configured detection point (supporting multiple detection points per label),
  detection system and find it's timestamp.
  
  The {@link Event} should only be counted if they've occurred after the most recent {@link Attack}.
  
  @param event {@link Event} to use to find matching {@link Attack}s
  @param configuredDetectionPoint {@link DetectionPoint} to use to find matching {@link Attack}s
  @return timestamp representing last matching {@link Attack}, or -1L if not found