From 2b1070259c299c1f5707629964adff24d243d88c Mon Sep 17 00:00:00 2001 From: "mintlify[bot]" <109931778+mintlify[bot]@users.noreply.github.com> Date: Fri, 13 Nov 2026 07:09:10 +0000 Subject: [PATCH 1/2] docs: show how to list the membership audit log with the cli --- administration/managing_users/membership_audit_log.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/administration/managing_users/membership_audit_log.md b/administration/managing_users/membership_audit_log.md index 88862a6..65e7734 100644 --- a/administration/managing_users/membership_audit_log.md +++ b/administration/managing_users/membership_audit_log.md @@ -39,3 +39,14 @@ Select a column header to sort the whole log by that column. Select it again to Active filters appear above the table. Clear them all at once from there. The page URL includes your search, filters, and sort order. Bookmark or share the URL to come back to the same view. + +## List the log with the CLI + +You can read the same history with [`kosli list audit-logs`](/client_reference/kosli_list_audit-logs), for example to export it for an access review. Like the page, the command requires org admin rights. It supports the same search, event, role, and source filters, but not a date range. + +```shell +kosli list audit-logs \ + --event-type removed \ + --source scim \ + --output json +``` From 4fb78d1b4335c55c16dda012359f99dc387d4f34 Mon Sep 17 00:00:00 2001 From: "mintlify[bot]" <109931778+mintlify[bot]@users.noreply.github.com> Date: Fri, 13 Nov 2026 07:15:00 +0000 Subject: [PATCH 2/2] docs: note that audit log cli results are paged --- administration/managing_users/membership_audit_log.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/administration/managing_users/membership_audit_log.md b/administration/managing_users/membership_audit_log.md index 65e7734..4adaf41 100644 --- a/administration/managing_users/membership_audit_log.md +++ b/administration/managing_users/membership_audit_log.md @@ -42,7 +42,7 @@ The page URL includes your search, filters, and sort order. Bookmark or share th ## List the log with the CLI -You can read the same history with [`kosli list audit-logs`](/client_reference/kosli_list_audit-logs), for example to export it for an access review. Like the page, the command requires org admin rights. It supports the same search, event, role, and source filters, but not a date range. +You can read the same history with [`kosli list audit-logs`](/client_reference/kosli_list_audit-logs), for example to export it for an access review. Like the page, the command requires org admin rights. It supports the same search, event, role, and source filters, but not a date range. Results come in pages of 15 events by default, so use `--page-limit` and `--page` to fetch the full history. ```shell kosli list audit-logs \