ironpost_core/
lib.rs

1#![doc = include_str!("../README.md")]
2
3pub mod config;
4pub mod error;
5pub mod event;
6pub mod metrics;
7pub mod pipeline;
8pub mod plugin;
9pub mod types;
10
11// --- 주요 타입 re-export ---
12// 각 모듈의 핵심 타입을 크레이트 루트에서 바로 사용할 수 있도록 합니다.
13
14// 에러
15pub use error::{
16    ConfigError, ContainerError, DetectionError, IronpostError, ParseError, PipelineError,
17    PluginError, SbomError, StorageError,
18};
19
20// 설정
21pub use config::IronpostConfig;
22
23// 이벤트
24pub use event::{
25    ActionEvent, AlertEvent, EVENT_TYPE_ACTION, EVENT_TYPE_ALERT, EVENT_TYPE_LOG,
26    EVENT_TYPE_PACKET, EVENT_TYPE_SCAN, Event, EventMetadata, LogEvent, MODULE_CONTAINER_GUARD,
27    MODULE_EBPF, MODULE_LOG_PIPELINE, MODULE_SBOM_SCANNER, PacketEvent,
28};
29
30// 파이프라인 trait
31pub use pipeline::{
32    BoxFuture, Detector, DynPipeline, HealthStatus, LogParser, Pipeline, PolicyEnforcer,
33};
34
35// 플러그인 시스템
36pub use plugin::{DynPlugin, Plugin, PluginInfo, PluginRegistry, PluginState, PluginType};
37
38// 도메인 타입
39pub use types::{Alert, ContainerInfo, LogEntry, PacketInfo, Severity, Vulnerability};
40
41// 메트릭 상수 (모듈 전체를 노출)
42pub use metrics as metric_names;