Rename host risk field in alert flyout (#133274) (#133301)

(cherry picked from commit 848c831233)

Co-authored-by: Pablo Machado <pablo.nevesmachado@elastic.co>
This commit is contained in:
Kibana Machine 2022-06-08 06:38:54 -04:00 committed by GitHub
parent 963b98c4c2
commit d7e3cd2714
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View file

@ -54,7 +54,7 @@ const HostRiskSummaryComponent: React.FC<{
{hostRisk.isModuleEnabled && hostRisk.result && hostRisk.result.length > 0 && (
<>
<EnrichedDataRow
field={'host.risk.keyword'}
field={i18n.HOST_RISK_CLASSIFICATION}
value={
<RiskScore severity={hostRisk.result[0].risk as RiskSeverity} hideBackgroundColor />
}

View file

@ -145,3 +145,10 @@ export const ENRICHED_DATA = i18n.translate(
defaultMessage: 'Enriched data',
}
);
export const HOST_RISK_CLASSIFICATION = i18n.translate(
'xpack.securitySolution.alertDetails.hostRiskClassification',
{
defaultMessage: 'Host risk classification',
}
);