From 01a8d534468c048579f9a83a0d9a910bee529ca7 Mon Sep 17 00:00:00 2001 From: RustDesk <71636191+rustdesk@users.noreply.github.com> Date: Mon, 28 Jul 2025 18:08:12 +0800 Subject: [PATCH] Updated FAQ (markdown) --- FAQ.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FAQ.md b/FAQ.md index 024dc37..267a024 100644 --- a/FAQ.md +++ b/FAQ.md @@ -633,7 +633,7 @@ python3 users.py view --url http://rustdesk.yourcompany.com --token --na python3 users.py disable --url http://rustdesk.yourcompany.com --token --name test python3 users.py enable --url http://rustdesk.yourcompany.com --token --name test ``` -- Audit logs: please use `/api/audits/conn`, `/api/audits/file`, `/api/audits/alarm`, `/api/audits/console`, only support 'Get' for logs. Avaiable filters are `remote`, `local`, `created_at`, `remote_device_name`, `local_device_name`, same to what you see on the web console. +- Audit logs: please create a token (check above link for devices) with `Read` of `Audit Log Permission` first. use `/api/audits/conn`, `/api/audits/file`, `/api/audits/alarm`, `/api/audits/console`, only support 'Get' for logs. Avaiable filters are `remote`, `local`, `created_at`, `remote_device_name`, `local_device_name`, same to what you see on the web console. We do not create `logs.py` for you yet, but You can modify `view` function in `https://raw.githubusercontent.com/rustdesk/rustdesk/master/res/users.py`, replace `{url}/api/users` with `{url}/api/audits/conn` / `{url}/api/audits/file` / `{url}/api/audits/alarm` / `{url}/api/audits/console`. # Delete devices with API