René's URL Explorer Experiment


Title: audit: how can I programmatically consume the audit logs? · Issue #5535 · coder/coder · GitHub

Open Graph Title: audit: how can I programmatically consume the audit logs? · Issue #5535 · coder/coder

X Title: audit: how can I programmatically consume the audit logs? · Issue #5535 · coder/coder

Description: We need to document this :) REST API: @mtojek is working on autogenerated docs for all the routes, including /api/v2/audit Tracked in #3522. For example: https://coder.bpmct.net/api/v2/audit?offset=0&limit=25&q=resource_type:user+actio...

Open Graph Description: We need to document this :) REST API: @mtojek is working on autogenerated docs for all the routes, including /api/v2/audit Tracked in #3522. For example: https://coder.bpmct.net/api/v2/audit?offset...

X Description: We need to document this :) REST API: @mtojek is working on autogenerated docs for all the routes, including /api/v2/audit Tracked in #3522. For example: https://coder.bpmct.net/api/v2/audit?offset...

Opengraph URL: https://github.com/coder/coder/issues/5535

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"audit: how can I programmatically consume the audit logs?","articleBody":"We need to document this :)\r\n\r\n- [x] REST API: @mtojek is working on autogenerated docs for all the routes, including `/api/v2/audit`\r\n\r\n    Tracked in #3522. For example:\r\n\r\n     ```text\r\n     https://coder.bpmct.net/api/v2/audit?offset=0&limit=25&q=resource_type%3Auser+action%3Acreate\r\n    ```\r\n\r\n    Documented here: https://coder.com/docs/coder-oss/latest/api/audit#get-audit-logs\r\n\r\n- [ ] Server logs: `coder server` will export audited events to `/dev/stderr` by default\r\n\r\n    For example:\r\n    \r\n    ```sh\r\n    2023-01-02 14:07:48.634 [INFO]\t(coderd)\t\u003c./enterprise/audit/backends/slog.go:32>\tslogBackend.Export\taudit_log\t{\"ID\": \"4fa877ad-92e5-425d-8aba-7b66bb7c01d2\", \"Action\": \"create\", \"Diff\": {\"id\": {\"Old\": \"\", \"New\": \"fb1c1df2-4d9a-44df-b606-abc4ec6d5ee5\", \"Secret\": false}, \"name\": {\"Old\": \"\", \"New\": \"new-workspace\", \"Secret\": false}, \"owner_id\": {\"Old\": \"\", \"New\": \"eaef1d37-125b-4b73-b05d-33401230baca\", \"Secret\": false}, \"template_id\": {\"Old\": \"\", \"New\": \"f5ceaa98-fe3a-4103-b0fb-15d7d340f2ad\", \"Secret\": false}, \"ttl\": {\"Old\": 0, \"New\": 86400000000000, \"Secret\": false}}, \"RequestID\": \"c210f24c-3a1c-4770-ad0c-8d13ceae9cf2\", \"UserAgent\": {\"String\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36\", \"Valid\": true}, \"ResourceID\": \"fb1c1df2-4d9a-44df-b606-abc4ec6d5ee5\", \"OrganizationID\": \"00000000-0000-0000-0000-000000000000\", \"ResourceTarget\": \"new-workspace\", \"ResourceIcon\": \"\", \"Time\": \"2023-01-02T14:07:48.632729Z\", \"UserID\": \"eaef1d37-125b-4b73-b05d-33401230baca\", \"Ip\": {\"IPNet\": {\"IP\": \"::1\", \"Mask\": \"/////////////////////w==\"}, \"Valid\": true}, \"ResourceType\": \"workspace\", \"StatusCode\": 201, \"AdditionalFields\": {\"workspaceOwner\": \"bpmct\"}}\r\n    ```\r\n\r\n    In Coder v1, we have detailed [documentation on exporting logs](https://coder.com/docs/coder/latest/guides/admin/logging)  so we can use that as a reference.","author":{"url":"https://github.com/bpmct","@type":"Person","name":"bpmct"},"datePublished":"2023-01-02T14:36:47Z","url":"https://github.com/coder/coder/issues/5535"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:cb95dc76-a297-21f6-81fa-246d9264f084
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC4DA:19B6A2:944811:C402E5:6B01B4BD
html-safe-nonce16d219f84b5ae60ab63a838855873572d9abf8989229117e976bd59a3a15930f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNERBOjE5QjZBMjo5NDQ4MTE6QzQwMkU1OjZCMDFCNEJEIiwidmlzaXRvcl9pZCI6IjYwMDY4MjgyOTU3NTEwNTQ1MjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3900567e16ca2c0020e46a384bd281aa17eb23c9d2f95c482d53662581f524bb
hovercard-subject-tagissue:1516463359
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/coder/5535/issue_layout
twitter:imagehttps://opengraph.githubassets.com/79b25ddbb46a891df2f8ee802a4350bf8944c97859770ff9b759175c7d519c1a/coder/coder/issues/5535
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/79b25ddbb46a891df2f8ee802a4350bf8944c97859770ff9b759175c7d519c1a/coder/coder/issues/5535
og:image:altWe need to document this :) REST API: @mtojek is working on autogenerated docs for all the routes, including /api/v2/audit Tracked in #3522. For example: https://coder.bpmct.net/api/v2/audit?offset...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebpmct
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/coder/coder git https://github.com/coder/coder.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id440752086
octolytics-dimension-repository_nwocoder/coder
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id440752086
octolytics-dimension-repository_network_root_nwocoder/coder
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/coder/coder/issues/5535#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fissues%2F5535
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fissues%2F5535
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=coder%2Fcoder
Reloadhttps://github.com/coder/coder/issues/5535
Reloadhttps://github.com/coder/coder/issues/5535
Reloadhttps://github.com/coder/coder/issues/5535
coderhttps://github.com/coder
coderhttps://github.com/coder/coder
Codehttps://github.com/coder/coder
Issues320 (320)https://github.com/coder/coder/issues
Pull requests470 (470)https://github.com/coder/coder/pulls
Discussionshttps://github.com/coder/coder/discussions
Actionshttps://github.com/coder/coder/actions
Projectshttps://github.com/coder/coder/projects
Security and quality49 (49)https://github.com/coder/coder/security
Insightshttps://github.com/coder/coder/insights
https://github.com/coder/coder
New issuehttps://github.com/login?return_to=https://github.com/coder/coder/issues/5535
New issuehttps://github.com/login?return_to=https://github.com/coder/coder/issues/5535
audit: how can I programmatically consume the audit logs?https://github.com/coder/coder/issues/5535#top
https://github.com/bpmct
staleThis issue is like stale bread.https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22stale%22
https://github.com/bpmct
bpmcthttps://github.com/bpmct
on Jan 2, 2023https://github.com/coder/coder/issues/5535#issue-1516463359
@mtojekhttps://github.com/mtojek
Autogenerated docs for REST API #3522https://github.com/coder/coder/issues/3522
https://coder.com/docs/coder-oss/latest/api/audit#get-audit-logshttps://coder.com/docs/coder-oss/latest/api/audit#get-audit-logs
documentation on exporting logshttps://coder.com/docs/coder/latest/guides/admin/logging
bpmcthttps://github.com/bpmct
on Jan 2, 2023https://github.com/coder/coder/issues/5535#event-8137812609
https://github.com/Kira-Pilot
Kira-Pilothttps://github.com/Kira-Pilot
on Jan 4, 2023https://github.com/coder/coder/issues/5535#issuecomment-1371509966
@bpmcthttps://github.com/bpmct
#5356https://github.com/coder/coder/issues/5356
https://github.com/bpmct
bpmcthttps://github.com/bpmct
on Jan 11, 2023https://github.com/coder/coder/issues/5535#issuecomment-1379137368
@Kira-Pilothttps://github.com/Kira-Pilot
#5356https://github.com/coder/coder/issues/5356
ammariohttps://github.com/ammario
bpmcthttps://github.com/bpmct
on Jan 19, 2023https://github.com/coder/coder/issues/5535#event-8314548482
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
on Apr 20, 2023https://github.com/coder/coder/issues/5535#issuecomment-1515535791
github-actionshttps://github.com/apps/github-actions
staleThis issue is like stale bread.https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22stale%22
on Apr 20, 2023https://github.com/coder/coder/issues/5535#event-9051853891
github-actionshttps://github.com/apps/github-actions
not plannedhttps://github.com/coder/coder/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Anot-planned
on Apr 27, 2023https://github.com/coder/coder/issues/5535#event-9108875645
https://github.com/bpmct
bpmcthttps://github.com/bpmct
on Jun 13, 2023https://github.com/coder/coder/issues/5535#issuecomment-1588493587
#7991https://github.com/coder/coder/pull/7991
Sign up for freehttps://github.com/signup?return_to=https://github.com/coder/coder/issues/5535
Sign in to commenthttps://github.com/login?return_to=https://github.com/coder/coder/issues/5535
bpmcthttps://github.com/bpmct
staleThis issue is like stale bread.https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22stale%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.