Skip to content

Commit

Permalink
add events to fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoandredinis committed Oct 17, 2024
1 parent cf75cbb commit 41a2e13
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions web/packages/teleport/src/Audit/fixtures/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 41a2e13

Please sign in to comment.