Skip to content

Commit

Permalink
[8.8] [Security Solution] Update encryption key call out message in r…
Browse files Browse the repository at this point in the history
…esponse console (elastic#157054) (elastic#157116)

# Backport

This will backport the following commits from `main` to `8.8`:
- [[Security Solution] Update encryption key call out message in
response console
(elastic#157054)](elastic#157054)

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

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

<!--BACKPORT [{"author":{"name":"Kevin
Logan","email":"56395104+kevinlog@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-05-09T01:04:17Z","message":"[Security
Solution] Update encryption key call out message in response console
(elastic#157054)\n\n## Summary\r\n\r\nUpdate copy and add a docs link for the
encryption key out message in\r\nresponse console.\r\n\r\n<img
width=\"1728\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/56395104/236916654-297c4ae1-6097-44c2-83bf-264fd37a74e3.png\">\r\n\r\nNavigates
to this in
docs:\r\nhttps://www.elastic.co/guide/en/kibana/master/xpack-security-secure-saved-objects.html\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)","sha":"b3e495038bba870eeec2bb3ae1a423c7031bbf21","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Defend
Workflows","v8.8.0","v8.9.0"],"number":157054,"url":"https://github.com/elastic/kibana/pull/157054","mergeCommit":{"message":"[Security
Solution] Update encryption key call out message in response console
(elastic#157054)\n\n## Summary\r\n\r\nUpdate copy and add a docs link for the
encryption key out message in\r\nresponse console.\r\n\r\n<img
width=\"1728\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/56395104/236916654-297c4ae1-6097-44c2-83bf-264fd37a74e3.png\">\r\n\r\nNavigates
to this in
docs:\r\nhttps://www.elastic.co/guide/en/kibana/master/xpack-security-secure-saved-objects.html\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)","sha":"b3e495038bba870eeec2bb3ae1a423c7031bbf21"}},"sourceBranch":"main","suggestedTargetBranches":["8.8"],"targetPullRequestStates":[{"branch":"8.8","label":"v8.8.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/157054","number":157054,"mergeCommit":{"message":"[Security
Solution] Update encryption key call out message in response console
(elastic#157054)\n\n## Summary\r\n\r\nUpdate copy and add a docs link for the
encryption key out message in\r\nresponse console.\r\n\r\n<img
width=\"1728\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/56395104/236916654-297c4ae1-6097-44c2-83bf-264fd37a74e3.png\">\r\n\r\nNavigates
to this in
docs:\r\nhttps://www.elastic.co/guide/en/kibana/master/xpack-security-secure-saved-objects.html\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)","sha":"b3e495038bba870eeec2bb3ae1a423c7031bbf21"}}]}]
BACKPORT-->

Co-authored-by: Kevin Logan <56395104+kevinlog@users.noreply.github.com>
  • Loading branch information
kibanamachine and kevinlog authored May 9, 2023
1 parent b262d55 commit 28a26dd
Showing 1 changed file with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,16 @@
*/

import React, { memo, useState, useCallback } from 'react';
import { EuiCallOut, EuiSpacer, EuiButtonEmpty } from '@elastic/eui';
import { EuiCallOut, EuiSpacer, EuiButtonEmpty, EuiLink } from '@elastic/eui';
import { FormattedMessage } from '@kbn/i18n-react';
import { i18n } from '@kbn/i18n';
import { useGetActionState } from '../../hooks';
import { useKibana } from '../../../common/lib/kibana';

export const MissingEncryptionKeyCallout = memo(() => {
const { data: encryptionKeyState } = useGetActionState();
const [calloutDismiss, setCalloutDismiss] = useState(false);
const { docLinks } = useKibana().services;

const onClickDismissButton = useCallback(() => setCalloutDismiss(true), []);

Expand Down Expand Up @@ -41,7 +43,17 @@ export const MissingEncryptionKeyCallout = memo(() => {
<div>
<FormattedMessage
id="xpack.securitySolution.responder.missingEncryptionKey.callout.body"
defaultMessage="Encryption key will make your environment more secure"
defaultMessage="We recommend encryption keys be configured to protect sensitive information and make your environment more secure. Without encryption keys configured, some features may not perform as intended. {viewMore}."
values={{
viewMore: (
<EuiLink href={docLinks.links.kibana.secureSavedObject} target="_blank">
<FormattedMessage
id="xpack.securitySolution.responder.missingEncryptionKey.docsLink"
defaultMessage="View more information"
/>
</EuiLink>
),
}}
/>
</div>

Expand Down

0 comments on commit 28a26dd

Please sign in to comment.