[8.6] [Security Solution] [Platform] Adds 'Optional' to the default description message when editing (#146108) (#146216)

# Backport

This will backport the following commits from `main` to `8.6`:
- [[Security Solution] [Platform] Adds 'Optional' to the default
description message when editing
(#146108)](https://github.com/elastic/kibana/pull/146108)

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

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

<!--BACKPORT [{"author":{"name":"Gloria
Hornero","email":"gloria.hornero@elastic.co"},"sourceCommit":{"committedDate":"2022-11-23T19:31:56Z","message":"[Security
Solution] [Platform] Adds 'Optional' to the default description message
when editing
(#146108)","sha":"efe6967a4ccdc0beed1db648aebf866199ef78f9","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Detections
and Resp","Team: SecuritySolution","Team:Security Solution
Platform","v8.6.0","v8.7.0"],"number":146108,"url":"https://github.com/elastic/kibana/pull/146108","mergeCommit":{"message":"[Security
Solution] [Platform] Adds 'Optional' to the default description message
when editing
(#146108)","sha":"efe6967a4ccdc0beed1db648aebf866199ef78f9"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"8.6","label":"v8.6.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/146108","number":146108,"mergeCommit":{"message":"[Security
Solution] [Platform] Adds 'Optional' to the default description message
when editing
(#146108)","sha":"efe6967a4ccdc0beed1db648aebf866199ef78f9"}}]}]
BACKPORT-->
This commit is contained in:
Gloria Hornero 2022-11-23 21:32:35 +01:00 committed by GitHub
parent c929f357fa
commit f00647f7de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -326,7 +326,7 @@ Object {
for="generated-id"
id="generated-id-label"
>
Description
Description (optional)
</label>
</div>
<div

View file

@ -103,7 +103,7 @@ Object {
for="generated-id"
id="generated-id-label"
>
Description
Description (optional)
</label>
</div>
<div

View file

@ -137,7 +137,7 @@ export const EXCEPTION_LIST_HEADER_NAME_TEXTBOX = i18n.translate(
export const EXCEPTION_LIST_HEADER_DESCRIPTION_TEXTBOX = i18n.translate(
'exceptionList-components.exception_list_header_description_textbox',
{
defaultMessage: 'Description',
defaultMessage: 'Description (optional)',
}
);