-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Emit new event for DynamoDB requests via app access #17595
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
GavinFrazar
merged 43 commits into
master
from
gavinfrazar/improve_dynamodb_audit_events
Nov 15, 2022
Merged
Changes from all commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
51cb57a
protobuf update
GavinFrazar e48b2d3
Update proto to use dynamodb request event specific to app-access
GavinFrazar 0d4572d
Update protos
GavinFrazar f5e4071
Update oneof
GavinFrazar 0d054f9
Move AppMetaData up with the other metadata and add a 'target' field
GavinFrazar 7e770c3
Remove operation plane
GavinFrazar fd9e2a5
Merge branch 'master' into gavinfrazar/improve_dynamodb_audit_events_…
GavinFrazar 5bee7e8
Merge branch 'master' into gavinfrazar/improve_dynamodb_audit_events_…
GavinFrazar 4ac6c44
Merge branch 'master' into gavinfrazar/improve_dynamodb_audit_events_…
GavinFrazar a521794
Merge branch 'master' into gavinfrazar/improve_dynamodb_audit_events_…
GavinFrazar 4dc3ed2
Fix typo
GavinFrazar 8624a7f
Configure signing service with transport instead of http client
GavinFrazar df9ef4d
Protect from resource exhaustion attacks
GavinFrazar 54ccadf
Add IsDynamoDB to types.Application
GavinFrazar 38509c8
Add new event and code for dynamodb requests
GavinFrazar 8540321
Add async emitter to app access
GavinFrazar 3aaa0e0
Add audit.go to unify app access auditing
GavinFrazar e298fcc
Refactor auditing in app access
GavinFrazar 90b9bfc
Update handler test to test dynamodb events
GavinFrazar f90ce88
Update test to use streamCloser
GavinFrazar 251b256
Update sever test
GavinFrazar 4dfcc63
Add doc strings
GavinFrazar b6d8b80
Return error from audit interface methods so callers can choose what …
GavinFrazar 9d8dc39
Move app session start/end into audit interface
GavinFrazar 660198a
Remove unneeded check type
GavinFrazar e9d3d4d
Rename Transport -> RoundTripper
GavinFrazar f263436
Fix test after renaming field
GavinFrazar b18f379
Rename drainBody and defer body closing
GavinFrazar ae748e2
Fix subtle named return mistake
GavinFrazar 5c92167
Update lib/service/service.go
GavinFrazar a3e9d07
Update lib/service/service.go
GavinFrazar 1ef86b7
Rename ok->shouldSkipCleanup to make the purpose of it more clear
GavinFrazar e1487e2
Refactor request body decoding into aws utils
GavinFrazar 70cf583
Use request instead of signed request for audit event
GavinFrazar cb93e23
Determine if req is for a dynamo endpoint instead of checking app uri
GavinFrazar d146200
Remove obsolete app func IsDynamoDB
GavinFrazar 165c294
Update handler test
GavinFrazar c7a8c65
fix lint
GavinFrazar 6da639b
Merge branch 'master' into gavinfrazar/improve_dynamodb_audit_events
GavinFrazar 63e97db
Merge branch 'master' into gavinfrazar/improve_dynamodb_audit_events
GavinFrazar 48d0301
Fixup merge
GavinFrazar b7a5dbf
Merge branch 'master' into gavinfrazar/improve_dynamodb_audit_events
GavinFrazar 0649531
Merge branch 'master' into gavinfrazar/improve_dynamodb_audit_events
GavinFrazar 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
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
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
Oops, something went wrong.
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.