Skip to content

Commit

Permalink
[Security Solution][Detections] Fixes risk score mapping bug and upda…
Browse files Browse the repository at this point in the history
…tes copy on empty rules message (#73901)

## Summary

Fixes issue where Rules with a `Risk Score Mapping` could not be created.

Fixes copy for the Rules Table empty view that says all rules are disabled by default (no longer true for the `Elastic Endpoint Security Rule`)
<p align="center">
  <img width="500" src="https://user-images.githubusercontent.com/2946766/88980405-e2be7180-d280-11ea-976d-6072c415c688.png" />
</p>



### Checklist

Delete any items that are not applicable to this PR.

- [x] 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)
  • Loading branch information
spong committed Jul 31, 2020
1 parent 4454b30 commit d51e277
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const PRE_BUILT_MSG = i18n.translate(
'xpack.securitySolution.detectionEngine.rules.prePackagedRules.emptyPromptMessage',
{
defaultMessage:
'Elastic Security comes with prebuilt detection rules that run in the background and create alerts when their conditions are met. By default, all prebuilt rules are disabled and you select which rules you want to activate.',
'Elastic Security comes with prebuilt detection rules that run in the background and create alerts when their conditions are met. By default, all prebuilt rules except the Elastic Endpoint Security rule are disabled. You can select additional rules you want to activate.',
}
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const RiskScoreField = ({
{
field: newField?.name ?? '',
operator: 'equals',
value: undefined,
value: '',
riskScore: undefined,
},
],
Expand Down

0 comments on commit d51e277

Please sign in to comment.