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

Add two event codes for SSO test flow. #717

Merged
merged 5 commits into from
May 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/teleport/src/Audit/EventList/EventTypeCell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ const EventIconMap: Record<EventCode, React.FC> = {
[eventCodes.USER_LOCAL_LOGINFAILURE]: Icons.Info,
[eventCodes.USER_SSO_LOGIN]: Icons.Info,
[eventCodes.USER_SSO_LOGINFAILURE]: Icons.Info,
[eventCodes.USER_SSO_TEST_FLOW_LOGIN]: Icons.Info,
[eventCodes.USER_SSO_TEST_FLOW_LOGINFAILURE]: Icons.Info,
[eventCodes.KUBE_REQUEST]: Icons.Kubernetes,
[eventCodes.DATABASE_SESSION_STARTED]: Icons.Database,
[eventCodes.DATABASE_SESSION_STARTED_FAILURE]: Icons.Database,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -358,12 +358,12 @@ exports[`list of all events 1`] = `
</strong>
-
<strong>
80
82
</strong>
of

<strong>
80
82
</strong>
</div>
<button
Expand Down Expand Up @@ -434,6 +434,80 @@ exports[`list of all events 1`] = `
</tr>
</thead>
<tbody>
<tr>
<td
style="vertical-align: inherit;"
>
<div
class="c14"
>
<span
class="c10 c15 icon icon-info_outline c10 c15"
color="light"
font-size="3"
/>
SSO Test Flow Login Failed
</div>
</td>
<td
style="word-break: break-word;"
>
SSO Test flow: user login failed [No roles mapped from claims. The mappings may contain typos.]
</td>
<td
style="min-width: 120px;"
>
2022-05-23 08:29:14
</td>
<td
align="right"
>
<button
class="c16"
kind="border"
width="87px"
>
Details
</button>
</td>
</tr>
<tr>
<td
style="vertical-align: inherit;"
>
<div
class="c14"
>
<span
class="c10 c15 icon icon-info_outline c10 c15"
color="light"
font-size="3"
/>
SSO Test Flow Login
</div>
</td>
<td
style="word-break: break-word;"
>
SSO Test Flow: user [ops@gravitational.io] successfully logged in
</td>
<td
style="min-width: 120px;"
>
2022-05-23 08:28:37
</td>
<td
align="right"
>
<button
class="c16"
kind="border"
width="87px"
>
Details
</button>
</td>
</tr>
<tr>
<td
style="vertical-align: inherit;"
Expand Down
Loading