Rename host risk field in alert flyout (#133274)

This commit is contained in:
Pablo Machado 2022-06-01 15:22:31 +02:00 committed by GitHub
parent 6d290df30c
commit 848c831233
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',
}
);