Skip to main content

rustfs_audit/
lib.rs

1//  Copyright 2024 RustFS Team
2//
3//  Licensed under the Apache License, Version 2.0 (the "License");
4//  you may not use this file except in compliance with the License.
5//  You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9//  Unless required by applicable law or agreed to in writing, software
10//  distributed under the License is distributed on an "AS IS" BASIS,
11//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12//  See the License for the specific language governing permissions and
13//  limitations under the License.
14
15//! RustFS Audit System
16//!
17//! This crate provides a comprehensive audit logging system with multi-target fan-out capabilities,
18//! configuration management, and hot reload functionality. It is modeled after the notify system
19//! but specifically designed for audit logging requirements.
20
21pub mod entity;
22pub mod error;
23pub mod factory;
24pub mod global;
25pub mod observability;
26pub mod pipeline;
27pub mod registry;
28pub mod system;
29
30pub use entity::{ApiDetails, AuditEntry, ObjectVersion};
31pub use error::{AuditError, AuditResult};
32pub use global::*;
33pub use observability::{AuditMetrics, AuditMetricsReport, PerformanceValidation};
34pub use pipeline::{AuditPipeline, AuditRuntimeFacade, AuditRuntimeView};
35pub use registry::AuditRegistry;
36pub use system::{AuditSystem, AuditTargetMetricSnapshot};