Aura.Model.HexAuditLog (Aura v0.9.0)
View SourceA struct describing a single auditable action from a Hex-compliant API.
Summary
Types
A short description of the action taken. (e.g "user.add"
, "key.generate"
)
A map of all the details of an audit_action/0
Type describing an auditable action coming from a Hex-compliant API.
The User-Agent
provided in the HTTP headers relevant to the audit_action/0
Types
@type audit_action() :: String.t()
A short description of the action taken. (e.g "user.add"
, "key.generate"
)
@type audit_params() :: map()
A map of all the details of an audit_action/0
@type t() :: %Aura.Model.HexAuditLog{ action: audit_action(), params: audit_params(), user_agent: user_agent() }
Type describing an auditable action coming from a Hex-compliant API.
🏷️ Keys
- action ::
audit_action/0
- params ::
audit_params/0
- user_agent ::
user_agent/0
@type user_agent() :: String.t()
The User-Agent
provided in the HTTP headers relevant to the audit_action/0