Eunomia
0.1.0
A lightweight eBPF-based CloudNative Monitor tool for Container Security and Observability
|
base class for securiy rules detect handler More...
#include <sec_analyzer.h>
Public Member Functions | |
rule_base (std::shared_ptr< sec_analyzer > analyzer_ptr) | |
virtual | ~rule_base ()=default |
virtual int | check_rule (const tracker_event< EVNET > &e, rule_message &msg)=0 |
void | handle (tracker_event< EVNET > &e) |
implement this function to handle the event More... | |
Public Member Functions inherited from event_handler< EVNET > | |
virtual | ~event_handler ()=default |
std::shared_ptr< event_handler< EVNET > > | add_handler (std::shared_ptr< event_handler< EVNET >> handler) |
add a next handler after this handler More... | |
void | do_handle_event (tracker_event< EVNET > &e) |
Public Member Functions inherited from event_handler_base< EVNET > | |
virtual | ~event_handler_base ()=default |
Public Attributes | |
std::shared_ptr< sec_analyzer > | analyzer |
Public Attributes inherited from event_handler< EVNET > | |
std::shared_ptr< event_handler_base< EVNET > > | next_handler |
base class for securiy rules detect handler
|
inline |
|
pure virtual |
Implemented in syscall_rule_checker, process_rule_checker, and files_rule_checker.
|
inlinevirtual |
implement this function to handle the event
Implements event_handler< EVNET >.
std::shared_ptr<sec_analyzer> rule_base< EVNET >::analyzer |