Eunomia  0.1.0
A lightweight eBPF-based CloudNative Monitor tool for Container Security and Observability
process_rule_checker Class Reference

process rule: More...

#include <sec_analyzer.h>

Inheritance diagram for process_rule_checker:
Inheritance graph
Collaboration diagram for process_rule_checker:
Collaboration graph

Public Member Functions

virtual ~process_rule_checker ()=default
 
 process_rule_checker (std::shared_ptr< sec_analyzer > analyzer_ptr)
 
int check_rule (const tracker_event< process_event > &e, rule_message &msg)
 
- Public Member Functions inherited from rule_base< process_event >
 rule_base (std::shared_ptr< sec_analyzer > analyzer_ptr)
 
virtual ~rule_base ()=default
 
void handle (tracker_event< process_event > &e)
 implement this function to handle the event More...
 
- Public Member Functions inherited from event_handler< process_event >
virtual ~event_handler ()=default
 
std::shared_ptr< event_handler< process_event > > add_handler (std::shared_ptr< event_handler< process_event >> handler)
 add a next handler after this handler More...
 
void do_handle_event (tracker_event< process_event > &e)
 
- Public Member Functions inherited from event_handler_base< process_event >
virtual ~event_handler_base ()=default
 

Additional Inherited Members

- Public Attributes inherited from rule_base< process_event >
std::shared_ptr< sec_analyzeranalyzer
 
- Public Attributes inherited from event_handler< process_event >
std::shared_ptr< event_handler_base< process_event > > next_handler
 

Detailed Description

process rule:

for example, a specific process is running

Constructor & Destructor Documentation

◆ ~process_rule_checker()

virtual process_rule_checker::~process_rule_checker ( )
virtualdefault

◆ process_rule_checker()

process_rule_checker::process_rule_checker ( std::shared_ptr< sec_analyzer analyzer_ptr)
inline

Member Function Documentation

◆ check_rule()

int process_rule_checker::check_rule ( const tracker_event< process_event > &  e,
rule_message msg 
)
virtual

The documentation for this class was generated from the following file: