From a98328b0929f8754ef4714b77b2515127580cfd3 Mon Sep 17 00:00:00 2001 From: Eric Leijonmarck Date: Fri, 3 May 2024 11:11:46 +0100 Subject: [PATCH] Auditlogging: add docs about dsquery (#87218) * add docs for dsquery * update the generic actions --- .../setup-grafana/configure-security/audit-grafana.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/sources/setup-grafana/configure-security/audit-grafana.md b/docs/sources/setup-grafana/configure-security/audit-grafana.md index 268279c5025..981eddbbd08 100644 --- a/docs/sources/setup-grafana/configure-security/audit-grafana.md +++ b/docs/sources/setup-grafana/configure-security/audit-grafana.md @@ -269,6 +269,12 @@ external group. \* `resources` may also contain a third item with `"type":` set to `"user"` or `"team"`. +#### Data source query + +| Action | Distinguishing fields | +| ---------------- | ------------------------------------------------------------ | +| Query datasource | `{"action": "query", "resources": [{"type": "datasource"}]}` | + #### Reporting | Action | Distinguishing fields | @@ -329,7 +335,7 @@ Furthermore, you can also record `GET` requests. See below how to configure it. | Action | Distinguishing fields | | -------------- | ------------------------------ | -| POST request | `{"action": "action"}` | +| POST request | `{"action": "post-action"}` | | PATCH request | `{"action": "partial-update"}` | | PUT request | `{"action": "update"}` | | DELETE request | `{"action": "delete"}` |