6daf330d3a
chore: allow organization name or uuid for audit log searching ( #13721 )
...
* chore: allow organization name or uuid for audit log searching
2024-06-28 10:01:23 -05:00
3cc86cf62d
chore: implement sane default pagination limit for audit logs ( #13676 )
...
* chore: implement sane default pagination limit for audit logs
2024-06-28 07:38:04 -05:00
08e728bcb2
chore: implement organization scoped audit log requests ( #13663 )
...
* chore: add organization_id filter to audit logs
* chore: implement organization scoped audit log requests
2024-06-26 12:38:46 -05:00
43e45f4ab7
fix: fill out zero-value user properties in /audit ( #13604 )
2024-06-20 12:40:08 -08:00
c194119689
chore: rename AwaitTemplateVersionJobCompleted
and AwaitWorkspaceBuildJobCompleted
( #10003 )
2023-10-03 11:02:56 -06:00
22e781eced
chore: add /v2 to import module path ( #9072 )
...
* chore: add /v2 to import module path
go mod requires semantic versioning with versions greater than 1.x
This was a mechanical update by running:
```
go install github.com/marwan-at-work/mod/cmd/mod@latest
mod upgrade
```
Migrate generated files to import /v2
* Fix gen
2023-08-18 18:55:43 +00:00
8cf292f50a
feat: Guard search queries against common mistakes ( #6404 )
...
* feat: Error on excessive invalid search keys
* feat: Guard search queries against common mistakes
* Raise errors in FE on workspaces table
* All errors should be on newlines
2023-03-01 23:28:56 -06:00
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