Criticality badge medium impact bug / typo fixed (#213456)

## Summary

This PR fixes the colour on medium impact showing on asset criticality
badges across alerts table.


### Reproduce Bug
1. Kibana latest version 
2. Generate entity store data 
3. navigate to alerts page, with alerts generated 
4. Look at host criticality and user criticality columns
5. Observe that, the badges for these columns are transparent. Hover
over to see details.

### Screenshot: Bug


![image](https://github.com/user-attachments/assets/79796b92-18e8-4f58-b781-f82c0aeea463)


### Testing Fix 
Same steps as above, but with this PR, observe that the badged for
medium impact now have the relevent colouring enabled.

### Screenshots: Fix in Place

Host Criticality, Dark Theme             |  User Criticality, Dark Theme
:-------------------------:|:-------------------------:

!![image](https://github.com/user-attachments/assets/34ae6647-8333-4dd6-a3e7-24389ce4f3ea)
|
![image](https://github.com/user-attachments/assets/63045bdb-52a6-433b-b941-8c04e6242768)

Host Criticality, Light Theme | User Criticality, Light Theme
:-------------------------:|:-------------------------:

!![image](https://github.com/user-attachments/assets/8a1e6410-c565-4fc1-9829-bb4144f08cc8)
|
![image](https://github.com/user-attachments/assets/e8af0152-bfa3-4296-88ba-25fdf2624f38)
This commit is contained in:
Charlotte Alexandra Wilson 2025-03-07 08:31:54 +00:00 committed by GitHub
parent 6b764fb414
commit c03b8bc661
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,7 +14,7 @@ import type { CriticalityLevelWithUnassigned } from '../../../../common/entity_a
export const CRITICALITY_LEVEL_COLOR: Record<CriticalityLevelWithUnassigned, string> = {
extreme_impact: '#E7664C',
high_impact: '#DA8B45',
medium_impact: 'D6BF57',
medium_impact: '#D6BF57',
low_impact: '#54B399',
unassigned: euiLightVars.euiColorMediumShade,
};