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

sec analyzer manager More...

#include <sec_analyzer.h>

Inheritance diagram for sec_analyzer:
Inheritance graph
Collaboration diagram for sec_analyzer:
Collaboration graph

Public Member Functions

 sec_analyzer (const std::vector< sec_rule_describe > &in_rules)
 
virtual ~sec_analyzer ()=default
 
virtual void report_event (const rule_message &msg)
 
void print_event (const rule_message &msg)
 

Static Public Member Functions

static std::shared_ptr< sec_analyzercreate_sec_analyzer_with_default_rules (void)
 
static std::shared_ptr< sec_analyzercreate_sec_analyzer_with_additional_rules (const std::vector< sec_rule_describe > &rules)
 

Public Attributes

std::mutex mutex
 
const std::vector< sec_rule_describerules
 

Detailed Description

sec analyzer manager

Constructor & Destructor Documentation

◆ sec_analyzer()

sec_analyzer::sec_analyzer ( const std::vector< sec_rule_describe > &  in_rules)
inline

◆ ~sec_analyzer()

virtual sec_analyzer::~sec_analyzer ( )
virtualdefault

Member Function Documentation

◆ create_sec_analyzer_with_additional_rules()

std::shared_ptr< sec_analyzer > sec_analyzer::create_sec_analyzer_with_additional_rules ( const std::vector< sec_rule_describe > &  rules)
static
Here is the caller graph for this function:

◆ create_sec_analyzer_with_default_rules()

std::shared_ptr< sec_analyzer > sec_analyzer::create_sec_analyzer_with_default_rules ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ print_event()

void sec_analyzer::print_event ( const rule_message msg)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ report_event()

void sec_analyzer::report_event ( const rule_message msg)
virtual

Reimplemented in sec_analyzer_prometheus.

Here is the call graph for this function:

Member Data Documentation

◆ mutex

std::mutex sec_analyzer::mutex

◆ rules

const std::vector<sec_rule_describe> sec_analyzer::rules

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