public interface IntrusionDetector
The interface is currently designed to accept exceptions as well as custom events. Implementations can use this stream of information to detect both normal and abnormal behavior.
Modifier and Type | Method and Description |
---|---|
void |
addEvent(String eventName,
String logMessage)
Adds the event to the IntrusionDetector.
|
void |
addException(Exception exception)
Adds the exception to the IntrusionDetector.
|
void addException(Exception exception) throws IntrusionException
exception
- the exception thrownIntrusionException
- the intrusion exceptionvoid addEvent(String eventName, String logMessage) throws IntrusionException
eventName
- the event to addlogMessage
- the message to log with the eventIntrusionException
- the intrusion exceptionCopyright © 2023 The Open Worldwide Application Security Project (OWASP). All rights reserved.