Eunomia
0.1.0
A lightweight eBPF-based CloudNative Monitor tool for Container Security and Observability
|
sec analyzer manager with prometheus exporter More...
#include <sec_analyzer.h>
Public Member Functions | |
void | report_prometheus_event (const struct rule_message &msg) |
void | report_event (const rule_message &msg) |
sec_analyzer_prometheus (prometheus_server &server, const std::vector< sec_rule_describe > &rules) | |
Public Member Functions inherited from sec_analyzer | |
sec_analyzer (const std::vector< sec_rule_describe > &in_rules) | |
virtual | ~sec_analyzer ()=default |
void | print_event (const rule_message &msg) |
Static Public Member Functions | |
static std::shared_ptr< sec_analyzer > | create_sec_analyzer_with_default_rules (prometheus_server &server) |
static std::shared_ptr< sec_analyzer > | create_sec_analyzer_with_additional_rules (const std::vector< sec_rule_describe > &rules, prometheus_server &server) |
Static Public Member Functions inherited from sec_analyzer | |
static std::shared_ptr< sec_analyzer > | create_sec_analyzer_with_default_rules (void) |
static std::shared_ptr< sec_analyzer > | create_sec_analyzer_with_additional_rules (const std::vector< sec_rule_describe > &rules) |
Additional Inherited Members | |
Public Attributes inherited from sec_analyzer | |
std::mutex | mutex |
const std::vector< sec_rule_describe > | rules |
sec analyzer manager with prometheus exporter
sec_analyzer_prometheus::sec_analyzer_prometheus | ( | prometheus_server & | server, |
const std::vector< sec_rule_describe > & | rules | ||
) |
|
static |
|
static |
|
virtual |
void sec_analyzer_prometheus::report_prometheus_event | ( | const struct rule_message & | msg | ) |