mirror of
https://github.com/coder/coder.git
synced 2025-07-13 21:36:50 +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:
@ -127,6 +127,7 @@ type CreateTestAuditLogRequest struct {
|
||||
Action AuditAction `json:"action,omitempty"`
|
||||
ResourceType ResourceType `json:"resource_type,omitempty"`
|
||||
ResourceID uuid.UUID `json:"resource_id,omitempty"`
|
||||
Time time.Time `json:"time,omitempty"`
|
||||
}
|
||||
|
||||
// AuditLogs retrieves audit logs from the given page.
|
||||
|
Reference in New Issue
Block a user