Raxol.Audit.Events.AuthorizationEvent (Raxol v2.0.1)
View SourceAudit event for authorization decisions.
Summary
Types
@type outcome() :: :granted | :denied | :error
@type t() :: %Raxol.Audit.Events.AuthorizationEvent{ action: String.t(), denial_reason: String.t() | nil, event_id: String.t(), ip_address: String.t() | nil, metadata: map(), outcome: outcome(), permission: String.t() | nil, policy_evaluated: String.t() | nil, resource_id: String.t(), resource_type: String.t(), session_id: String.t() | nil, timestamp: integer(), user_id: String.t() }