Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

feat/enterprise-portal: rudimentary audit logging#63142

Merged
bobheadxi merged 1 commit into
mainfrom
enterprise-portal-audit-logging
Jun 6, 2024
Merged

feat/enterprise-portal: rudimentary audit logging#63142
bobheadxi merged 1 commit into
mainfrom
enterprise-portal-audit-logging

Conversation

@bobheadxi

Copy link
Copy Markdown
Member

As we prepare to roll out https://github.com/sourcegraph/sourcegraph/pull/62934, this adds rudimentary audit logging that records the client and some session details on successful data access at the end of the RPC. The GraphQL resolvers generate an audit log on every resolver, so this maintains some parity.

I'm not sure there's a good way to generalize this better and reduce copy-pasta, open to ideas

Test plan

n/a just logging additions

@bobheadxi bobheadxi requested review from a team and evict June 6, 2024 21:43
@cla-bot cla-bot Bot added the cla-signed label Jun 6, 2024
@bobheadxi bobheadxi force-pushed the enterprise-portal-audit-logging branch from e43532b to 3424a02 Compare June 6, 2024 21:52
@bobheadxi bobheadxi enabled auto-merge (squash) June 6, 2024 21:54
@bobheadxi bobheadxi merged commit c5f0e9b into main Jun 6, 2024
@bobheadxi bobheadxi deleted the enterprise-portal-audit-logging branch June 6, 2024 21:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants