Coffrify. Resources. Audit
(Coffrify v0.9.0)
View Source
Audit log — every privileged action in the workspace.
Summary
Types
@type list_opts() :: [ action: String.t(), actor_id: String.t(), resource_type: String.t(), since: String.t() | DateTime.t(), until: String.t() | DateTime.t(), limit: pos_integer(), offset: non_neg_integer() ]
Functions
@spec export( Coffrify.t(), keyword() ) :: {:ok, map()} | {:error, Exception.t()}
Trigger an audit export — returns a presigned URL.
@spec iterate( Coffrify.t(), keyword() ) :: Enumerable.t()
Lazy Stream over every audit entry.
@spec list(Coffrify.t(), list_opts()) :: {:ok, map()} | {:error, Exception.t()}
List audit entries (most recent first).