Raxol.Audit.Events.AuthenticationEvent (Raxol v2.0.1)
View SourceAudit event for authentication attempts.
Summary
Types
@type authentication_method() ::
:password | :sso | :api_key | :certificate | :biometric
@type outcome() :: :success | :failure | :locked | :expired
@type t() :: %Raxol.Audit.Events.AuthenticationEvent{ authentication_method: authentication_method(), enriched_at: integer() | nil, environment: String.t() | nil, event_id: String.t(), failure_reason: String.t() | nil, ip_address: String.t(), metadata: map(), mfa_used: boolean(), node: atom() | nil, outcome: outcome(), session_id: String.t() | nil, signature: String.t() | nil, timestamp: integer(), user_agent: String.t() | nil, user_id: String.t() | nil, username: String.t(), version: String.t() | nil }