From 41a2e133c5f4ecd837a99368b683f440740338ad Mon Sep 17 00:00:00 2001 From: Marco Dinis Date: Thu, 17 Oct 2024 15:06:33 +0100 Subject: [PATCH] add events to fixtures --- .../teleport/src/Audit/fixtures/index.ts | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/web/packages/teleport/src/Audit/fixtures/index.ts b/web/packages/teleport/src/Audit/fixtures/index.ts index afb44b62a9a1..cdc20e89e95d 100644 --- a/web/packages/teleport/src/Audit/fixtures/index.ts +++ b/web/packages/teleport/src/Audit/fixtures/index.ts @@ -3656,6 +3656,59 @@ export const events = [ name: 'test-user', user: 'bob', }, + { + 'addr.remote': '127.0.0.1:52763', + cluster_name: 'lenix', + code: 'UT001I', + ei: 0, + event: 'user_task.create', + expires: '0001-01-01T00:00:00Z', + name: 'd217950f-cb5f-5703-96ef-39ab8cd86601', + success: true, + time: '2024-10-17T14:00:34.186Z', + uid: '709840ec-288e-4056-ba20-c8f4b12a478f', + updated_by: '30a6b2e1-3b61-4965-92cf-b4f84e9dc683.lenix', + user: '30a6b2e1-3b61-4965-92cf-b4f84e9dc683.lenix', + user_kind: 1, + user_task_integration: 'teleportdev', + user_task_issue_type: 'ec2-ssm-invocation-failure', + user_task_type: 'discover-ec2', + }, + { + 'addr.remote': '127.0.0.1:52833', + cluster_name: 'lenix', + code: 'UT002I', + current_user_task_state: 'OPEN', + ei: 0, + event: 'user_task.update', + expires: '0001-01-01T00:00:00Z', + name: 'd217950f-cb5f-5703-96ef-39ab8cd86601', + success: true, + time: '2024-10-17T14:01:02.853Z', + uid: '0ba36761-4a6a-429e-bce4-1825d80ce06a', + updated_by: '30a6b2e1-3b61-4965-92cf-b4f84e9dc683.lenix', + updated_user_task_state: 'OPEN', + user: '30a6b2e1-3b61-4965-92cf-b4f84e9dc683.lenix', + user_kind: 1, + user_task_integration: 'teleportdev', + user_task_issue_type: 'ec2-ssm-invocation-failure', + user_task_type: 'discover-ec2', + }, + { + 'addr.remote': '127.0.0.1:52915', + cluster_name: 'lenix', + code: 'UT003I', + ei: 0, + event: 'user_task.delete', + expires: '0001-01-01T00:00:00Z', + name: 'd217950f-cb5f-5703-96ef-39ab8cd86601', + success: true, + time: '2024-10-17T14:01:11.031Z', + uid: '7699b806-e717-4821-85a5-d2f41acbe373', + updated_by: '30a6b2e1-3b61-4965-92cf-b4f84e9dc683.lenix', + user: '30a6b2e1-3b61-4965-92cf-b4f84e9dc683.lenix', + user_kind: 1, + }, ].map(makeEvent); // Do not add new events to this array, add it to `events` list.