diff --git a/FAQ.md b/FAQ.md index 049137b..3eb1eb9 100644 --- a/FAQ.md +++ b/FAQ.md @@ -644,6 +644,15 @@ python3 users.py enable --url http://rustdesk.yourcompany.com --token -- ``` - Audit logs: please create a token (check above link for devices) with `Read` of `Audit Log Permission` first, use api endpoints `/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`. +https://raw.githubusercontent.com/rustdesk/rustdesk/master/res/audits.py + +Example: https://github.com/rustdesk/rustdesk/pull/12989 + +- Address book: https://raw.githubusercontent.com/rustdesk/rustdesk/master/res/ab.py + +Example: https://github.com/rustdesk/rustdesk/pull/12989 + + # Delete devices with API https://github.com/rustdesk/rustdesk-server-pro/discussions/182#discussioncomment-9082528