[8.10] [Security Solution] Expandable flyout - update response empty message (#165791) (#166003)

# Backport

This will backport the following commits from `main` to `8.10`:
- [[Security Solution] Expandable flyout - update response empty message
(#165791)](https://github.com/elastic/kibana/pull/165791)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT
[{"author":{"name":"christineweng","email":"18648970+christineweng@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-09-07T16:28:36Z","message":"[Security
Solution] Expandable flyout - update response empty message
(#165791)\n\n## Summary\r\n\r\nThis PR updates copy writing of response
section when no action is\r\nspecified:\r\nExpand an alert in alerts
table:\r\n-> in expandable flyout, right section -> Response, empty
message is\r\nupdated to\r\n\r\n> There are no response actions defined
for this event.\r\n\r\n-> in the expanded section, Response tab, empty
message is updated to \r\n\r\n> There are no response actions defined
for this event. To add some,\r\nedit the rule’s settings and set up
[response\r\nactions](https://www.elastic.co/guide/en/security/current/rules-ui-create.html#rule-response-action).\r\n\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"9a0c51c799e95986088774c9321da75708590e15","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Threat
Hunting:Investigations","v8.11.0","v8.10.1"],"number":165791,"url":"https://github.com/elastic/kibana/pull/165791","mergeCommit":{"message":"[Security
Solution] Expandable flyout - update response empty message
(#165791)\n\n## Summary\r\n\r\nThis PR updates copy writing of response
section when no action is\r\nspecified:\r\nExpand an alert in alerts
table:\r\n-> in expandable flyout, right section -> Response, empty
message is\r\nupdated to\r\n\r\n> There are no response actions defined
for this event.\r\n\r\n-> in the expanded section, Response tab, empty
message is updated to \r\n\r\n> There are no response actions defined
for this event. To add some,\r\nedit the rule’s settings and set up
[response\r\nactions](https://www.elastic.co/guide/en/security/current/rules-ui-create.html#rule-response-action).\r\n\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"9a0c51c799e95986088774c9321da75708590e15"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/165791","number":165791,"mergeCommit":{"message":"[Security
Solution] Expandable flyout - update response empty message
(#165791)\n\n## Summary\r\n\r\nThis PR updates copy writing of response
section when no action is\r\nspecified:\r\nExpand an alert in alerts
table:\r\n-> in expandable flyout, right section -> Response, empty
message is\r\nupdated to\r\n\r\n> There are no response actions defined
for this event.\r\n\r\n-> in the expanded section, Response tab, empty
message is updated to \r\n\r\n> There are no response actions defined
for this event. To add some,\r\nedit the rule’s settings and set up
[response\r\nactions](https://www.elastic.co/guide/en/security/current/rules-ui-create.html#rule-response-action).\r\n\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"9a0c51c799e95986088774c9321da75708590e15"}},{"branch":"8.10","label":"v8.10.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: christineweng <18648970+christineweng@users.noreply.github.com>
This commit is contained in:
Kibana Machine 2023-09-07 13:51:17 -04:00 committed by GitHub
parent 824bcbfd99
commit 96bc0c0905
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View file

@ -65,16 +65,16 @@ export const ResponseDetails: React.FC = () => {
<InlineBlock data-test-subj={RESPONSE_EMPTY_TEST_ID}>
<FormattedMessage
id="xpack.securitySolution.flyout.documentDetails.response.emptyMessage"
defaultMessage="This alert did not generate an external notification. {editRuleLink} to set up notification actions."
defaultMessage="There are no response actions defined for this event. To add some, edit the rules settings and set up {link}."
values={{
editRuleLink: (
link: (
<EuiLink
href="https://www.elastic.co/guide/en/security/current/rules-ui-management.html#edit-rules-settings"
href="https://www.elastic.co/guide/en/security/current/rules-ui-create.html#rule-response-action"
target="_blank"
>
<FormattedMessage
id="xpack.securitySolution.flyout.documentDetails.response.editRuleLink"
defaultMessage="Edit your rule"
id="xpack.securitySolution.flyout.documentDetails.response.responseActionLink"
defaultMessage="response actions"
/>
</EuiLink>
),

View file

@ -284,7 +284,7 @@ export const RESPONSE_TITLE = i18n.translate(
);
export const RESPONSE_EMPTY = i18n.translate('xpack.securitySolution.flyout.response.empty', {
defaultMessage: 'This alert did not generate an external notification.',
defaultMessage: 'There are no response actions defined for this event.',
});
export const TECHNICAL_PREVIEW_TITLE = i18n.translate(