Skip to main content

kobana dunning audit-logs

Query audit trail

Commands of kobana dunning audit-logs. Every global option (Global options) applies here.

CommandHTTPDescription
audit-logsGET /v1/audit-logsQuery audit trail

audit-logs​

Query audit trail

kobana dunning audit-logs [OPTIONS]

GET /v1/audit-logs

Lists the organization’s audit trail records (newest first), with filters by action, entity, actor and period.

Query parameters

NameTypeRequiredDescription
pageintegernoPage number (starts at 1).
per_pageintegernoItems per page (max 100).
actionstringnoFilter by action (partial match, contains).
entity_typestringnoFilter by entity type.
entity_idstringnoFilter by entity (UUID).
actor_typestringnoFilter by actor type (user | system | job). Values: user, system, job.
actor_idstringnoFilter by actor (user ID, job name or system name).
fromstringnoPeriod start (ISO 8601, inclusive).
tostringnoPeriod end (ISO 8601, inclusive).

Headers

NameTypeRequiredDescription
X-Workspace-IdstringnoWorkspace the call acts on (id or public_id, listed by GET /v1/workspaces). Optional while the organization has a single workspace; with two or more, omitting it is 400 WORKSPACE_REQUIRED. A workspace of another organization is 403 UNKNOWN_WORKSPACE.

Responses

HTTPDescription
200Paginated list of audit records.
400Invalid request (validation error).
404Resource not found or outside your organization.
413Request body larger than 2 MB.