-
Notifications
You must be signed in to change notification settings - Fork 928
feat: add support for workspace app audit #16801
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
d235001
add migrations
mafredri b18740c
add queries
mafredri 4dfb4fb
make gen
mafredri 7d7922c
add user-agent support to background audit
mafredri 19ca904
add done func support for tracing response writer
mafredri 30bb732
wip auditor
mafredri 94ddbbe
linttt
mafredri bef7614
dbmem impl
mafredri d13d3c0
resolve request with middleware
mafredri 9a3a4c8
refactor tracing status writer done func
mafredri 1f4e95b
fix audit mock check
mafredri bda2d12
mimic http response writer default status 200
mafredri 93784b9
update db tests
mafredri e38ba0f
dbauthz
mafredri 5f0c141
add app audit session timeout to dbtokenprovider
mafredri ae06fe4
remove log spam
mafredri cf1180e
verify audit log
mafredri 623ad6f
add specific test for audit
mafredri c91024e
cleanup request context hack
mafredri 9608da1
nonlint
mafredri 5bb42c2
add slug or port to support separation of terminal and ports
mafredri 14a1740
make gen
mafredri 4426bcf
improve and reduce boilerplate in tests
mafredri 2c1536e
fixup! add slug or port to support separation of terminal and ports
mafredri c070d74
move RandomIPv6 to testutil
mafredri 8a61541
commit audit in Issue, revert tracing status writer changes
mafredri 7279b9a
return if tx failed
mafredri 4ff41d4
add fields to audit logger
mafredri c723b95
comment on WorkspaceAppAuditSessionTimeout use-case
mafredri 217a0d3
update migrations, add status and ua, unique entries
mafredri 336c7b8
rewrite queries, single upsert
mafredri 8d7a763
make gen for db
mafredri 0f162b1
simplify auditInitRequest in workspaceapps
mafredri 22ea58c
update tests
mafredri 119cf03
fix fixtures
mafredri 16ae577
fix dbauthz
mafredri 9003ae0
Merge branch 'main' into mafredri/app-audit
mafredri c1ae295
fix ip nullability
mafredri 1ee8441
add exception for redirect in audit log
mafredri 5b3b122
unused arg
mafredri File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
wip auditor
- Loading branch information
commit 30bb732c860bb9df3a06a51a94ff00f9eea2a73d
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.