Skip to content

Commit

Permalink
made message id string literal
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelolo24 committed Aug 10, 2021
1 parent 764563f commit 8d40ac5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const buildCommonReasonMessage = ({
const isFieldEmpty = (field: string | string[] | undefined | null) =>
!field || !field.length || (field.length === 1 && field[0] === '-');

return i18n.translate(`xpack.securitySolution.detectionEngine.signals.alertReasonDescription`, {
return i18n.translate('xpack.securitySolution.detectionEngine.signals.alertReasonDescription', {
defaultMessage:
'Alert {alertName} created at {timestamp} with a {alertSeverity} severity and risk score of {alertRiskScore} {userName, select, null {} other {by {userName} } } {hostName, select, null {} other {on {hostName} } }',
values: {
Expand Down

0 comments on commit 8d40ac5

Please sign in to comment.