mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
Audit date filter/kira pilot (#4845)
* sql query * added time_to * added validation error * documentation * attempt to add test * removed whiitespace * fix: ensure date_from and date_to are applied correct audit logs * added more tests * ran make gen * PR feedback Co-authored-by: Dean Sheather <dean@deansheather.com>
This commit is contained in:
@ -30,6 +30,8 @@ The supported filters are:
|
||||
- `action`- The action applied to a resource. You can [find here](https://pkg.go.dev/github.com/coder/coder@main/codersdk#AuditAction) all the actions that are supported.
|
||||
- `username` - The username of the user who triggered the action.
|
||||
- `email` - The email of the user who triggered the action.
|
||||
- `date_from` - The inclusive start date with format `YYYY-MM-DD`.
|
||||
- `date_to ` - the inclusive end date with format `YYYY-MM-DD`.
|
||||
|
||||
## Enabling this feature
|
||||
|
||||
|
Reference in New Issue
Block a user