mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-18 16:02:10 +00:00
feat(backend): better filtering for audit logs API (#4023)
* feat: better filtering for audit logs * chore: update ee ref * fix: use csv instead of query array * chore: update ee ref
This commit is contained in:
+1
-1
@@ -114,7 +114,7 @@ windmill-parser-graphql = { path = "./parsers/windmill-parser-graphql" }
|
||||
windmill-parser-php = { path = "./parsers/windmill-parser-php" }
|
||||
windmill-api-client = { path = "./windmill-api-client" }
|
||||
|
||||
axum = { version = "^0.7", features = ["multipart"] }
|
||||
axum = { version = "^0.7", features = ["multipart"] }
|
||||
headers = "^0"
|
||||
hyper = { version = "^1", features = ["full"] }
|
||||
tokio = { version = "^1", features = ["full", "tracing"] }
|
||||
|
||||
@@ -1 +1 @@
|
||||
ffc6e57d99f19adda60fa4baa8623413c44bb4dd
|
||||
d414242f92cfaf9f364e9aeb321a511c3ad46fa7
|
||||
@@ -114,6 +114,16 @@ paths:
|
||||
- $ref: "#/components/parameters/After"
|
||||
- $ref: "#/components/parameters/Username"
|
||||
- $ref: "#/components/parameters/Operation"
|
||||
- name: operations
|
||||
in: query
|
||||
description: comma separated list of exact operations to include
|
||||
schema:
|
||||
type: string
|
||||
- name: exclude_operations
|
||||
in: query
|
||||
description: comma separated list of operations to exclude
|
||||
schema:
|
||||
type: string
|
||||
- $ref: "#/components/parameters/ResourceName"
|
||||
- $ref: "#/components/parameters/ActionKind"
|
||||
|
||||
|
||||
@@ -28,6 +28,8 @@ pub struct AuditLog {
|
||||
pub struct ListAuditLogQuery {
|
||||
pub username: Option<String>,
|
||||
pub operation: Option<String>,
|
||||
pub operations: Option<String>,
|
||||
pub exclude_operations: Option<String>,
|
||||
pub action_kind: Option<String>,
|
||||
pub resource: Option<String>,
|
||||
pub before: Option<chrono::DateTime<chrono::Utc>>,
|
||||
|
||||
Reference in New Issue
Block a user