b31b0fd189
fix: audit log broken build links ( #5895 )
...
* pushing for guidance
* added test
* PR feedback
* fixed tests
* Update coderd/audit.go
Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com >
* runnig make gen
---------
Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com >
2023-01-30 18:43:29 +00:00
322a4d93e1
feat: add audit log filter for autostarted and autostopped workspace builds ( #5830 )
...
* added query
* fixed query
* added example to dropdown
* added documentation
* added test
* fixed formatting
* fixed format
2023-01-24 15:34:29 -05:00
0e58772f5b
fix: filter workspace_build resource on start/stop action ( #5809 )
...
* fix: ufilter workspace_build resource on start/stop action
* added preset filter for workspace_build filtering
* cleaning up the preset filters
2023-01-20 13:23:13 -05:00
65407462d1
Add audit links/kira pilot ( #5156 )
...
* got links working
* added translations
* fixed translation
* added translation for unavailable ip
* added support for group, template, user links
* cleaned up string
* added deleted label
* querying for workspace id
* remove prints
* fix/write tests
* PR feedback pt 1
* PR feedback part 2
2022-12-02 15:14:45 -05:00
67941b4f80
chore: refactor audit page to use window function for count ( #5133 )
...
* Move count query to window function
* Unpack count and update types
* Remove count endpoint
* Update tests, wip
* Fix tests
* Update frontend, wip
* Remove space
* Fix frontend test
* Don't hang on error
* Handle no results
* Don't omit count
* Fix frontend tests
2022-11-21 11:30:41 -05:00
a73dd4f45d
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 >
2022-11-03 11:04:36 -04:00
bf63cc929a
fix: Fix audit search query ( #4352 )
2022-10-03 20:56:54 -03:00
15d7b78527
fix: Handle invalid resource types and actions ( #4341 )
...
* fix: Handle invalid resource types and actions
* Return all values if invalid
* Use types
2022-10-03 15:29:01 -03:00
bc47d7ce69
feat: Add extra fields to the audit filter ( #4123 )
2022-09-20 13:07:21 -03:00
adad347902
refactor: Refactor audit logs count to support filtering ( #4113 )
2022-09-19 17:08:25 +00:00
bf8d823ae3
feat: Add audit log filters in the API ( #4078 )
2022-09-19 10:37:33 -03:00
3d6d51fbd0
feat: audit log api ( #3898 )
2022-09-07 16:38:19 +00:00