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

Add new audit event for app-access DynamoDB requests#1279

Merged
GavinFrazar merged 5 commits intomasterfrom
gavinfrazar/improve_dynamodb_audit_events
Nov 17, 2022
Merged

Add new audit event for app-access DynamoDB requests#1279
GavinFrazar merged 5 commits intomasterfrom
gavinfrazar/improve_dynamodb_audit_events

Conversation

@GavinFrazar
Copy link
Copy Markdown
Contributor

Relevant issue: gravitational/teleport#15572

Related PR: gravitational/teleport#17595

I have followed the steps outlined in the README about adding a new audit event to the web ui.

I also verified the storybook renders as expected.

Note that the "body" field is the HTTP request body (which is already JSON), but I've setup the protos definition such that it marshals to JSON correctly without needing escape characters, so that's why it appears to be "in-line" - this is better UX than escaped JSON which requires a user to parse and unmarshal it themselves in order to pretty-print the event body with tools like jq should they play the app session chunk back with tsh play --format=json <chunk-id>.

Screenshots of storybook:

image

image

@GavinFrazar GavinFrazar enabled auto-merge (squash) October 25, 2022 23:35
@GavinFrazar GavinFrazar force-pushed the gavinfrazar/improve_dynamodb_audit_events branch from d900fd3 to cb5cb2f Compare November 16, 2022 03:53
@GavinFrazar GavinFrazar merged commit ee5b12d into master Nov 17, 2022
@GavinFrazar GavinFrazar deleted the gavinfrazar/improve_dynamodb_audit_events branch November 30, 2022 00:56
GavinFrazar added a commit that referenced this pull request Dec 24, 2022
* Add AppSessionDynamoDB audit event

* Add fixtures new dynamo event to storybook and verify it rendered correctly

* Update snapshot of storybook
GavinFrazar added a commit that referenced this pull request Dec 28, 2022
* Add new audit event for app-access DynamoDB requests (#1279)

* Add AppSessionDynamoDB audit event

* Add fixtures new dynamo event to storybook and verify it rendered correctly

* Update snapshot of storybook

* Update snapshot
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.

3 participants