[SIEM] Change string of "Top Anomaly Suspect" to "Anomalous Entity" (#41729) (#41846)

## Summary

Change the string of "Top Anomaly Suspect" to "Anomalous Entity"

Before:
<img width="518" alt="Screen Shot 2019-07-22 at 7 57 55 PM" src="https://user-images.githubusercontent.com/1151048/61677232-09d08380-acbc-11e9-94dd-ab8fb123d446.png">

After:
<img width="512" alt="Screen Shot 2019-07-22 at 8 01 54 PM" src="https://user-images.githubusercontent.com/1151048/61677239-0e953780-acbc-11e9-95d2-3c7854ef34af.png">

### Checklist

Use ~~strikethroughs~~ to remove checklist items you don't feel are applicable to this PR.

~~- [ ] This was checked for cross-browser compatibility, [including a check against IE11](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility)~~

- [ ] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/master/packages/kbn-i18n/README.md)

~~- [ ] [Documentation](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#writing-documentation) was added for features that require explanation or tutorials~~

~~- [ ] [Unit or functional tests](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility) were updated or added to match the most common scenarios~~

~~- [ ] This was checked for [keyboard-only and screenreader accessibility](https://developer.mozilla.org/en-US/docs/Learn/Tools_and_testing/Cross_browser_testing/Accessibility#Accessibility_testing_checklist)~~

### For maintainers

~~- [ ] This was checked for breaking API changes and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process)~~

~~- [ ] This includes a feature addition or change that requires a release note and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process)~~
This commit is contained in:
Frank Hassanabad 2019-07-23 21:47:03 -06:00 committed by GitHub
parent 84427a1af4
commit 4fa4f0b5b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 8 deletions

View file

@ -139,7 +139,7 @@ exports[`anomaly_scores renders correctly against snapshot 1`] = `
<EuiSpacer
size="m"
/>
Anomaly Job
Job
</React.Fragment>,
},
Object {
@ -183,7 +183,7 @@ exports[`anomaly_scores renders correctly against snapshot 1`] = `
process.name: "du"
</EuiFlexItem>
</EuiFlexGroup>,
"title": "Top Anomaly Suspect",
"title": "Anomalous Entity",
},
Object {
"description": <EuiFlexGroup

View file

@ -25,7 +25,7 @@ exports[`create_description_list renders correctly against snapshot 1`] = `
<EuiSpacer
size="m"
/>
Anomaly Job
Job
</EuiDescriptionListTitle>
<EuiDescriptionListDescription
key="description-1"
@ -92,7 +92,7 @@ exports[`create_description_list renders correctly against snapshot 1`] = `
<EuiDescriptionListTitle
key="title-3"
>
Top Anomaly Suspect
Anomalous Entity
</EuiDescriptionListTitle>
<EuiDescriptionListDescription
key="description-3"

View file

@ -77,7 +77,7 @@ export const createDescriptionList = (
),
},
{
title: i18n.TOP_ANOMALY_SUSPECT,
title: i18n.ANOMALOUS_ENTITY,
description: (
<EuiFlexGroup direction="column" gutterSize="none" responsive={false}>
<EuiFlexItem grow={false}>{`${score.entityName}: "${score.entityValue}"`}</EuiFlexItem>

View file

@ -14,7 +14,7 @@ export const MAX_ANOMALY_SCORE = i18n.translate('xpack.siem.ml.score.maxAnomalyS
});
export const ANOMALY_JOB = i18n.translate('xpack.siem.ml.score.anomalyJobTitle', {
defaultMessage: 'Anomaly Job',
defaultMessage: 'Job',
});
export const VIEW_IN_MACHINE_LEARNING = i18n.translate(
@ -35,6 +35,6 @@ export const NARROW_TO_THIS_DATE_RANGE = i18n.translate(
}
);
export const TOP_ANOMALY_SUSPECT = i18n.translate('xpack.siem.ml.score.topAnomalySuspectTitle', {
defaultMessage: 'Top Anomaly Suspect',
export const ANOMALOUS_ENTITY = i18n.translate('xpack.siem.ml.score.anomalousEntityTitle', {
defaultMessage: 'Anomalous Entity',
});