if (calendar == null) {
log.error("can't parse logline (timestamp): " + entry);
return null;
}
SecurityEvent event = new SecurityEvent();
event.setWafRule(rule);
event.setImportTime(calendar);
event.setLogText(csvFreeText);
event.setAttackType("deny");
//if (csvRulesetMode == WAF_LOG_MODE_PROTECTION)
//{
// event.setAttackType("deny");
//} else {
// event.setAttackType("log");
//}
event.setNativeId(nativeId);
event.setAttackerIP(csvClientIP);
return event;
}
} catch (IOException e) {