Skip to content

Commit

Permalink
feat: [M3-7563] – Add proper support for OBJ Access Key events (#10038)
Browse files Browse the repository at this point in the history
  • Loading branch information
dwiley-akamai authored Jan 8, 2024
1 parent c04c7e7 commit 5bc4323
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-10038-added-1704495369939.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Added
---

Proper support for OBJ Access Key events ([#10038](https://github.com/linode/manager/pull/10038))
9 changes: 9 additions & 0 deletions packages/manager/src/features/Events/eventMessageGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,15 @@ export const eventMessageCreators: { [index: string]: CreatorsForStatus } = {
oauth_client_update: {
notification: (e) => `OAuth App ${e.entity!.label} has been updated.`,
},
obj_access_key_create: {
notification: (e) => `Access Key ${e.entity!.label} has been created.`,
},
obj_access_key_delete: {
notification: (e) => `Access Key ${e.entity!.label} has been deleted.`,
},
obj_access_key_update: {
notification: (e) => `Access Key ${e.entity!.label} has been updated.`,
},
password_reset: {
failed: (e) => `Password reset failed for Linode ${e.entity!.label}.`,
finished: (e) => `Password has been reset on Linode ${e.entity!.label}.`,
Expand Down

0 comments on commit 5bc4323

Please sign in to comment.