Project

General

Profile

Bug #358

Change TIssue createEvent()

Added by Randy Reitz over 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
Start date:
03/15/2010
Due date:
% Done:

0%

Estimated time:
2.00 h
Duration:

Description

In TIssue createEvent(), if a similar event is found (for machine_id, find event for same issue_code, source_code) and the event is remediated or closed with a timestamp that is after the detected timestamp, ignore the createEvent() request. This change is needed to handle non-real time detectors which can have a detected timestamp that is in the past from the current time. These non-real time detectors can detect an event which is subsequently remediated (closed). In this case, it's a mistake to create a new event.



Also available in: Atom PDF