pub enum AuditEventType {
Show 22 variants
CaStart,
CaStop,
CaHealthChange,
EnrollRequest,
CertIssue,
CertReenroll,
EnrollReject,
CertRevoke,
CrlGenerate,
KeyGenerate,
KeyLoad,
KeyDestroy,
OtpCreate,
OtpUse,
OtpExpire,
OtpRevoke,
AuthSuccess,
AuthFailure,
AdminLogin,
AdminLogout,
AdminAction,
SecurityViolation,
}Expand description
Every auditable operation the server can perform.
NIAP CA PP FAU_GEN.1: the following categories of events MUST be auditable:
- Certificate lifecycle (enrollment, re-enrollment, rejection, revocation)
- Key management (generation, destruction, HSM operations)
- OTP lifecycle (creation, usage, expiration, revocation)
- Authentication events (success, failure)
- Administrative operations (login, logout, config changes)
- CA health status changes
Variants§
CaStart
CA started or restarted.
CaStop
CA stopped (graceful shutdown).
CaHealthChange
CA health status changed (degraded, recovered).
EnrollRequest
Certificate enrollment request received.
CertIssue
Certificate issued successfully.
CertReenroll
Certificate re-enrollment completed.
EnrollReject
Enrollment request rejected.
CertRevoke
Certificate revoked.
CrlGenerate
CRL generated.
KeyGenerate
Signing key generated (software or HSM).
KeyLoad
Signing key loaded from file or HSM.
KeyDestroy
Key destroyed or deactivated.
OtpCreate
OTP created by administrator.
OtpUse
OTP used for enrollment authentication.
OtpExpire
OTP expired (TTL reached).
OtpRevoke
OTP revoked by administrator.
AuthSuccess
Client authentication succeeded (mTLS, OTP, Basic, etc.).
AuthFailure
Client authentication failed.
AdminLogin
Admin operator logged in.
AdminLogout
Admin operator logged out.
AdminAction
Admin performed a privileged operation.
SecurityViolation
Security violation detected (repeated auth failures, etc.).
Implementations§
Trait Implementations§
Source§impl Clone for AuditEventType
impl Clone for AuditEventType
Source§fn clone(&self) -> AuditEventType
fn clone(&self) -> AuditEventType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AuditEventType
impl Debug for AuditEventType
Source§impl PartialEq for AuditEventType
impl PartialEq for AuditEventType
impl Copy for AuditEventType
impl Eq for AuditEventType
impl StructuralPartialEq for AuditEventType
Auto Trait Implementations§
impl Freeze for AuditEventType
impl RefUnwindSafe for AuditEventType
impl Send for AuditEventType
impl Sync for AuditEventType
impl Unpin for AuditEventType
impl UnsafeUnpin for AuditEventType
impl UnwindSafe for AuditEventType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more