Title: audit: resource creation failure should result in an audit log entry · Issue #4724 · coder/coder · GitHub
Open Graph Title: audit: resource creation failure should result in an audit log entry · Issue #4724 · coder/coder
X Title: audit: resource creation failure should result in an audit log entry · Issue #4724 · coder/coder
Description: If someone attempts to create a workspace or template or whatever other resource and that creation fails, we should create an audit log for it. At the time of ticket creation, we do not yet audit log login/logout, but we should consider ...
Open Graph Description: If someone attempts to create a workspace or template or whatever other resource and that creation fails, we should create an audit log for it. At the time of ticket creation, we do not yet audit l...
X Description: If someone attempts to create a workspace or template or whatever other resource and that creation fails, we should create an audit log for it. At the time of ticket creation, we do not yet audit l...
Opengraph URL: https://github.com/coder/coder/issues/4724
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"audit: resource creation failure should result in an audit log entry","articleBody":"~If someone attempts to create a workspace or template or whatever [other resource](https://coder.com/docs/coder-oss/latest/admin/audit-logs) and that creation fails, we should create an audit log for it.~\r\n\r\n~At the time of ticket creation, we do not yet audit log login/logout, but we should consider this resource when completing this ticket. Related ticket #4431~\r\n\r\n\r\nThe real issue is workspace build outcomes are not currently logged. We log the request (this almost always comes back as a 201), but do not follow up with the outcome. For an example, take a look at the comment below regarding workspace deletion.\r\n\r\nWe should continue to log workspace build requests with language that indicates the outcome isn't guaranteed, like:\r\n\r\n\"Admin requested the deletion of workspace test\".\r\n\r\nThen we should follow up with an audit log for the outcome, e.g. \"Workspace test successfully deleted\". \r\n\r\nWe should also log workspace build failures. Perhaps these failures (for start, stop, or delete) should all create the same audit log - we don't need a separate implementation for each.\r\n\r\n","author":{"url":"https://github.com/Kira-Pilot","@type":"Person","name":"Kira-Pilot"},"datePublished":"2022-10-24T18:30:41Z","url":"https://github.com/coder/coder/issues/4724"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c3e80ca2-0346-79ad-5e81-57c78351e6fe |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E66C:5D487:9EFA77:D38D55:6B01BCB3 |
| html-safe-nonce | b9755b966f96bd39a724f492bb2e7802ed9f45f2b356ca92fdc8f5c738808ad7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjZDOjVENDg3OjlFRkE3NzpEMzhENTU6NkIwMUJDQjMiLCJ2aXNpdG9yX2lkIjoiNDU3OTc2MjE2Mzk2NjY1NTY2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a529be80fcf6c1fda5784057038dc92accf291fe885e0ff62c4692e8348a7b81 |
| hovercard-subject-tag | issue:1421247360 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/coder/4724/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4ca453e1ad32a71a8184517542d7c88085a427b68ecc1fa5532fd6e00032df78/coder/coder/issues/4724 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4ca453e1ad32a71a8184517542d7c88085a427b68ecc1fa5532fd6e00032df78/coder/coder/issues/4724 |
| og:image:alt | If someone attempts to create a workspace or template or whatever other resource and that creation fails, we should create an audit log for it. At the time of ticket creation, we do not yet audit l... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Kira-Pilot |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/coder git https://github.com/coder/coder.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 440752086 |
| octolytics-dimension-repository_nwo | coder/coder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 440752086 |
| octolytics-dimension-repository_network_root_nwo | coder/coder |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width