1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
//! Audit logging and compliance for Armature
//!
//! This crate provides comprehensive audit logging for security, compliance,
//! and operational tracking.
//!
//! # Features
//!
//! - **Audit Events** - Structured audit event logging
//! - **Request/Response Logging** - HTTP payload logging
//! - **Data Masking** - Automatic PII/sensitive data masking
//! - **Retention Policies** - Automatic log cleanup
//! - **Multiple Backends** - File, JSON, database storage
//! - **Filtering** - Configurable event filtering
//!
//! # Quick Start
//!
//! ```no_run
//! use armature_audit::*;
//!
//! # async fn example() -> Result<(), Box<dyn std::error::Error>> {
//! // Create audit logger
//! let audit = AuditLogger::builder()
//! .backend(FileBackend::new("audit.log"))
//! .build();
//!
//! // Log an event
//! audit.log(AuditEvent::new("user.login")
//! .user("alice")
//! .resource("system")
//! .action("authenticate")
//! .status(AuditStatus::Success)).await?;
//! # Ok(())
//! # }
//! ```
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;