Commit graph

28598 commits

Author SHA1 Message Date
Andrew Macri
d01e6b8b18
[8.12] [Security Solution] [Elastic AI Assistant] Include acknowledged alerts in the LangChain AlertCountsTool aggregation (#173701) (#173801)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[Security Solution] [Elastic AI Assistant] Include `acknowledged`
alerts in the LangChain `AlertCountsTool` aggregation
(#173701)](https://github.com/elastic/kibana/pull/173701)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Andrew
Macri","email":"andrew.macri@elastic.co"},"sourceCommit":{"committedDate":"2023-12-21T04:41:11Z","message":"[Security
Solution] [Elastic AI Assistant] Include `acknowledged` alerts in the
LangChain `AlertCountsTool` aggregation (#173701)\n\n## [Security
Solution] [Elastic AI Assistant] Include `acknowledged` alerts in the
LangChain `AlertCountsTool` aggregation\r\n\r\nThis PR updates the
LangChain `AlertCountsTool` aggregation, which answers questions like
`How many open alerts do I have?`, to include `acknowledged` alerts. The
`AlertCountsTool` was introduced as part of [[Security Solution]
[Elastic AI Assistant] Retrieval Augmented Generation (RAG) for Alerts
#172542](https://github.com/elastic/kibana/pull/172542)\r\n\r\n- This PR
is similar to <https://github.com/elastic/kibana/pull/173121>, where
`acknowledged` alerts were added to the `OpenAndAcknowledgedAlertsTool`,
which returns the _details_ of alerts\r\n - In contrast to
[#173121](https://github.com/elastic/kibana/pull/173121), this PR is
focused on the alert counts _aggregation_\r\n\r\n- This PR also updates
the `range` of **both** the `AlertCountsTool` and the
`OpenAndAcknowledgedAlertsTool` queries to standardize on the following
syntax, which aligns with the `Last 24 hours` option in the _Commonly
used_ section of the Kibana date picker:\r\n\r\n```json\r\n \"range\":
{\r\n \"@timestamp\": {\r\n \"gte\": \"now-24h\",\r\n \"lte\":
\"now\"\r\n }\r\n }\r\n```\r\n\r\n### Desk testing\r\n\r\nTo desk test
this change:\r\n\r\n- The `assistantRagOnAlerts` feature flag described
in [#172542](https://github.com/elastic/kibana/pull/172542) must be
enabled, per the following
example:\r\n\r\n```\r\nxpack.securitySolution.enableExperimental:
['assistantRagOnAlerts']\r\n```\r\n\r\n- The `Alerts` feature must be
enabled in the assistant settings, per the screenshot below:\r\n\r\n
![enable_alerts](f6a3077d-5815-4225-9a8e-7f5b51d5f2d4)\r\n\r\n1)
Generate alerts with a variety of severity (e.g. `low`, `medium`,
`high`, and `critical`)\r\n\r\n2) After the alerts have been generated,
disable all detection rules to keep the counts static during
testing\r\n\r\n3) Navigate to Security > Alerts\r\n\r\n4) Select `Last
24 hours` from the _Commonly used_ section of the global date
picker\r\n\r\n5) Click the `Treemap` button to select the Treemap
visualization\r\n\r\n6) In the Treemap's `Group by` input, enter
`kibana.alert.severity`\r\n\r\n7) Next, in the Treemap's `Group by top`
input, enter `kibana.alert.workflow_status`\r\n\r\n8) Click the `AI
Assistant` button to open the assistant\r\n\r\n9) Click the `X` button
to clear the conversation\r\n\r\n10) Close the assistant\r\n\r\n11) Add
the following two fields as columns to the Alerts page
table:\r\n\r\n```\r\nkibana.alert.workflow_status\r\n_id\r\n```\r\n\r\n12)
Sort the Alerts table, first by `kibana.alert.risk_score` from high to
low, and then by `@timestamp` from new to old, per the screenshot
below:\r\n\r\n![fields_sorted](e84f06d4-790d-4227-afbf-a233d4848178)\r\n\r\n**Expected
results**\r\n\r\n- The alerts page date range is `Last 24 hours`\r\n-
The `Treemap` is selected\r\n- The treemap is grouped by
`kibana.alert.severity` and then `kibana.alert.workflow_status`\r\n- The
alerts table has custom sorting and columns, per the screenshot
below:\r\n\r\n![alerts_page_setup](f4700abc-b2ca-483e-92d8-5a186142e1fb)\r\n\r\n13)
Click the `AI Assistant` button to open the assistant\r\n\r\n14) Ask the
assistant:\r\n\r\n```\r\nHow many open alerts do I
have?\r\n```\r\n\r\n**Expected results**\r\n\r\n- The assistant will
report on the counts and workflow status of alerts, per the example
response and screenshot below:\r\n\r\n```\r\nYou have a total of 47 open
alerts. Here's the breakdown: 24 alerts with low severity, 12 alerts
with medium severity, 7 alerts with high severity, and 4 alerts with
critical
severity.\r\n```\r\n\r\n![assistant_open_alerts](45740c07-9317-42e6-943d-fc346b8106e5)\r\n\r\n15)
Make note of the counts shown in the assistant, then close the
assistant\r\n\r\nExpected result:\r\n\r\n- The counts from the assistant
match the counts in the treemap legend, per the example screenshot
below:\r\n\r\n![open_alerts_in_treemap](368fb707-9faf-4b9b-a0b3-81fab4d680b2)\r\n\r\n16)
Change the workflow status of an alert in the Alerts table from `open`
to `acknowledged`\r\n\r\n**Expected result**\r\n\r\n- The treemap and
alerts table and include the updated (`acknowledged`) alert, per the
screenshot
below:\r\n\r\n![updated_treemap_and_table](0b8bedb7-aed7-41f1-abcd-f79a79480739)\r\n\r\n17)
Once again, open the assistant\r\n\r\n18) Once again, ask the (same)
question:\r\n\r\n```\r\nHow many open alerts do I
have?\r\n```\r\n\r\n**Expected result**\r\n\r\n- The response from the
assistant makes reference to the alert who's workflow status was changed
from `open` to `acknowledged`, per the example response and screenshot
below:\r\n\r\n```\r\nBased on the latest data I had received, you have a
total of 47 open alerts. Here's the breakdown: 24 alerts are of low
severity, 12 alerts are of medium severity, 7 alerts are of high
severity, and 4 alerts are of critical severity (Note: One of the
critical severity alerts has been
acknowledged).\r\n```\r\n\r\n![with_acknowledged_alerts](4a8961f2-80eb-457f-b16b-8ea48c5d5c38)","sha":"081f52bfe3fbbaf5bb9476c656c308f7f9430df2","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:
SecuritySolution","Team:Threat Hunting:Investigations","Feature:Elastic
AI
Assistant","v8.12.0","v8.13.0"],"number":173701,"url":"https://github.com/elastic/kibana/pull/173701","mergeCommit":{"message":"[Security
Solution] [Elastic AI Assistant] Include `acknowledged` alerts in the
LangChain `AlertCountsTool` aggregation (#173701)\n\n## [Security
Solution] [Elastic AI Assistant] Include `acknowledged` alerts in the
LangChain `AlertCountsTool` aggregation\r\n\r\nThis PR updates the
LangChain `AlertCountsTool` aggregation, which answers questions like
`How many open alerts do I have?`, to include `acknowledged` alerts. The
`AlertCountsTool` was introduced as part of [[Security Solution]
[Elastic AI Assistant] Retrieval Augmented Generation (RAG) for Alerts
#172542](https://github.com/elastic/kibana/pull/172542)\r\n\r\n- This PR
is similar to <https://github.com/elastic/kibana/pull/173121>, where
`acknowledged` alerts were added to the `OpenAndAcknowledgedAlertsTool`,
which returns the _details_ of alerts\r\n - In contrast to
[#173121](https://github.com/elastic/kibana/pull/173121), this PR is
focused on the alert counts _aggregation_\r\n\r\n- This PR also updates
the `range` of **both** the `AlertCountsTool` and the
`OpenAndAcknowledgedAlertsTool` queries to standardize on the following
syntax, which aligns with the `Last 24 hours` option in the _Commonly
used_ section of the Kibana date picker:\r\n\r\n```json\r\n \"range\":
{\r\n \"@timestamp\": {\r\n \"gte\": \"now-24h\",\r\n \"lte\":
\"now\"\r\n }\r\n }\r\n```\r\n\r\n### Desk testing\r\n\r\nTo desk test
this change:\r\n\r\n- The `assistantRagOnAlerts` feature flag described
in [#172542](https://github.com/elastic/kibana/pull/172542) must be
enabled, per the following
example:\r\n\r\n```\r\nxpack.securitySolution.enableExperimental:
['assistantRagOnAlerts']\r\n```\r\n\r\n- The `Alerts` feature must be
enabled in the assistant settings, per the screenshot below:\r\n\r\n
![enable_alerts](f6a3077d-5815-4225-9a8e-7f5b51d5f2d4)\r\n\r\n1)
Generate alerts with a variety of severity (e.g. `low`, `medium`,
`high`, and `critical`)\r\n\r\n2) After the alerts have been generated,
disable all detection rules to keep the counts static during
testing\r\n\r\n3) Navigate to Security > Alerts\r\n\r\n4) Select `Last
24 hours` from the _Commonly used_ section of the global date
picker\r\n\r\n5) Click the `Treemap` button to select the Treemap
visualization\r\n\r\n6) In the Treemap's `Group by` input, enter
`kibana.alert.severity`\r\n\r\n7) Next, in the Treemap's `Group by top`
input, enter `kibana.alert.workflow_status`\r\n\r\n8) Click the `AI
Assistant` button to open the assistant\r\n\r\n9) Click the `X` button
to clear the conversation\r\n\r\n10) Close the assistant\r\n\r\n11) Add
the following two fields as columns to the Alerts page
table:\r\n\r\n```\r\nkibana.alert.workflow_status\r\n_id\r\n```\r\n\r\n12)
Sort the Alerts table, first by `kibana.alert.risk_score` from high to
low, and then by `@timestamp` from new to old, per the screenshot
below:\r\n\r\n![fields_sorted](e84f06d4-790d-4227-afbf-a233d4848178)\r\n\r\n**Expected
results**\r\n\r\n- The alerts page date range is `Last 24 hours`\r\n-
The `Treemap` is selected\r\n- The treemap is grouped by
`kibana.alert.severity` and then `kibana.alert.workflow_status`\r\n- The
alerts table has custom sorting and columns, per the screenshot
below:\r\n\r\n![alerts_page_setup](f4700abc-b2ca-483e-92d8-5a186142e1fb)\r\n\r\n13)
Click the `AI Assistant` button to open the assistant\r\n\r\n14) Ask the
assistant:\r\n\r\n```\r\nHow many open alerts do I
have?\r\n```\r\n\r\n**Expected results**\r\n\r\n- The assistant will
report on the counts and workflow status of alerts, per the example
response and screenshot below:\r\n\r\n```\r\nYou have a total of 47 open
alerts. Here's the breakdown: 24 alerts with low severity, 12 alerts
with medium severity, 7 alerts with high severity, and 4 alerts with
critical
severity.\r\n```\r\n\r\n![assistant_open_alerts](45740c07-9317-42e6-943d-fc346b8106e5)\r\n\r\n15)
Make note of the counts shown in the assistant, then close the
assistant\r\n\r\nExpected result:\r\n\r\n- The counts from the assistant
match the counts in the treemap legend, per the example screenshot
below:\r\n\r\n![open_alerts_in_treemap](368fb707-9faf-4b9b-a0b3-81fab4d680b2)\r\n\r\n16)
Change the workflow status of an alert in the Alerts table from `open`
to `acknowledged`\r\n\r\n**Expected result**\r\n\r\n- The treemap and
alerts table and include the updated (`acknowledged`) alert, per the
screenshot
below:\r\n\r\n![updated_treemap_and_table](0b8bedb7-aed7-41f1-abcd-f79a79480739)\r\n\r\n17)
Once again, open the assistant\r\n\r\n18) Once again, ask the (same)
question:\r\n\r\n```\r\nHow many open alerts do I
have?\r\n```\r\n\r\n**Expected result**\r\n\r\n- The response from the
assistant makes reference to the alert who's workflow status was changed
from `open` to `acknowledged`, per the example response and screenshot
below:\r\n\r\n```\r\nBased on the latest data I had received, you have a
total of 47 open alerts. Here's the breakdown: 24 alerts are of low
severity, 12 alerts are of medium severity, 7 alerts are of high
severity, and 4 alerts are of critical severity (Note: One of the
critical severity alerts has been
acknowledged).\r\n```\r\n\r\n![with_acknowledged_alerts](4a8961f2-80eb-457f-b16b-8ea48c5d5c38)","sha":"081f52bfe3fbbaf5bb9476c656c308f7f9430df2"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173701","number":173701,"mergeCommit":{"message":"[Security
Solution] [Elastic AI Assistant] Include `acknowledged` alerts in the
LangChain `AlertCountsTool` aggregation (#173701)\n\n## [Security
Solution] [Elastic AI Assistant] Include `acknowledged` alerts in the
LangChain `AlertCountsTool` aggregation\r\n\r\nThis PR updates the
LangChain `AlertCountsTool` aggregation, which answers questions like
`How many open alerts do I have?`, to include `acknowledged` alerts. The
`AlertCountsTool` was introduced as part of [[Security Solution]
[Elastic AI Assistant] Retrieval Augmented Generation (RAG) for Alerts
#172542](https://github.com/elastic/kibana/pull/172542)\r\n\r\n- This PR
is similar to <https://github.com/elastic/kibana/pull/173121>, where
`acknowledged` alerts were added to the `OpenAndAcknowledgedAlertsTool`,
which returns the _details_ of alerts\r\n - In contrast to
[#173121](https://github.com/elastic/kibana/pull/173121), this PR is
focused on the alert counts _aggregation_\r\n\r\n- This PR also updates
the `range` of **both** the `AlertCountsTool` and the
`OpenAndAcknowledgedAlertsTool` queries to standardize on the following
syntax, which aligns with the `Last 24 hours` option in the _Commonly
used_ section of the Kibana date picker:\r\n\r\n```json\r\n \"range\":
{\r\n \"@timestamp\": {\r\n \"gte\": \"now-24h\",\r\n \"lte\":
\"now\"\r\n }\r\n }\r\n```\r\n\r\n### Desk testing\r\n\r\nTo desk test
this change:\r\n\r\n- The `assistantRagOnAlerts` feature flag described
in [#172542](https://github.com/elastic/kibana/pull/172542) must be
enabled, per the following
example:\r\n\r\n```\r\nxpack.securitySolution.enableExperimental:
['assistantRagOnAlerts']\r\n```\r\n\r\n- The `Alerts` feature must be
enabled in the assistant settings, per the screenshot below:\r\n\r\n
![enable_alerts](f6a3077d-5815-4225-9a8e-7f5b51d5f2d4)\r\n\r\n1)
Generate alerts with a variety of severity (e.g. `low`, `medium`,
`high`, and `critical`)\r\n\r\n2) After the alerts have been generated,
disable all detection rules to keep the counts static during
testing\r\n\r\n3) Navigate to Security > Alerts\r\n\r\n4) Select `Last
24 hours` from the _Commonly used_ section of the global date
picker\r\n\r\n5) Click the `Treemap` button to select the Treemap
visualization\r\n\r\n6) In the Treemap's `Group by` input, enter
`kibana.alert.severity`\r\n\r\n7) Next, in the Treemap's `Group by top`
input, enter `kibana.alert.workflow_status`\r\n\r\n8) Click the `AI
Assistant` button to open the assistant\r\n\r\n9) Click the `X` button
to clear the conversation\r\n\r\n10) Close the assistant\r\n\r\n11) Add
the following two fields as columns to the Alerts page
table:\r\n\r\n```\r\nkibana.alert.workflow_status\r\n_id\r\n```\r\n\r\n12)
Sort the Alerts table, first by `kibana.alert.risk_score` from high to
low, and then by `@timestamp` from new to old, per the screenshot
below:\r\n\r\n![fields_sorted](e84f06d4-790d-4227-afbf-a233d4848178)\r\n\r\n**Expected
results**\r\n\r\n- The alerts page date range is `Last 24 hours`\r\n-
The `Treemap` is selected\r\n- The treemap is grouped by
`kibana.alert.severity` and then `kibana.alert.workflow_status`\r\n- The
alerts table has custom sorting and columns, per the screenshot
below:\r\n\r\n![alerts_page_setup](f4700abc-b2ca-483e-92d8-5a186142e1fb)\r\n\r\n13)
Click the `AI Assistant` button to open the assistant\r\n\r\n14) Ask the
assistant:\r\n\r\n```\r\nHow many open alerts do I
have?\r\n```\r\n\r\n**Expected results**\r\n\r\n- The assistant will
report on the counts and workflow status of alerts, per the example
response and screenshot below:\r\n\r\n```\r\nYou have a total of 47 open
alerts. Here's the breakdown: 24 alerts with low severity, 12 alerts
with medium severity, 7 alerts with high severity, and 4 alerts with
critical
severity.\r\n```\r\n\r\n![assistant_open_alerts](45740c07-9317-42e6-943d-fc346b8106e5)\r\n\r\n15)
Make note of the counts shown in the assistant, then close the
assistant\r\n\r\nExpected result:\r\n\r\n- The counts from the assistant
match the counts in the treemap legend, per the example screenshot
below:\r\n\r\n![open_alerts_in_treemap](368fb707-9faf-4b9b-a0b3-81fab4d680b2)\r\n\r\n16)
Change the workflow status of an alert in the Alerts table from `open`
to `acknowledged`\r\n\r\n**Expected result**\r\n\r\n- The treemap and
alerts table and include the updated (`acknowledged`) alert, per the
screenshot
below:\r\n\r\n![updated_treemap_and_table](0b8bedb7-aed7-41f1-abcd-f79a79480739)\r\n\r\n17)
Once again, open the assistant\r\n\r\n18) Once again, ask the (same)
question:\r\n\r\n```\r\nHow many open alerts do I
have?\r\n```\r\n\r\n**Expected result**\r\n\r\n- The response from the
assistant makes reference to the alert who's workflow status was changed
from `open` to `acknowledged`, per the example response and screenshot
below:\r\n\r\n```\r\nBased on the latest data I had received, you have a
total of 47 open alerts. Here's the breakdown: 24 alerts are of low
severity, 12 alerts are of medium severity, 7 alerts are of high
severity, and 4 alerts are of critical severity (Note: One of the
critical severity alerts has been
acknowledged).\r\n```\r\n\r\n![with_acknowledged_alerts](4a8961f2-80eb-457f-b16b-8ea48c5d5c38)","sha":"081f52bfe3fbbaf5bb9476c656c308f7f9430df2"}}]}]
BACKPORT-->
2023-12-21 08:47:15 -06:00
Kibana Machine
93588d5b46
[8.12] [Fleet] show download rate in upgrade details tooltlip (#173614) (#173651)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[Fleet] show download rate in upgrade details tooltlip
(#173614)](https://github.com/elastic/kibana/pull/173614)

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

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

<!--BACKPORT [{"author":{"name":"Julia
Bardi","email":"90178898+juliaElastic@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-12-19T15:07:25Z","message":"[Fleet]
show download rate in upgrade details tooltlip (#173614)\n\n##
Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/171943\r\n\r\nShowing download
rate in the upgrade details tooltip.\r\n\r\nUsed fake data as I couldn't
get an actual agent to be in downloading\r\nstate with download percent
and rate.\r\n\r\n<img width=\"659\"
alt=\"image\"\r\nsrc=\"1488fa7f-b003-4d5a-a98a-27fcc8a4c70c\">\r\n\r\n\r\nInsert
test ES data with curl and go to Agent list/details to see
the\r\ntooltip, replace `existing_agent_id` with an existing agent's id
or\r\ninsert a full agent doc.\r\n```\r\ncurl -sk -XPOST --user
elastic:changeme -H 'content-type:application/json'
\\\r\nhttp://localhost:9200/_security/role/fleet_superuser -d '\r\n
{\r\n \"indices\": [\r\n {\r\n \"names\":
[\".fleet*\",\".kibana*\"],\r\n \"privileges\": [\"all\"],\r\n
\"allow_restricted_indices\": true\r\n }\r\n ]\r\n }'\r\n\r\ncurl -sk
-XPOST --user elastic:changeme -H 'content-type:application/json'
\\\r\nhttp://localhost:9200/_security/user/fleet_superuser -d '\r\n
{\r\n \"password\": \"password\",\r\n \"roles\": [\"superuser\",
\"fleet_superuser\"]\r\n }'\r\n\r\n curl -sk -XPOST --user
fleet_superuser:password -H 'content-type:application/json' \\\r\n
-H'x-elastic-product-origin:fleet' \\\r\n
http://localhost:9200/.fleet-agents/_update_by_query -d '\r\n {\r\n
\"script\": {\r\n \"source\": \"ctx._source.upgrade_details.state =
\\\"UPG_DOWNLOADING\\\";
ctx._source.upgrade_details.metadata.download_percent = 22;
ctx._source.upgrade_details.metadata.download_rate = 1223912;\",\r\n
\"lang\": \"painless\"\r\n },\r\n \"query\": {\r\n \"term\": {\r\n
\"agent.id\":\"existing_agent_id\"\r\n }\r\n }\r\n
}'\r\n\r\n```\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"b9d3c8611876632c587ca854125315c6a5c303bb","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","v8.12.0","v8.13.0"],"number":173614,"url":"https://github.com/elastic/kibana/pull/173614","mergeCommit":{"message":"[Fleet]
show download rate in upgrade details tooltlip (#173614)\n\n##
Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/171943\r\n\r\nShowing download
rate in the upgrade details tooltip.\r\n\r\nUsed fake data as I couldn't
get an actual agent to be in downloading\r\nstate with download percent
and rate.\r\n\r\n<img width=\"659\"
alt=\"image\"\r\nsrc=\"1488fa7f-b003-4d5a-a98a-27fcc8a4c70c\">\r\n\r\n\r\nInsert
test ES data with curl and go to Agent list/details to see
the\r\ntooltip, replace `existing_agent_id` with an existing agent's id
or\r\ninsert a full agent doc.\r\n```\r\ncurl -sk -XPOST --user
elastic:changeme -H 'content-type:application/json'
\\\r\nhttp://localhost:9200/_security/role/fleet_superuser -d '\r\n
{\r\n \"indices\": [\r\n {\r\n \"names\":
[\".fleet*\",\".kibana*\"],\r\n \"privileges\": [\"all\"],\r\n
\"allow_restricted_indices\": true\r\n }\r\n ]\r\n }'\r\n\r\ncurl -sk
-XPOST --user elastic:changeme -H 'content-type:application/json'
\\\r\nhttp://localhost:9200/_security/user/fleet_superuser -d '\r\n
{\r\n \"password\": \"password\",\r\n \"roles\": [\"superuser\",
\"fleet_superuser\"]\r\n }'\r\n\r\n curl -sk -XPOST --user
fleet_superuser:password -H 'content-type:application/json' \\\r\n
-H'x-elastic-product-origin:fleet' \\\r\n
http://localhost:9200/.fleet-agents/_update_by_query -d '\r\n {\r\n
\"script\": {\r\n \"source\": \"ctx._source.upgrade_details.state =
\\\"UPG_DOWNLOADING\\\";
ctx._source.upgrade_details.metadata.download_percent = 22;
ctx._source.upgrade_details.metadata.download_rate = 1223912;\",\r\n
\"lang\": \"painless\"\r\n },\r\n \"query\": {\r\n \"term\": {\r\n
\"agent.id\":\"existing_agent_id\"\r\n }\r\n }\r\n
}'\r\n\r\n```\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"b9d3c8611876632c587ca854125315c6a5c303bb"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173614","number":173614,"mergeCommit":{"message":"[Fleet]
show download rate in upgrade details tooltlip (#173614)\n\n##
Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/171943\r\n\r\nShowing download
rate in the upgrade details tooltip.\r\n\r\nUsed fake data as I couldn't
get an actual agent to be in downloading\r\nstate with download percent
and rate.\r\n\r\n<img width=\"659\"
alt=\"image\"\r\nsrc=\"1488fa7f-b003-4d5a-a98a-27fcc8a4c70c\">\r\n\r\n\r\nInsert
test ES data with curl and go to Agent list/details to see
the\r\ntooltip, replace `existing_agent_id` with an existing agent's id
or\r\ninsert a full agent doc.\r\n```\r\ncurl -sk -XPOST --user
elastic:changeme -H 'content-type:application/json'
\\\r\nhttp://localhost:9200/_security/role/fleet_superuser -d '\r\n
{\r\n \"indices\": [\r\n {\r\n \"names\":
[\".fleet*\",\".kibana*\"],\r\n \"privileges\": [\"all\"],\r\n
\"allow_restricted_indices\": true\r\n }\r\n ]\r\n }'\r\n\r\ncurl -sk
-XPOST --user elastic:changeme -H 'content-type:application/json'
\\\r\nhttp://localhost:9200/_security/user/fleet_superuser -d '\r\n
{\r\n \"password\": \"password\",\r\n \"roles\": [\"superuser\",
\"fleet_superuser\"]\r\n }'\r\n\r\n curl -sk -XPOST --user
fleet_superuser:password -H 'content-type:application/json' \\\r\n
-H'x-elastic-product-origin:fleet' \\\r\n
http://localhost:9200/.fleet-agents/_update_by_query -d '\r\n {\r\n
\"script\": {\r\n \"source\": \"ctx._source.upgrade_details.state =
\\\"UPG_DOWNLOADING\\\";
ctx._source.upgrade_details.metadata.download_percent = 22;
ctx._source.upgrade_details.metadata.download_rate = 1223912;\",\r\n
\"lang\": \"painless\"\r\n },\r\n \"query\": {\r\n \"term\": {\r\n
\"agent.id\":\"existing_agent_id\"\r\n }\r\n }\r\n
}'\r\n\r\n```\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"b9d3c8611876632c587ca854125315c6a5c303bb"}}]}]
BACKPORT-->

Co-authored-by: Julia Bardi <90178898+juliaElastic@users.noreply.github.com>
Co-authored-by: Julien Lind <julien.lind@elastic.co>
2023-12-21 06:04:43 -07:00
Kibana Machine
a7e9015ced
[8.12] Adjust wording in Set up KB message (#173814) (#173820)
# Backport

This will backport the following commits from `main` to `8.12`:
- [Adjust wording in Set up KB message
(#173814)](https://github.com/elastic/kibana/pull/173814)

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

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

<!--BACKPORT [{"author":{"name":"Coen
Warmer","email":"coen.warmer@gmail.com"},"sourceCommit":{"committedDate":"2023-12-21T11:03:02Z","message":"Adjust
wording in Set up KB message
(#173814)","sha":"85df7c994930c9dccd30e8f30b81d703f5521d34","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","v8.12.0","v8.13.0"],"number":173814,"url":"https://github.com/elastic/kibana/pull/173814","mergeCommit":{"message":"Adjust
wording in Set up KB message
(#173814)","sha":"85df7c994930c9dccd30e8f30b81d703f5521d34"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173814","number":173814,"mergeCommit":{"message":"Adjust
wording in Set up KB message
(#173814)","sha":"85df7c994930c9dccd30e8f30b81d703f5521d34"}}]}]
BACKPORT-->

Co-authored-by: Coen Warmer <coen.warmer@gmail.com>
2023-12-21 05:59:23 -07:00
Kibana Machine
a78512f504
[8.12] [Security Solution] Enable the feature flag for JSON diffing in prebuilt rules (#173368) (#173822)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[Security Solution] Enable the feature flag for JSON diffing in
prebuilt rules (#173368)](https://github.com/elastic/kibana/pull/173368)

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

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

<!--BACKPORT [{"author":{"name":"Nikita
Indik","email":"nikita.indik@elastic.co"},"sourceCommit":{"committedDate":"2023-12-21T11:39:16Z","message":"[Security
Solution] Enable the feature flag for JSON diffing in prebuilt rules
(#173368)\n\n**Ticket:**
https://github.com/elastic/kibana/issues/169160\r\n\r\n##
Summary\r\n\r\nSets the `jsonPrebuiltRulesDiffingEnabled` to `true` to
enable the new\r\n\"Updates\" tab in prebuilt rules flyout.\r\n\r\n###
IMPORTANT: Merge only once acceptance and exploratory testing
are\r\npassed!\r\n\r\n<img width=\"1178\" alt=\"Scherm­afbeelding
2023-12-13 om 17 37
07\"\r\nsrc=\"9e07e069-595f-49a6-98c2-d2ed4aa3f977\">\r\n\r\nCo-authored-by:
Georgii Gorbachev
<georgii.gorbachev@elastic.co>","sha":"d7b99a587799e34c9534e4ba793aad65b4f78d55","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Detections
and Resp","Team: SecuritySolution","Team:Detection Rule
Management","Feature:Prebuilt Detection
Rules","v8.12.0","v8.13.0"],"number":173368,"url":"https://github.com/elastic/kibana/pull/173368","mergeCommit":{"message":"[Security
Solution] Enable the feature flag for JSON diffing in prebuilt rules
(#173368)\n\n**Ticket:**
https://github.com/elastic/kibana/issues/169160\r\n\r\n##
Summary\r\n\r\nSets the `jsonPrebuiltRulesDiffingEnabled` to `true` to
enable the new\r\n\"Updates\" tab in prebuilt rules flyout.\r\n\r\n###
IMPORTANT: Merge only once acceptance and exploratory testing
are\r\npassed!\r\n\r\n<img width=\"1178\" alt=\"Scherm­afbeelding
2023-12-13 om 17 37
07\"\r\nsrc=\"9e07e069-595f-49a6-98c2-d2ed4aa3f977\">\r\n\r\nCo-authored-by:
Georgii Gorbachev
<georgii.gorbachev@elastic.co>","sha":"d7b99a587799e34c9534e4ba793aad65b4f78d55"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173368","number":173368,"mergeCommit":{"message":"[Security
Solution] Enable the feature flag for JSON diffing in prebuilt rules
(#173368)\n\n**Ticket:**
https://github.com/elastic/kibana/issues/169160\r\n\r\n##
Summary\r\n\r\nSets the `jsonPrebuiltRulesDiffingEnabled` to `true` to
enable the new\r\n\"Updates\" tab in prebuilt rules flyout.\r\n\r\n###
IMPORTANT: Merge only once acceptance and exploratory testing
are\r\npassed!\r\n\r\n<img width=\"1178\" alt=\"Scherm­afbeelding
2023-12-13 om 17 37
07\"\r\nsrc=\"9e07e069-595f-49a6-98c2-d2ed4aa3f977\">\r\n\r\nCo-authored-by:
Georgii Gorbachev
<georgii.gorbachev@elastic.co>","sha":"d7b99a587799e34c9534e4ba793aad65b4f78d55"}}]}]
BACKPORT-->

Co-authored-by: Nikita Indik <nikita.indik@elastic.co>
2023-12-21 05:56:03 -07:00
Kibana Machine
170a221708
[8.12] [Fleet] adding upgrade details UPG_FAILED check to stuck in updating (#173628) (#173807)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[Fleet] adding upgrade details UPG_FAILED check to stuck in updating
(#173628)](https://github.com/elastic/kibana/pull/173628)

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

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

<!--BACKPORT [{"author":{"name":"Julia
Bardi","email":"90178898+juliaElastic@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-12-21T08:06:02Z","message":"[Fleet]
adding upgrade details UPG_FAILED check to stuck in updating
(#173628)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/171419\r\n\r\nAdded upgrade
details check to restart upgrade callout when agent is\r\nstuck in
updating.\r\nChanged the copy slightly when the agent has failed upgrade
state.\r\n\r\n<img width=\"653\"
alt=\"image\"\r\nsrc=\"50061732-aa92-495b-b683-4d96114a1d5a\">\r\n\r\nExisting
copy when there is no upgrade details (stuck in updating for\r\nmore
than 2 hours):\r\n<img width=\"609\"
alt=\"image\"\r\nsrc=\"14413c4a-ce51-49fa-a217-68993c4378fd\">\r\n\r\nAdjusted
Agent list tooltip as well if upgrade details state is
failed.\r\n\r\n<img width=\"513\"
alt=\"image\"\r\nsrc=\"6836e02e-2c30-4c0a-91ea-8baddb0ccf03\">\r\n\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"1f3d3eaaa703ddc470ebe3e2e6140cd068434f14","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","v8.12.0","v8.13.0"],"number":173628,"url":"https://github.com/elastic/kibana/pull/173628","mergeCommit":{"message":"[Fleet]
adding upgrade details UPG_FAILED check to stuck in updating
(#173628)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/171419\r\n\r\nAdded upgrade
details check to restart upgrade callout when agent is\r\nstuck in
updating.\r\nChanged the copy slightly when the agent has failed upgrade
state.\r\n\r\n<img width=\"653\"
alt=\"image\"\r\nsrc=\"50061732-aa92-495b-b683-4d96114a1d5a\">\r\n\r\nExisting
copy when there is no upgrade details (stuck in updating for\r\nmore
than 2 hours):\r\n<img width=\"609\"
alt=\"image\"\r\nsrc=\"14413c4a-ce51-49fa-a217-68993c4378fd\">\r\n\r\nAdjusted
Agent list tooltip as well if upgrade details state is
failed.\r\n\r\n<img width=\"513\"
alt=\"image\"\r\nsrc=\"6836e02e-2c30-4c0a-91ea-8baddb0ccf03\">\r\n\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"1f3d3eaaa703ddc470ebe3e2e6140cd068434f14"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173628","number":173628,"mergeCommit":{"message":"[Fleet]
adding upgrade details UPG_FAILED check to stuck in updating
(#173628)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/171419\r\n\r\nAdded upgrade
details check to restart upgrade callout when agent is\r\nstuck in
updating.\r\nChanged the copy slightly when the agent has failed upgrade
state.\r\n\r\n<img width=\"653\"
alt=\"image\"\r\nsrc=\"50061732-aa92-495b-b683-4d96114a1d5a\">\r\n\r\nExisting
copy when there is no upgrade details (stuck in updating for\r\nmore
than 2 hours):\r\n<img width=\"609\"
alt=\"image\"\r\nsrc=\"14413c4a-ce51-49fa-a217-68993c4378fd\">\r\n\r\nAdjusted
Agent list tooltip as well if upgrade details state is
failed.\r\n\r\n<img width=\"513\"
alt=\"image\"\r\nsrc=\"6836e02e-2c30-4c0a-91ea-8baddb0ccf03\">\r\n\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"1f3d3eaaa703ddc470ebe3e2e6140cd068434f14"}}]}]
BACKPORT-->

Co-authored-by: Julia Bardi <90178898+juliaElastic@users.noreply.github.com>
2023-12-21 02:18:32 -07:00
Kibana Machine
487baa7cd4
[8.12] [RAM] Fix rule edit flyout alerts search bar autocomplete scroll (#172899) (#173789)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[RAM] Fix rule edit flyout alerts search bar autocomplete scroll
(#172899)](https://github.com/elastic/kibana/pull/172899)

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

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

<!--BACKPORT [{"author":{"name":"Jiawei
Wu","email":"74562234+JiaweiWu@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-12-20T20:21:51Z","message":"[RAM]
Fix rule edit flyout alerts search bar autocomplete scroll
(#172899)\n\n## Summary\r\nResolves:
https://github.com/elastic/kibana/issues/172594\r\n\r\nFixes the rule
edit alerts search bar autocomplete causing background to\r\nalso scroll
infinitely\r\n\r\n\r\n\r\nf55db528-b933-400a-80b5-8a3063f0f29c\r\n\r\n---------\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Xavier Mouligneau
<xavier.mouligneau@elastic.co>","sha":"4465c1e090ab1179f12000d52b1dc0eefd14217f","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","Feature:Alerting/RulesManagement","v8.11.0","v8.12.0","v8.13.0"],"number":172899,"url":"https://github.com/elastic/kibana/pull/172899","mergeCommit":{"message":"[RAM]
Fix rule edit flyout alerts search bar autocomplete scroll
(#172899)\n\n## Summary\r\nResolves:
https://github.com/elastic/kibana/issues/172594\r\n\r\nFixes the rule
edit alerts search bar autocomplete causing background to\r\nalso scroll
infinitely\r\n\r\n\r\n\r\nf55db528-b933-400a-80b5-8a3063f0f29c\r\n\r\n---------\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Xavier Mouligneau
<xavier.mouligneau@elastic.co>","sha":"4465c1e090ab1179f12000d52b1dc0eefd14217f"}},"sourceBranch":"main","suggestedTargetBranches":["8.11","8.12"],"targetPullRequestStates":[{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/172899","number":172899,"mergeCommit":{"message":"[RAM]
Fix rule edit flyout alerts search bar autocomplete scroll
(#172899)\n\n## Summary\r\nResolves:
https://github.com/elastic/kibana/issues/172594\r\n\r\nFixes the rule
edit alerts search bar autocomplete causing background to\r\nalso scroll
infinitely\r\n\r\n\r\n\r\nf55db528-b933-400a-80b5-8a3063f0f29c\r\n\r\n---------\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Xavier Mouligneau
<xavier.mouligneau@elastic.co>","sha":"4465c1e090ab1179f12000d52b1dc0eefd14217f"}}]}]
BACKPORT-->

Co-authored-by: Jiawei Wu <74562234+JiaweiWu@users.noreply.github.com>
2023-12-20 14:34:03 -07:00
Dan Panzarella
88a4218b8f
[8.12] [Security Solution] Disable package v2 detection for now (#173686) (#173750)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[Security Solution] Disable package v2 detection for now
(#173686)](https://github.com/elastic/kibana/pull/173686)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Dan
Panzarella","email":"pzl@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-12-20T14:05:43Z","message":"[Security
Solution] Disable package v2 detection for now
(#173686)","sha":"c3b3194ea06bc5e22b6da798b814cab812cd01e1","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Defend
Workflows","v8.12.0","v8.13.0"],"number":173686,"url":"https://github.com/elastic/kibana/pull/173686","mergeCommit":{"message":"[Security
Solution] Disable package v2 detection for now
(#173686)","sha":"c3b3194ea06bc5e22b6da798b814cab812cd01e1"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173686","number":173686,"mergeCommit":{"message":"[Security
Solution] Disable package v2 detection for now
(#173686)","sha":"c3b3194ea06bc5e22b6da798b814cab812cd01e1"}}]}]
BACKPORT-->
2023-12-20 09:28:32 -08:00
Drew Tate
7542adb3fb
[8.12] [Lens] Fix context formula functions (#172710) (#173760)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[Lens] Fix context formula functions
(#172710)](https://github.com/elastic/kibana/pull/172710)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Drew
Tate","email":"drew.tate@elastic.co"},"sourceCommit":{"committedDate":"2023-12-19T15:32:31Z","message":"[Lens]
Fix context formula functions (#172710)\n\n## Summary\r\nFix
f5b50ffa-4a03-45ee-bc7a-2f2aca7fa3bd\r\n\r\n\r\n\r\n###
Checklist\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"99763dc61647c817384019f6603de7ad258eea01","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Feature:ExpressionLanguage","Team:Visualizations","Feature:Lens","backport:prev-minor","v8.13.0"],"number":172710,"url":"https://github.com/elastic/kibana/pull/172710","mergeCommit":{"message":"[Lens]
Fix context formula functions (#172710)\n\n## Summary\r\nFix
f5b50ffa-4a03-45ee-bc7a-2f2aca7fa3bd\r\n\r\n\r\n\r\n###
Checklist\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"99763dc61647c817384019f6603de7ad258eea01"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/172710","number":172710,"mergeCommit":{"message":"[Lens]
Fix context formula functions (#172710)\n\n## Summary\r\nFix
f5b50ffa-4a03-45ee-bc7a-2f2aca7fa3bd\r\n\r\n\r\n\r\n###
Checklist\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"99763dc61647c817384019f6603de7ad258eea01"}}]}]
BACKPORT-->
2023-12-20 19:04:54 +02:00
Kibana Machine
9341adc267
[8.12] [EDR Workflows][Osquery] Prevent querying offline agents (#173300) (#173743)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[EDR Workflows][Osquery] Prevent querying offline agents
(#173300)](https://github.com/elastic/kibana/pull/173300)

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

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

<!--BACKPORT [{"author":{"name":"Konrad
Szwarc","email":"konrad.szwarc@elastic.co"},"sourceCommit":{"committedDate":"2023-12-20T13:41:39Z","message":"[EDR
Workflows][Osquery] Prevent querying offline agents (#173300)\n\ncloses
https://github.com/elastic/security-team/issues/8138\r\n\r\nThis PR
resolves the bug that allowed users to run a query against an\r\noffline
agent using a query from their query
history.\r\n\r\nBefore:\r\n\r\n\r\nc4ff0213-8266-4fc1-a989-99bee8e93975","sha":"b35e323718497338d7101f36253208bb3c301c1b","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:Defend
Workflows","Osquery","v8.12.0","v8.13.0"],"number":173300,"url":"https://github.com/elastic/kibana/pull/173300","mergeCommit":{"message":"[EDR
Workflows][Osquery] Prevent querying offline agents (#173300)\n\ncloses
https://github.com/elastic/security-team/issues/8138\r\n\r\nThis PR
resolves the bug that allowed users to run a query against an\r\noffline
agent using a query from their query
history.\r\n\r\nBefore:\r\n\r\n\r\nc4ff0213-8266-4fc1-a989-99bee8e93975","sha":"b35e323718497338d7101f36253208bb3c301c1b"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173300","number":173300,"mergeCommit":{"message":"[EDR
Workflows][Osquery] Prevent querying offline agents (#173300)\n\ncloses
https://github.com/elastic/security-team/issues/8138\r\n\r\nThis PR
resolves the bug that allowed users to run a query against an\r\noffline
agent using a query from their query
history.\r\n\r\nBefore:\r\n\r\n\r\nc4ff0213-8266-4fc1-a989-99bee8e93975","sha":"b35e323718497338d7101f36253208bb3c301c1b"}}]}]
BACKPORT-->

Co-authored-by: Konrad Szwarc <konrad.szwarc@elastic.co>
2023-12-20 07:53:49 -07:00
Kibana Machine
db717ad064
[8.12] Fix warnings generated by the model selection list (#173629) (#173741)
# Backport

This will backport the following commits from `main` to `8.12`:
- [Fix warnings generated by the model selection list
(#173629)](https://github.com/elastic/kibana/pull/173629)

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

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

<!--BACKPORT [{"author":{"name":"Mike
Pellegrini","email":"mike.pellegrini@elastic.co"},"sourceCommit":{"committedDate":"2023-12-20T13:29:12Z","message":"Fix
warnings generated by the model selection list (#173629)\n\n##
Summary\r\n\r\nFix DOM attribute warnings generated by the model
selection list. This\r\napproach uses the
[`option.data`\r\nprop](https://eui.elastic.co/#/forms/selectable#rendering-the-options)\r\nto
pass custom data for option rendering, which prevents the custom
data\r\nfrom being added to the rendered DOM
element.","sha":"3c75764e0763ce6adee5a2aac51a0e4216492363","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:EnterpriseSearch","v8.12.0","v8.13.0"],"number":173629,"url":"https://github.com/elastic/kibana/pull/173629","mergeCommit":{"message":"Fix
warnings generated by the model selection list (#173629)\n\n##
Summary\r\n\r\nFix DOM attribute warnings generated by the model
selection list. This\r\napproach uses the
[`option.data`\r\nprop](https://eui.elastic.co/#/forms/selectable#rendering-the-options)\r\nto
pass custom data for option rendering, which prevents the custom
data\r\nfrom being added to the rendered DOM
element.","sha":"3c75764e0763ce6adee5a2aac51a0e4216492363"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173629","number":173629,"mergeCommit":{"message":"Fix
warnings generated by the model selection list (#173629)\n\n##
Summary\r\n\r\nFix DOM attribute warnings generated by the model
selection list. This\r\napproach uses the
[`option.data`\r\nprop](https://eui.elastic.co/#/forms/selectable#rendering-the-options)\r\nto
pass custom data for option rendering, which prevents the custom
data\r\nfrom being added to the rendered DOM
element.","sha":"3c75764e0763ce6adee5a2aac51a0e4216492363"}}]}]
BACKPORT-->

Co-authored-by: Mike Pellegrini <mike.pellegrini@elastic.co>
2023-12-20 07:42:58 -07:00
Kibana Machine
e352a3190d
[8.12] [Observability][Infra] Add parent link in host detail's breadcrumb (#170792) (#173735)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[Observability][Infra] Add parent link in host detail's breadcrumb
(#170792)](https://github.com/elastic/kibana/pull/170792)

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

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

<!--BACKPORT
[{"author":{"name":"ruhshan","email":"5312918+Ruhshan@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-12-20T12:38:57Z","message":"[Observability][Infra]
Add parent link in host detail's breadcrumb (#170792)\n\n##
Summary\r\n\r\nFixes #170642\r\n\r\nAdded link to hosts in the
breadcrumb for host details
page.\r\n\r\n\r\n![image](273c3b86-bfbd-485c-9bfe-92559caed847)\r\n\r\n\r\n###
For maintainers\r\n\r\n- [ ] This was checked for breaking API changes
and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by:
Cauê Marcondes
<55978943+cauemarcondes@users.noreply.github.com>\r\nCo-authored-by:
jennypavlova <dzheni.pavlova@elastic.co>\r\nCo-authored-by: Kibana
Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"fbd3601ced7ab4411d3a2d71a3f9fbe137696f48","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","💝community","v8.12.0","v8.13.0"],"number":170792,"url":"https://github.com/elastic/kibana/pull/170792","mergeCommit":{"message":"[Observability][Infra]
Add parent link in host detail's breadcrumb (#170792)\n\n##
Summary\r\n\r\nFixes #170642\r\n\r\nAdded link to hosts in the
breadcrumb for host details
page.\r\n\r\n\r\n![image](273c3b86-bfbd-485c-9bfe-92559caed847)\r\n\r\n\r\n###
For maintainers\r\n\r\n- [ ] This was checked for breaking API changes
and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by:
Cauê Marcondes
<55978943+cauemarcondes@users.noreply.github.com>\r\nCo-authored-by:
jennypavlova <dzheni.pavlova@elastic.co>\r\nCo-authored-by: Kibana
Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"fbd3601ced7ab4411d3a2d71a3f9fbe137696f48"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/170792","number":170792,"mergeCommit":{"message":"[Observability][Infra]
Add parent link in host detail's breadcrumb (#170792)\n\n##
Summary\r\n\r\nFixes #170642\r\n\r\nAdded link to hosts in the
breadcrumb for host details
page.\r\n\r\n\r\n![image](273c3b86-bfbd-485c-9bfe-92559caed847)\r\n\r\n\r\n###
For maintainers\r\n\r\n- [ ] This was checked for breaking API changes
and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by:
Cauê Marcondes
<55978943+cauemarcondes@users.noreply.github.com>\r\nCo-authored-by:
jennypavlova <dzheni.pavlova@elastic.co>\r\nCo-authored-by: Kibana
Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"fbd3601ced7ab4411d3a2d71a3f9fbe137696f48"}}]}]
BACKPORT-->

Co-authored-by: ruhshan <5312918+Ruhshan@users.noreply.github.com>
2023-12-20 06:58:12 -07:00
Kibana Machine
ddcf10b7d9
[8.12] [ML] Fix registering of the ML alerting rules with the basic license (#173644) (#173733)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[ML] Fix registering of the ML alerting rules with the basic license
(#173644)](https://github.com/elastic/kibana/pull/173644)

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

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

<!--BACKPORT [{"author":{"name":"Dima
Arnautov","email":"dmitrii.arnautov@elastic.co"},"sourceCommit":{"committedDate":"2023-12-20T12:31:21Z","message":"[ML]
Fix registering of the ML alerting rules with the basic license
(#173644)\n\n## Summary\r\n\r\nFixes the license checks for registering
ML alerting rules, so that if\r\nthe user doesn't have the required
license to create a rule instance, we\r\nstill show the entry in the
list. The alerting framework disables the\r\nrule type if license
requirements aren't met.\r\n\r\n<img width=\"617\"
alt=\"image\"\r\nsrc=\"891c44f4-ec7c-412b-afcb-e6084193eaed\">","sha":"19b82f8b61b284dd55308eed15f3fc37ea41c1ac","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix",":ml","Feature:Anomaly
Detection","Feature:Alerting/RuleTypes","Team:ML","v8.12.0","v8.13.0"],"number":173644,"url":"https://github.com/elastic/kibana/pull/173644","mergeCommit":{"message":"[ML]
Fix registering of the ML alerting rules with the basic license
(#173644)\n\n## Summary\r\n\r\nFixes the license checks for registering
ML alerting rules, so that if\r\nthe user doesn't have the required
license to create a rule instance, we\r\nstill show the entry in the
list. The alerting framework disables the\r\nrule type if license
requirements aren't met.\r\n\r\n<img width=\"617\"
alt=\"image\"\r\nsrc=\"891c44f4-ec7c-412b-afcb-e6084193eaed\">","sha":"19b82f8b61b284dd55308eed15f3fc37ea41c1ac"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173644","number":173644,"mergeCommit":{"message":"[ML]
Fix registering of the ML alerting rules with the basic license
(#173644)\n\n## Summary\r\n\r\nFixes the license checks for registering
ML alerting rules, so that if\r\nthe user doesn't have the required
license to create a rule instance, we\r\nstill show the entry in the
list. The alerting framework disables the\r\nrule type if license
requirements aren't met.\r\n\r\n<img width=\"617\"
alt=\"image\"\r\nsrc=\"891c44f4-ec7c-412b-afcb-e6084193eaed\">","sha":"19b82f8b61b284dd55308eed15f3fc37ea41c1ac"}}]}]
BACKPORT-->

Co-authored-by: Dima Arnautov <dmitrii.arnautov@elastic.co>
2023-12-20 06:46:45 -07:00
Kibana Machine
afc7e7a62d
[8.12] [ML] Sharing install elastic model service (#171918) (#173729)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[ML] Sharing install elastic model service
(#171918)](https://github.com/elastic/kibana/pull/171918)

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

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

<!--BACKPORT [{"author":{"name":"James
Gowdy","email":"jgowdy@elastic.co"},"sourceCommit":{"committedDate":"2023-12-20T12:00:55Z","message":"[ML]
Sharing install elastic model service (#171918)\n\nShares our
[recently\r\nadded](https://github.com/elastic/kibana/pull/169939)
install elastic\r\nmodel endpoint as a shared
service.","sha":"6a43e94e6c3de4378c583a266611f30049332662","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement",":ml","Feature:3rd
Party
Models","v8.12.0","v8.13.0"],"number":171918,"url":"https://github.com/elastic/kibana/pull/171918","mergeCommit":{"message":"[ML]
Sharing install elastic model service (#171918)\n\nShares our
[recently\r\nadded](https://github.com/elastic/kibana/pull/169939)
install elastic\r\nmodel endpoint as a shared
service.","sha":"6a43e94e6c3de4378c583a266611f30049332662"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/171918","number":171918,"mergeCommit":{"message":"[ML]
Sharing install elastic model service (#171918)\n\nShares our
[recently\r\nadded](https://github.com/elastic/kibana/pull/169939)
install elastic\r\nmodel endpoint as a shared
service.","sha":"6a43e94e6c3de4378c583a266611f30049332662"}}]}]
BACKPORT-->

Co-authored-by: James Gowdy <jgowdy@elastic.co>
2023-12-20 06:19:36 -07:00
Kibana Machine
f4d642d472
[8.12] [ML] Fixes display of actions column in the datafeed chart flyout (#173365) (#173726)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[ML] Fixes display of actions column in the datafeed chart flyout
(#173365)](https://github.com/elastic/kibana/pull/173365)

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

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

<!--BACKPORT [{"author":{"name":"Pete
Harverson","email":"pete@elastic.co"},"sourceCommit":{"committedDate":"2023-12-20T11:02:57Z","message":"[ML]
Fixes display of actions column in the datafeed chart flyout
(#173365)\n\n## Summary\r\n\r\nFixes the 'Actions' column in the
datafeed chart flyout, opened from the\r\nanomaly detection jobs list,
so that the 'Toggle in chart' action is\r\nonly shown once per
row.\r\n\r\n#### Before:\r\n\r\n<img width=\"851\"
alt=\"datafeed_flyout_actions_before\"\r\nsrc=\"60f5cb8c-8491-4548-a4d1-336aa66dabaa\">\r\n\r\n\r\n####
After:\r\n\r\n<img width=\"851\"
alt=\"datafeed_flyout_actions_after\"\r\nsrc=\"a85cbbea-44d8-499d-aa89-98b56386075d\">\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"643aa605cd803a3f323db323a679d207bd098544","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix",":ml","Feature:Anomaly
Detection","v8.12.0","v8.13.0"],"number":173365,"url":"https://github.com/elastic/kibana/pull/173365","mergeCommit":{"message":"[ML]
Fixes display of actions column in the datafeed chart flyout
(#173365)\n\n## Summary\r\n\r\nFixes the 'Actions' column in the
datafeed chart flyout, opened from the\r\nanomaly detection jobs list,
so that the 'Toggle in chart' action is\r\nonly shown once per
row.\r\n\r\n#### Before:\r\n\r\n<img width=\"851\"
alt=\"datafeed_flyout_actions_before\"\r\nsrc=\"60f5cb8c-8491-4548-a4d1-336aa66dabaa\">\r\n\r\n\r\n####
After:\r\n\r\n<img width=\"851\"
alt=\"datafeed_flyout_actions_after\"\r\nsrc=\"a85cbbea-44d8-499d-aa89-98b56386075d\">\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"643aa605cd803a3f323db323a679d207bd098544"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173365","number":173365,"mergeCommit":{"message":"[ML]
Fixes display of actions column in the datafeed chart flyout
(#173365)\n\n## Summary\r\n\r\nFixes the 'Actions' column in the
datafeed chart flyout, opened from the\r\nanomaly detection jobs list,
so that the 'Toggle in chart' action is\r\nonly shown once per
row.\r\n\r\n#### Before:\r\n\r\n<img width=\"851\"
alt=\"datafeed_flyout_actions_before\"\r\nsrc=\"60f5cb8c-8491-4548-a4d1-336aa66dabaa\">\r\n\r\n\r\n####
After:\r\n\r\n<img width=\"851\"
alt=\"datafeed_flyout_actions_after\"\r\nsrc=\"a85cbbea-44d8-499d-aa89-98b56386075d\">\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"643aa605cd803a3f323db323a679d207bd098544"}}]}]
BACKPORT-->

Co-authored-by: Pete Harverson <pete@elastic.co>
2023-12-20 05:22:36 -07:00
Kibana Machine
fe1cacecb0
[8.12] [Fleet] Do not write to metrics-fleet_server.usage* if .fleet-agents is not yet created (#173689) (#173725)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[Fleet] Do not write to metrics-fleet_server.usage* if .fleet-agents
is not yet created
(#173689)](https://github.com/elastic/kibana/pull/173689)

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

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

<!--BACKPORT [{"author":{"name":"Nicolas
Chaulet","email":"nicolas.chaulet@elastic.co"},"sourceCommit":{"committedDate":"2023-12-20T10:46:12Z","message":"[Fleet]
Do not write to metrics-fleet_server.usage* if .fleet-agents is not yet
created
(#173689)","sha":"50f67699f7a6183ba770e24a7a4575567150ad05","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","backport:prev-minor","v8.13.0"],"number":173689,"url":"https://github.com/elastic/kibana/pull/173689","mergeCommit":{"message":"[Fleet]
Do not write to metrics-fleet_server.usage* if .fleet-agents is not yet
created
(#173689)","sha":"50f67699f7a6183ba770e24a7a4575567150ad05"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173689","number":173689,"mergeCommit":{"message":"[Fleet]
Do not write to metrics-fleet_server.usage* if .fleet-agents is not yet
created (#173689)","sha":"50f67699f7a6183ba770e24a7a4575567150ad05"}}]}]
BACKPORT-->

Co-authored-by: Nicolas Chaulet <nicolas.chaulet@elastic.co>
2023-12-20 05:18:52 -07:00
Kibana Machine
9c93b5a9ed
[8.12] [EDR Workflows][Osquery] Proper schema generation for rules (#173611) (#173724)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[EDR Workflows][Osquery] Proper schema generation for rules
(#173611)](https://github.com/elastic/kibana/pull/173611)

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

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

<!--BACKPORT [{"author":{"name":"Konrad
Szwarc","email":"konrad.szwarc@elastic.co"},"sourceCommit":{"committedDate":"2023-12-20T10:58:54Z","message":"[EDR
Workflows][Osquery] Proper schema generation for rules
(#173611)\n\nhttps://github.com/elastic/kibana/issues/172452\r\n\r\nProper
way of generating schema (`.schema.yaml` as
source).\r\n\r\n\r\n\r\nd7be0f71-62ad-4afb-aa43-98b6af7bfd47","sha":"fc367aaaa405aaeb8905490bb27b0c80eac4a132","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Defend
Workflows","Osquery","v8.12.0","v8.13.0"],"number":173611,"url":"https://github.com/elastic/kibana/pull/173611","mergeCommit":{"message":"[EDR
Workflows][Osquery] Proper schema generation for rules
(#173611)\n\nhttps://github.com/elastic/kibana/issues/172452\r\n\r\nProper
way of generating schema (`.schema.yaml` as
source).\r\n\r\n\r\n\r\nd7be0f71-62ad-4afb-aa43-98b6af7bfd47","sha":"fc367aaaa405aaeb8905490bb27b0c80eac4a132"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173611","number":173611,"mergeCommit":{"message":"[EDR
Workflows][Osquery] Proper schema generation for rules
(#173611)\n\nhttps://github.com/elastic/kibana/issues/172452\r\n\r\nProper
way of generating schema (`.schema.yaml` as
source).\r\n\r\n\r\n\r\nd7be0f71-62ad-4afb-aa43-98b6af7bfd47","sha":"fc367aaaa405aaeb8905490bb27b0c80eac4a132"}}]}]
BACKPORT-->

Co-authored-by: Konrad Szwarc <konrad.szwarc@elastic.co>
2023-12-20 05:17:20 -07:00
Kibana Machine
8b0068752b
[8.12] [Sentinel One] Disable connector params field (#173610) (#173719)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[Sentinel One] Disable connector params field
(#173610)](https://github.com/elastic/kibana/pull/173610)

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

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

<!--BACKPORT [{"author":{"name":"Patryk
Kopyciński","email":"contact@patrykkopycinski.com"},"sourceCommit":{"committedDate":"2023-12-20T09:54:58Z","message":"[Sentinel
One] Disable connector params field (#173610)\n\n##
Summary\r\n\r\nCurrently, we don't support automated response actions,
so we don't want\r\nto expose it to the user in the Connector's Test
tab\r\n\r\n<img width=\"3003\" alt=\"Zrzut ekranu 2023-12-19 o 12 38
37\"\r\nsrc=\"d745b2ad-def7-4e06-adae-0b958fb63d4c\">","sha":"5c5c72d4bac78b6964c2b23ec63a45b0d8ba8e22","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:feature","v8.12.0","v8.13.0"],"number":173610,"url":"https://github.com/elastic/kibana/pull/173610","mergeCommit":{"message":"[Sentinel
One] Disable connector params field (#173610)\n\n##
Summary\r\n\r\nCurrently, we don't support automated response actions,
so we don't want\r\nto expose it to the user in the Connector's Test
tab\r\n\r\n<img width=\"3003\" alt=\"Zrzut ekranu 2023-12-19 o 12 38
37\"\r\nsrc=\"d745b2ad-def7-4e06-adae-0b958fb63d4c\">","sha":"5c5c72d4bac78b6964c2b23ec63a45b0d8ba8e22"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173610","number":173610,"mergeCommit":{"message":"[Sentinel
One] Disable connector params field (#173610)\n\n##
Summary\r\n\r\nCurrently, we don't support automated response actions,
so we don't want\r\nto expose it to the user in the Connector's Test
tab\r\n\r\n<img width=\"3003\" alt=\"Zrzut ekranu 2023-12-19 o 12 38
37\"\r\nsrc=\"d745b2ad-def7-4e06-adae-0b958fb63d4c\">","sha":"5c5c72d4bac78b6964c2b23ec63a45b0d8ba8e22"}}]}]
BACKPORT-->

Co-authored-by: Patryk Kopyciński <contact@patrykkopycinski.com>
2023-12-20 04:08:38 -07:00
Kibana Machine
d75b20ed8b
[8.12] [UX INP] Fix label casing (#173605) (#173655)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[UX INP] Fix label casing
(#173605)](https://github.com/elastic/kibana/pull/173605)

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

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

<!--BACKPORT
[{"author":{"name":"Shahzad","email":"shahzad31comp@gmail.com"},"sourceCommit":{"committedDate":"2023-12-19T15:20:37Z","message":"[UX
INP] Fix label casing (#173605)\n\n## Summary\r\n\r\nFix label casing
!!","sha":"86561c2ace1924abb1d36c0c7abfd16b46a135c8","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","Team:obs-ux-infra_services","Team:obs-ux-management","v8.13.0"],"number":173605,"url":"https://github.com/elastic/kibana/pull/173605","mergeCommit":{"message":"[UX
INP] Fix label casing (#173605)\n\n## Summary\r\n\r\nFix label casing
!!","sha":"86561c2ace1924abb1d36c0c7abfd16b46a135c8"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173605","number":173605,"mergeCommit":{"message":"[UX
INP] Fix label casing (#173605)\n\n## Summary\r\n\r\nFix label casing
!!","sha":"86561c2ace1924abb1d36c0c7abfd16b46a135c8"}}]}] BACKPORT-->

Co-authored-by: Shahzad <shahzad31comp@gmail.com>
2023-12-20 02:59:29 -07:00
Drew Tate
665093b3fb
[8.12] [Lens] unify expression search context type (#172738) (#173671)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[Lens] unify expression search context type
(#172738)](https://github.com/elastic/kibana/pull/172738)

This is a prerequisite to backporting
https://github.com/elastic/kibana/pull/172710

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Drew
Tate","email":"drew.tate@elastic.co"},"sourceCommit":{"committedDate":"2023-12-11T14:08:00Z","message":"[Lens]
unify expression search context type (#172738)\n\n##
Summary\r\n\r\nWhile working on
https://github.com/elastic/kibana/pull/172710 I noticed\r\nhow loose our
search context types were. This leeway seems like overkill\r\ngiven how
we actually use the expressions
framework.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"570937ff19c500d0d54b605b0602b6ffb2a6fb10","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:ExpressionLanguage","Team:Visualizations","release_note:skip","backport:skip","v8.13.0"],"number":172738,"url":"https://github.com/elastic/kibana/pull/172738","mergeCommit":{"message":"[Lens]
unify expression search context type (#172738)\n\n##
Summary\r\n\r\nWhile working on
https://github.com/elastic/kibana/pull/172710 I noticed\r\nhow loose our
search context types were. This leeway seems like overkill\r\ngiven how
we actually use the expressions
framework.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"570937ff19c500d0d54b605b0602b6ffb2a6fb10"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/172738","number":172738,"mergeCommit":{"message":"[Lens]
unify expression search context type (#172738)\n\n##
Summary\r\n\r\nWhile working on
https://github.com/elastic/kibana/pull/172710 I noticed\r\nhow loose our
search context types were. This leeway seems like overkill\r\ngiven how
we actually use the expressions
framework.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"570937ff19c500d0d54b605b0602b6ffb2a6fb10"}}]}]
BACKPORT-->

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2023-12-19 18:39:16 -07:00
Kibana Machine
7fde4506c4
[8.12] [Security Solution] Defend advanced policy option to disable process and thread handle events (#173674) (#173698)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[Security Solution] Defend advanced policy option to disable process
and thread handle events
(#173674)](https://github.com/elastic/kibana/pull/173674)

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

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

<!--BACKPORT [{"author":{"name":"Gabriel
Landau","email":"42078554+gabriellandau@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-12-19T22:58:58Z","message":"[Security
Solution] Defend advanced policy option to disable process and thread
handle events (#173674)\n\n## Summary\r\n\r\nDefend Advanced Policy
option to allow users to disable collection and\r\nreporting of
process/thread handle events. This can be used to\r\ntroubleshoot
performance issues.\r\n\r\nThe feature has actually been in Defend since
8.1.0, but it was never\r\nexposed via Kibana. Should we backport it
past 8.12.0?\r\n\r\n### Checklist\r\n\r\nDelete any items that are not
applicable to this PR.\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\n###
For maintainers\r\n\r\n- [ ] This was checked for breaking API changes
and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n\r\n<!--ONMERGE
{\"backportTargets\":[\"8.12\"]} ONMERGE-->\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ea580e69f13275105c8714b26230e4b7acceeb3d","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Defend
Workflows","v8.12.0","v8.13.0"],"number":173674,"url":"https://github.com/elastic/kibana/pull/173674","mergeCommit":{"message":"[Security
Solution] Defend advanced policy option to disable process and thread
handle events (#173674)\n\n## Summary\r\n\r\nDefend Advanced Policy
option to allow users to disable collection and\r\nreporting of
process/thread handle events. This can be used to\r\ntroubleshoot
performance issues.\r\n\r\nThe feature has actually been in Defend since
8.1.0, but it was never\r\nexposed via Kibana. Should we backport it
past 8.12.0?\r\n\r\n### Checklist\r\n\r\nDelete any items that are not
applicable to this PR.\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\n###
For maintainers\r\n\r\n- [ ] This was checked for breaking API changes
and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n\r\n<!--ONMERGE
{\"backportTargets\":[\"8.12\"]} ONMERGE-->\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ea580e69f13275105c8714b26230e4b7acceeb3d"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173674","number":173674,"mergeCommit":{"message":"[Security
Solution] Defend advanced policy option to disable process and thread
handle events (#173674)\n\n## Summary\r\n\r\nDefend Advanced Policy
option to allow users to disable collection and\r\nreporting of
process/thread handle events. This can be used to\r\ntroubleshoot
performance issues.\r\n\r\nThe feature has actually been in Defend since
8.1.0, but it was never\r\nexposed via Kibana. Should we backport it
past 8.12.0?\r\n\r\n### Checklist\r\n\r\nDelete any items that are not
applicable to this PR.\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\n###
For maintainers\r\n\r\n- [ ] This was checked for breaking API changes
and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n\r\n<!--ONMERGE
{\"backportTargets\":[\"8.12\"]} ONMERGE-->\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ea580e69f13275105c8714b26230e4b7acceeb3d"}}]}]
BACKPORT-->

Co-authored-by: Gabriel Landau <42078554+gabriellandau@users.noreply.github.com>
2023-12-19 17:13:24 -07:00
Kibana Machine
f7e2d6e2d0
[8.12] [Enterprise Search] Split details panel from model selection list (#173434) (#173697)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[Enterprise Search] Split details panel from model selection list
(#173434)](https://github.com/elastic/kibana/pull/173434)

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

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

<!--BACKPORT [{"author":{"name":"Adam
Demjen","email":"demjened@gmail.com"},"sourceCommit":{"committedDate":"2023-12-19T22:37:29Z","message":"[Enterprise
Search] Split details panel from model selection list (#173434)\n\n##
Summary\r\n\r\nIn this PR the ML model selection list is being split
into a simplified\r\nlist and a details panel for the selected model.
This change provides\r\nproblem-free keyboard navigation and a cleaner
look.\r\n\r\n<img width=\"1206\" alt=\"Screenshot 2023-12-18 at 09 34
40\"\r\nsrc=\"815fe106-cc7b-4bab-8a03-0bda6ec6459e\">\r\n\r\nThe
Start button in the model panel now appears and works for any
model,\r\nnot just ELSER/E5.\r\n\r\nIn order to make the model status
labels and actions consistent, some\r\nlabels have been renamed:\r\n-
\"Downloaded\" -> \"Deployed\"\r\n- \"Downloading\" ->
\"Deploying\"\r\n\r\nThe fetch logic is now returning \"Not deployed\"
for a downloaded curated\r\nmodel. Any model (curated or 3rd party) in
this state can be started\r\nwith the Start button.\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\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-
[x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] Any UI
touched in this PR is usable by keyboard only (learn more\r\nabout
[keyboard accessibility](https://webaim.org/techniques/keyboard/))\r\n-
[x] Any UI touched in this PR does not create any new axe
failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[x] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"641177e2fed06a4c4d44eb6ba8e2bea2310f5404","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:EnterpriseSearch","v8.12.0","a11yReviewNeeded","v8.13.0"],"number":173434,"url":"https://github.com/elastic/kibana/pull/173434","mergeCommit":{"message":"[Enterprise
Search] Split details panel from model selection list (#173434)\n\n##
Summary\r\n\r\nIn this PR the ML model selection list is being split
into a simplified\r\nlist and a details panel for the selected model.
This change provides\r\nproblem-free keyboard navigation and a cleaner
look.\r\n\r\n<img width=\"1206\" alt=\"Screenshot 2023-12-18 at 09 34
40\"\r\nsrc=\"815fe106-cc7b-4bab-8a03-0bda6ec6459e\">\r\n\r\nThe
Start button in the model panel now appears and works for any
model,\r\nnot just ELSER/E5.\r\n\r\nIn order to make the model status
labels and actions consistent, some\r\nlabels have been renamed:\r\n-
\"Downloaded\" -> \"Deployed\"\r\n- \"Downloading\" ->
\"Deploying\"\r\n\r\nThe fetch logic is now returning \"Not deployed\"
for a downloaded curated\r\nmodel. Any model (curated or 3rd party) in
this state can be started\r\nwith the Start button.\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\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-
[x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] Any UI
touched in this PR is usable by keyboard only (learn more\r\nabout
[keyboard accessibility](https://webaim.org/techniques/keyboard/))\r\n-
[x] Any UI touched in this PR does not create any new axe
failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[x] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"641177e2fed06a4c4d44eb6ba8e2bea2310f5404"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173434","number":173434,"mergeCommit":{"message":"[Enterprise
Search] Split details panel from model selection list (#173434)\n\n##
Summary\r\n\r\nIn this PR the ML model selection list is being split
into a simplified\r\nlist and a details panel for the selected model.
This change provides\r\nproblem-free keyboard navigation and a cleaner
look.\r\n\r\n<img width=\"1206\" alt=\"Screenshot 2023-12-18 at 09 34
40\"\r\nsrc=\"815fe106-cc7b-4bab-8a03-0bda6ec6459e\">\r\n\r\nThe
Start button in the model panel now appears and works for any
model,\r\nnot just ELSER/E5.\r\n\r\nIn order to make the model status
labels and actions consistent, some\r\nlabels have been renamed:\r\n-
\"Downloaded\" -> \"Deployed\"\r\n- \"Downloading\" ->
\"Deploying\"\r\n\r\nThe fetch logic is now returning \"Not deployed\"
for a downloaded curated\r\nmodel. Any model (curated or 3rd party) in
this state can be started\r\nwith the Start button.\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\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-
[x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] Any UI
touched in this PR is usable by keyboard only (learn more\r\nabout
[keyboard accessibility](https://webaim.org/techniques/keyboard/))\r\n-
[x] Any UI touched in this PR does not create any new axe
failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[x] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"641177e2fed06a4c4d44eb6ba8e2bea2310f5404"}}]}]
BACKPORT-->

Co-authored-by: Adam Demjen <demjened@gmail.com>
2023-12-19 16:47:49 -07:00
Kibana Machine
ba8fc0ad2f
[8.12] Update design of Prompt Editor (#173571) (#173636)
# Backport

This will backport the following commits from `main` to `8.12`:
- [Update design of Prompt Editor
(#173571)](https://github.com/elastic/kibana/pull/173571)

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

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

<!--BACKPORT [{"author":{"name":"Coen
Warmer","email":"coen.warmer@gmail.com"},"sourceCommit":{"committedDate":"2023-12-19T14:14:16Z","message":"Update
design of Prompt Editor
(#173571)","sha":"3ea5865a0ab485782ddd62562890e7ac618768bf","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","v8.12.0","v8.13.0"],"number":173571,"url":"https://github.com/elastic/kibana/pull/173571","mergeCommit":{"message":"Update
design of Prompt Editor
(#173571)","sha":"3ea5865a0ab485782ddd62562890e7ac618768bf"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173571","number":173571,"mergeCommit":{"message":"Update
design of Prompt Editor
(#173571)","sha":"3ea5865a0ab485782ddd62562890e7ac618768bf"}}]}]
BACKPORT-->

Co-authored-by: Coen Warmer <coen.warmer@gmail.com>
2023-12-19 09:17:51 -07:00
Kibana Machine
3e1732087e
[8.12] [Enterprise Search] Clean up copy (#173622) (#173643)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[Enterprise Search] Clean up copy
(#173622)](https://github.com/elastic/kibana/pull/173622)

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

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

<!--BACKPORT [{"author":{"name":"Liam
Thompson","email":"32779855+leemthompo@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-12-19T14:48:40Z","message":"[Enterprise
Search] Clean up copy (#173622)\n\nSomehow this copy snuck in without
being edited, looks like a copy paste\r\nfrom a former tooltip or
something, with no punctuation.\r\n\r\nThis PR cleans the text
up.\r\n\r\n\r\n## Before\r\n\r\n<img width=\"225\" alt=\"Screenshot
2023-12-19 at 14 05
56\"\r\nsrc=\"bb3cc4cd-ae9a-4f32-a51d-25ed804302b4\">","sha":"64bd042a21c34f95145c6117c87760134637a657","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:EnterpriseSearch","v8.12.0","v8.12.1","v8.13.0"],"number":173622,"url":"https://github.com/elastic/kibana/pull/173622","mergeCommit":{"message":"[Enterprise
Search] Clean up copy (#173622)\n\nSomehow this copy snuck in without
being edited, looks like a copy paste\r\nfrom a former tooltip or
something, with no punctuation.\r\n\r\nThis PR cleans the text
up.\r\n\r\n\r\n## Before\r\n\r\n<img width=\"225\" alt=\"Screenshot
2023-12-19 at 14 05
56\"\r\nsrc=\"bb3cc4cd-ae9a-4f32-a51d-25ed804302b4\">","sha":"64bd042a21c34f95145c6117c87760134637a657"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173622","number":173622,"mergeCommit":{"message":"[Enterprise
Search] Clean up copy (#173622)\n\nSomehow this copy snuck in without
being edited, looks like a copy paste\r\nfrom a former tooltip or
something, with no punctuation.\r\n\r\nThis PR cleans the text
up.\r\n\r\n\r\n## Before\r\n\r\n<img width=\"225\" alt=\"Screenshot
2023-12-19 at 14 05
56\"\r\nsrc=\"bb3cc4cd-ae9a-4f32-a51d-25ed804302b4\">","sha":"64bd042a21c34f95145c6117c87760134637a657"}}]}]
BACKPORT-->

Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>
2023-12-19 09:04:45 -07:00
Kibana Machine
80dabde3d9
[8.12] [Security Solution] - fix dark theme for alert details flyout footer (#173577) (#173635)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[Security Solution] - fix dark theme for alert details flyout footer
(#173577)](https://github.com/elastic/kibana/pull/173577)

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

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

<!--BACKPORT [{"author":{"name":"Philippe
Oberti","email":"philippe.oberti@elastic.co"},"sourceCommit":{"committedDate":"2023-12-19T14:10:33Z","message":"[Security
Solution] - fix dark theme for alert details flyout footer
(#173577)","sha":"8d95ac5fade0c8b41982fe6c7bf785f2710614bf","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Threat
Hunting:Investigations","v8.12.1","v8.13.0"],"number":173577,"url":"https://github.com/elastic/kibana/pull/173577","mergeCommit":{"message":"[Security
Solution] - fix dark theme for alert details flyout footer
(#173577)","sha":"8d95ac5fade0c8b41982fe6c7bf785f2710614bf"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173577","number":173577,"mergeCommit":{"message":"[Security
Solution] - fix dark theme for alert details flyout footer
(#173577)","sha":"8d95ac5fade0c8b41982fe6c7bf785f2710614bf"}}]}]
BACKPORT-->

Co-authored-by: Philippe Oberti <philippe.oberti@elastic.co>
2023-12-19 08:38:53 -07:00
Kibana Machine
49f8243d90
[8.12] [ML] Remove beta badge from ML alerting rules (#173545) (#173623)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[ML] Remove beta badge from ML alerting rules
(#173545)](https://github.com/elastic/kibana/pull/173545)

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

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

<!--BACKPORT [{"author":{"name":"Dima
Arnautov","email":"dmitrii.arnautov@elastic.co"},"sourceCommit":{"committedDate":"2023-12-19T13:13:02Z","message":"[ML]
Remove beta badge from ML alerting rules (#173545)\n\n##
Summary\r\n\r\n- Removes the beta badge from Anomaly detection and
Anomlay detection\r\njob health alerting rules.\r\n- Renames Anomaly
detection alerting rule (\"Anomaly detection alert\" ->\r\n\"Anomaly
detection\") for consistency with the other rules in the
list","sha":"bf52a1396dfe0724d826744ddfbf20b16bebe1bb","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement",":ml","Feature:Anomaly
Detection","Feature:Alerting/RuleTypes","Team:ML","v8.12.0","v8.13.0"],"number":173545,"url":"https://github.com/elastic/kibana/pull/173545","mergeCommit":{"message":"[ML]
Remove beta badge from ML alerting rules (#173545)\n\n##
Summary\r\n\r\n- Removes the beta badge from Anomaly detection and
Anomlay detection\r\njob health alerting rules.\r\n- Renames Anomaly
detection alerting rule (\"Anomaly detection alert\" ->\r\n\"Anomaly
detection\") for consistency with the other rules in the
list","sha":"bf52a1396dfe0724d826744ddfbf20b16bebe1bb"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173545","number":173545,"mergeCommit":{"message":"[ML]
Remove beta badge from ML alerting rules (#173545)\n\n##
Summary\r\n\r\n- Removes the beta badge from Anomaly detection and
Anomlay detection\r\njob health alerting rules.\r\n- Renames Anomaly
detection alerting rule (\"Anomaly detection alert\" ->\r\n\"Anomaly
detection\") for consistency with the other rules in the
list","sha":"bf52a1396dfe0724d826744ddfbf20b16bebe1bb"}}]}] BACKPORT-->

Co-authored-by: Dima Arnautov <dmitrii.arnautov@elastic.co>
2023-12-19 07:35:56 -07:00
Kibana Machine
d36413a10c
[8.12] [Transform] Fix retention policy field name not setting by default correctly in Transform creation wizard (#172609) (#173617)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[Transform] Fix retention policy field name not setting by default
correctly in Transform creation wizard
(#172609)](https://github.com/elastic/kibana/pull/172609)

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

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

<!--BACKPORT [{"author":{"name":"Quynh Nguyen
(Quinn)","email":"43350163+qn895@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-12-19T12:17:38Z","message":"[Transform]
Fix retention policy field name not setting by default correctly in
Transform creation wizard (#172609)\n\n## Summary\r\n\r\nThis PR fixes
https://github.com/elastic/kibana/issues/167207 where\r\ntransform
retention policy not setting the first time field as default,\r\nwhich
causes an error on
creation\r\n\r\nBefore:\r\n\r\n\r\n3db01069-36e2-4d9c-8059-d328e80da901\r\n\r\nIt
also disables the retention policy field if there's no
time/date\r\nfields in the transform's destination index
mappings.\r\n\r\n\r\n\r\n9d68296c-11e3-4685-bb53-6e68200f4225\r\n\r\n**This
PR also fixes the Edit Transform flyout to disable the
policy\r\nretention field when the destination mappings do not contain
any date\r\nfields.**\r\n\r\nFor transforms with no date fields in
destination
index:\r\n\r\n\r\nb4cecd6b-3ba6-4878-ae96-02d2607daebe\r\n\r\nFor
transforms with date fields in destination
index:\r\n\r\n\r\nc1007460-18c4-4016-a321-5bc60102af36\r\n\r\n\r\n\r\n\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [ ] 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\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [ ] Any UI touched in this PR is
usable by keyboard only (learn more\r\nabout [keyboard
accessibility](https://webaim.org/techniques/keyboard/))\r\n- [ ] Any UI
touched in this PR does not create any new axe failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n###
Risk Matrix\r\n\r\nDelete this section if it is not applicable to this
PR.\r\n\r\nBefore closing this PR, invite QA, stakeholders, and other
developers to\r\nidentify risks that should be tested prior to the
change/feature\r\nrelease.\r\n\r\nWhen forming the risk matrix, consider
some of the following examples\r\nand how they may potentially impact
the change:\r\n\r\n| Risk | Probability | Severity | Mitigation/Notes
|\r\n\r\n|---------------------------|-------------|----------|-------------------------|\r\n|
Multiple Spaces&mdash;unexpected behavior in non-default Kibana
Space.\r\n| Low | High | Integration tests will verify that all features
are still\r\nsupported in non-default Kibana Space and when user
switches between\r\nspaces. |\r\n| Multiple nodes&mdash;Elasticsearch
polling might have race conditions\r\nwhen multiple Kibana nodes are
polling for the same tasks. | High | Low\r\n| Tasks are idempotent, so
executing them multiple times will not result\r\nin logical error, but
will degrade performance. To test for this case we\r\nadd plenty of unit
tests around this logic and document manual testing\r\nprocedure. |\r\n|
Code should gracefully handle cases when feature X or plugin Y
are\r\ndisabled. | Medium | High | Unit tests will verify that any
feature flag\r\nor plugin combination still results in our service
operational. |\r\n| [See more potential
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
|\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for
breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by:
Dima Arnautov
<dmitrii.arnautov@elastic.co>","sha":"bf8dba2d1610cba05664adc78a8c1f565abda990","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix",":ml","Feature:Transforms","v8.12.0","v8.13.0"],"number":172609,"url":"https://github.com/elastic/kibana/pull/172609","mergeCommit":{"message":"[Transform]
Fix retention policy field name not setting by default correctly in
Transform creation wizard (#172609)\n\n## Summary\r\n\r\nThis PR fixes
https://github.com/elastic/kibana/issues/167207 where\r\ntransform
retention policy not setting the first time field as default,\r\nwhich
causes an error on
creation\r\n\r\nBefore:\r\n\r\n\r\n3db01069-36e2-4d9c-8059-d328e80da901\r\n\r\nIt
also disables the retention policy field if there's no
time/date\r\nfields in the transform's destination index
mappings.\r\n\r\n\r\n\r\n9d68296c-11e3-4685-bb53-6e68200f4225\r\n\r\n**This
PR also fixes the Edit Transform flyout to disable the
policy\r\nretention field when the destination mappings do not contain
any date\r\nfields.**\r\n\r\nFor transforms with no date fields in
destination
index:\r\n\r\n\r\nb4cecd6b-3ba6-4878-ae96-02d2607daebe\r\n\r\nFor
transforms with date fields in destination
index:\r\n\r\n\r\nc1007460-18c4-4016-a321-5bc60102af36\r\n\r\n\r\n\r\n\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [ ] 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\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [ ] Any UI touched in this PR is
usable by keyboard only (learn more\r\nabout [keyboard
accessibility](https://webaim.org/techniques/keyboard/))\r\n- [ ] Any UI
touched in this PR does not create any new axe failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n###
Risk Matrix\r\n\r\nDelete this section if it is not applicable to this
PR.\r\n\r\nBefore closing this PR, invite QA, stakeholders, and other
developers to\r\nidentify risks that should be tested prior to the
change/feature\r\nrelease.\r\n\r\nWhen forming the risk matrix, consider
some of the following examples\r\nand how they may potentially impact
the change:\r\n\r\n| Risk | Probability | Severity | Mitigation/Notes
|\r\n\r\n|---------------------------|-------------|----------|-------------------------|\r\n|
Multiple Spaces&mdash;unexpected behavior in non-default Kibana
Space.\r\n| Low | High | Integration tests will verify that all features
are still\r\nsupported in non-default Kibana Space and when user
switches between\r\nspaces. |\r\n| Multiple nodes&mdash;Elasticsearch
polling might have race conditions\r\nwhen multiple Kibana nodes are
polling for the same tasks. | High | Low\r\n| Tasks are idempotent, so
executing them multiple times will not result\r\nin logical error, but
will degrade performance. To test for this case we\r\nadd plenty of unit
tests around this logic and document manual testing\r\nprocedure. |\r\n|
Code should gracefully handle cases when feature X or plugin Y
are\r\ndisabled. | Medium | High | Unit tests will verify that any
feature flag\r\nor plugin combination still results in our service
operational. |\r\n| [See more potential
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
|\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for
breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by:
Dima Arnautov
<dmitrii.arnautov@elastic.co>","sha":"bf8dba2d1610cba05664adc78a8c1f565abda990"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/172609","number":172609,"mergeCommit":{"message":"[Transform]
Fix retention policy field name not setting by default correctly in
Transform creation wizard (#172609)\n\n## Summary\r\n\r\nThis PR fixes
https://github.com/elastic/kibana/issues/167207 where\r\ntransform
retention policy not setting the first time field as default,\r\nwhich
causes an error on
creation\r\n\r\nBefore:\r\n\r\n\r\n3db01069-36e2-4d9c-8059-d328e80da901\r\n\r\nIt
also disables the retention policy field if there's no
time/date\r\nfields in the transform's destination index
mappings.\r\n\r\n\r\n\r\n9d68296c-11e3-4685-bb53-6e68200f4225\r\n\r\n**This
PR also fixes the Edit Transform flyout to disable the
policy\r\nretention field when the destination mappings do not contain
any date\r\nfields.**\r\n\r\nFor transforms with no date fields in
destination
index:\r\n\r\n\r\nb4cecd6b-3ba6-4878-ae96-02d2607daebe\r\n\r\nFor
transforms with date fields in destination
index:\r\n\r\n\r\nc1007460-18c4-4016-a321-5bc60102af36\r\n\r\n\r\n\r\n\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [ ] 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\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [ ] Any UI touched in this PR is
usable by keyboard only (learn more\r\nabout [keyboard
accessibility](https://webaim.org/techniques/keyboard/))\r\n- [ ] Any UI
touched in this PR does not create any new axe failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n###
Risk Matrix\r\n\r\nDelete this section if it is not applicable to this
PR.\r\n\r\nBefore closing this PR, invite QA, stakeholders, and other
developers to\r\nidentify risks that should be tested prior to the
change/feature\r\nrelease.\r\n\r\nWhen forming the risk matrix, consider
some of the following examples\r\nand how they may potentially impact
the change:\r\n\r\n| Risk | Probability | Severity | Mitigation/Notes
|\r\n\r\n|---------------------------|-------------|----------|-------------------------|\r\n|
Multiple Spaces&mdash;unexpected behavior in non-default Kibana
Space.\r\n| Low | High | Integration tests will verify that all features
are still\r\nsupported in non-default Kibana Space and when user
switches between\r\nspaces. |\r\n| Multiple nodes&mdash;Elasticsearch
polling might have race conditions\r\nwhen multiple Kibana nodes are
polling for the same tasks. | High | Low\r\n| Tasks are idempotent, so
executing them multiple times will not result\r\nin logical error, but
will degrade performance. To test for this case we\r\nadd plenty of unit
tests around this logic and document manual testing\r\nprocedure. |\r\n|
Code should gracefully handle cases when feature X or plugin Y
are\r\ndisabled. | Medium | High | Unit tests will verify that any
feature flag\r\nor plugin combination still results in our service
operational. |\r\n| [See more potential
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
|\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for
breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by:
Dima Arnautov
<dmitrii.arnautov@elastic.co>","sha":"bf8dba2d1610cba05664adc78a8c1f565abda990"}}]}]
BACKPORT-->

Co-authored-by: Quynh Nguyen (Quinn) <43350163+qn895@users.noreply.github.com>
2023-12-19 06:55:02 -07:00
Kibana Machine
7e6ab21b0a
[8.12] Catch IndexNotFoundException and return default telemetry (#173604) (#173619)
# Backport

This will backport the following commits from `main` to `8.12`:
- [Catch IndexNotFoundException and return default telemetry
(#173604)](https://github.com/elastic/kibana/pull/173604)

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

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

<!--BACKPORT [{"author":{"name":"Chenhui
Wang","email":"54903978+wangch079@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-12-19T12:28:24Z","message":"Catch
IndexNotFoundException and return default telemetry (#173604)\n\n##
Follow up on PR https://github.com/elastic/kibana/pull/172280\r\n\r\n##
Summary\r\n\r\nThis PR makes changes to usage collectors in plugin
`enterprise_search`\r\nand `serverless_search`, to catch
`IndexNotFoundException` and return\r\nthe default
telemetry.\r\n\r\n\r\n### Checklist\r\n\r\n- [x ] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n\r\n\r\n### For
maintainers\r\n\r\n- [ ] This was checked for breaking API changes and
was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"c01b3a450a2bf607ee69d9540b77859695e6e5e1","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:EnterpriseSearch","v8.12.0","v8.13.0"],"number":173604,"url":"https://github.com/elastic/kibana/pull/173604","mergeCommit":{"message":"Catch
IndexNotFoundException and return default telemetry (#173604)\n\n##
Follow up on PR https://github.com/elastic/kibana/pull/172280\r\n\r\n##
Summary\r\n\r\nThis PR makes changes to usage collectors in plugin
`enterprise_search`\r\nand `serverless_search`, to catch
`IndexNotFoundException` and return\r\nthe default
telemetry.\r\n\r\n\r\n### Checklist\r\n\r\n- [x ] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n\r\n\r\n### For
maintainers\r\n\r\n- [ ] This was checked for breaking API changes and
was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"c01b3a450a2bf607ee69d9540b77859695e6e5e1"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173604","number":173604,"mergeCommit":{"message":"Catch
IndexNotFoundException and return default telemetry (#173604)\n\n##
Follow up on PR https://github.com/elastic/kibana/pull/172280\r\n\r\n##
Summary\r\n\r\nThis PR makes changes to usage collectors in plugin
`enterprise_search`\r\nand `serverless_search`, to catch
`IndexNotFoundException` and return\r\nthe default
telemetry.\r\n\r\n\r\n### Checklist\r\n\r\n- [x ] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n\r\n\r\n### For
maintainers\r\n\r\n- [ ] This was checked for breaking API changes and
was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"c01b3a450a2bf607ee69d9540b77859695e6e5e1"}}]}]
BACKPORT-->

Co-authored-by: Chenhui Wang <54903978+wangch079@users.noreply.github.com>
2023-12-19 06:50:58 -07:00
Kibana Machine
7bbef5c249
[8.12] [Security Solution][Bug] Render esql tab only when needed (#173484) (#173616)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[Security Solution][Bug] Render esql tab only when needed
(#173484)](https://github.com/elastic/kibana/pull/173484)

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

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

<!--BACKPORT [{"author":{"name":"Sergi
Massaneda","email":"sergi.massaneda@elastic.co"},"sourceCommit":{"committedDate":"2023-12-19T12:09:47Z","message":"[Security
Solution][Bug] Render esql tab only when needed (#173484)\n\n##
Summary\r\n\r\nRenders ES|QL tab only when it is visible, so ES|QL
queries are not\r\ntriggered only by having the Timeline bottom bar
available.","sha":"f9f22d5d554a14e8cd215caa3fe11fb3ea82acc3","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","Team:Threat
Hunting","v8.12.0","v8.13.0","v8.11.4"],"number":173484,"url":"https://github.com/elastic/kibana/pull/173484","mergeCommit":{"message":"[Security
Solution][Bug] Render esql tab only when needed (#173484)\n\n##
Summary\r\n\r\nRenders ES|QL tab only when it is visible, so ES|QL
queries are not\r\ntriggered only by having the Timeline bottom bar
available.","sha":"f9f22d5d554a14e8cd215caa3fe11fb3ea82acc3"}},"sourceBranch":"main","suggestedTargetBranches":["8.12","8.11"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173484","number":173484,"mergeCommit":{"message":"[Security
Solution][Bug] Render esql tab only when needed (#173484)\n\n##
Summary\r\n\r\nRenders ES|QL tab only when it is visible, so ES|QL
queries are not\r\ntriggered only by having the Timeline bottom bar
available.","sha":"f9f22d5d554a14e8cd215caa3fe11fb3ea82acc3"}},{"branch":"8.11","label":"v8.11.4","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Sergi Massaneda <sergi.massaneda@elastic.co>
2023-12-19 06:24:19 -07:00
Kibana Machine
f314fcc3b3
[8.12] Hide "Time spent by span type" chart for mobile (#173387) (#173606)
# Backport

This will backport the following commits from `main` to `8.12`:
- [Hide "Time spent by span type" chart for mobile
(#173387)](https://github.com/elastic/kibana/pull/173387)

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

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

<!--BACKPORT
[{"author":{"name":"Katerina","email":"aikaterini.patticha@elastic.co"},"sourceCommit":{"committedDate":"2023-12-19T10:48:36Z","message":"Hide
\"Time spent by span type\" chart for mobile (#173387)\n\ncloses
https://github.com/elastic/kibana/issues/173363\r\n\r\n#### note\r\nin
the long run, it will be better for the mobile template to have
its\r\nown transaction details page component. Now, it is shared with
the other\r\nbackend
services","sha":"fd1df9955b4f2e75e7e0dfb64c859daa00c41f71","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v8.12.0","Team:obs-ux-infra_services","v8.13.0"],"number":173387,"url":"https://github.com/elastic/kibana/pull/173387","mergeCommit":{"message":"Hide
\"Time spent by span type\" chart for mobile (#173387)\n\ncloses
https://github.com/elastic/kibana/issues/173363\r\n\r\n#### note\r\nin
the long run, it will be better for the mobile template to have
its\r\nown transaction details page component. Now, it is shared with
the other\r\nbackend
services","sha":"fd1df9955b4f2e75e7e0dfb64c859daa00c41f71"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173387","number":173387,"mergeCommit":{"message":"Hide
\"Time spent by span type\" chart for mobile (#173387)\n\ncloses
https://github.com/elastic/kibana/issues/173363\r\n\r\n#### note\r\nin
the long run, it will be better for the mobile template to have
its\r\nown transaction details page component. Now, it is shared with
the other\r\nbackend
services","sha":"fd1df9955b4f2e75e7e0dfb64c859daa00c41f71"}}]}]
BACKPORT-->

Co-authored-by: Katerina <aikaterini.patticha@elastic.co>
2023-12-19 05:30:29 -07:00
Kibana Machine
2cac3da2e5
[8.12] [Fleet] added upgrade details to agent details page (#173544) (#173607)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[Fleet] added upgrade details to agent details page
(#173544)](https://github.com/elastic/kibana/pull/173544)

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

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

<!--BACKPORT [{"author":{"name":"Julia
Bardi","email":"90178898+juliaElastic@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-12-19T10:47:50Z","message":"[Fleet]
added upgrade details to agent details page (#173544)\n\n##
Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/171942\r\n\r\nAdded upgrade
details to agent details page.\r\n\r\nTo verify: \r\n- enroll agent
8.12-snapshot locally\r\n- upgrade to 8.13-snapshot with API\r\n- verify
that upgrade details are visible on agent details page (same as\r\nin
agent list)\r\n\r\n<img width=\"663\"
alt=\"image\"\r\nsrc=\"4c219876-3c1e-4150-92d4-42ddc2c7e154\">\r\n<img
width=\"632\"
alt=\"image\"\r\nsrc=\"909d83dd-3b62-49e0-bf14-e97b238f8250\">","sha":"63d15ce1f4dc7b3dea823ba1e4ff4b0799107c88","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","v8.12.0","v8.13.0"],"number":173544,"url":"https://github.com/elastic/kibana/pull/173544","mergeCommit":{"message":"[Fleet]
added upgrade details to agent details page (#173544)\n\n##
Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/171942\r\n\r\nAdded upgrade
details to agent details page.\r\n\r\nTo verify: \r\n- enroll agent
8.12-snapshot locally\r\n- upgrade to 8.13-snapshot with API\r\n- verify
that upgrade details are visible on agent details page (same as\r\nin
agent list)\r\n\r\n<img width=\"663\"
alt=\"image\"\r\nsrc=\"4c219876-3c1e-4150-92d4-42ddc2c7e154\">\r\n<img
width=\"632\"
alt=\"image\"\r\nsrc=\"909d83dd-3b62-49e0-bf14-e97b238f8250\">","sha":"63d15ce1f4dc7b3dea823ba1e4ff4b0799107c88"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173544","number":173544,"mergeCommit":{"message":"[Fleet]
added upgrade details to agent details page (#173544)\n\n##
Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/171942\r\n\r\nAdded upgrade
details to agent details page.\r\n\r\nTo verify: \r\n- enroll agent
8.12-snapshot locally\r\n- upgrade to 8.13-snapshot with API\r\n- verify
that upgrade details are visible on agent details page (same as\r\nin
agent list)\r\n\r\n<img width=\"663\"
alt=\"image\"\r\nsrc=\"4c219876-3c1e-4150-92d4-42ddc2c7e154\">\r\n<img
width=\"632\"
alt=\"image\"\r\nsrc=\"909d83dd-3b62-49e0-bf14-e97b238f8250\">","sha":"63d15ce1f4dc7b3dea823ba1e4ff4b0799107c88"}}]}]
BACKPORT-->

Co-authored-by: Julia Bardi <90178898+juliaElastic@users.noreply.github.com>
2023-12-19 05:07:46 -07:00
Dario Gieselaar
99b36e82d4
[8.12] [Obs AI Assistant] E2E tests for conversation view (#173485) (#173598)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[Obs AI Assistant] E2E tests for conversation view
(#173485)](https://github.com/elastic/kibana/pull/173485)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Dario
Gieselaar","email":"dario.gieselaar@elastic.co"},"sourceCommit":{"committedDate":"2023-12-19T08:49:58Z","message":"[Obs
AI Assistant] E2E tests for conversation view (#173485)\n\nAdds some
basic E2E tests for the conversation
view.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"f67afe2866014cfbc21755134950d7abaa8cf8c4","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v8.12.0","v8.12.1","v8.13.0"],"number":173485,"url":"https://github.com/elastic/kibana/pull/173485","mergeCommit":{"message":"[Obs
AI Assistant] E2E tests for conversation view (#173485)\n\nAdds some
basic E2E tests for the conversation
view.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"f67afe2866014cfbc21755134950d7abaa8cf8c4"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173485","number":173485,"mergeCommit":{"message":"[Obs
AI Assistant] E2E tests for conversation view (#173485)\n\nAdds some
basic E2E tests for the conversation
view.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"f67afe2866014cfbc21755134950d7abaa8cf8c4"}}]}]
BACKPORT-->
2023-12-19 12:38:04 +01:00
Kibana Machine
a1f2e91676
[8.12] [Security Solution][Detection Engine] fixes alert suppression define step preview on rule creation (#173145) (#173599)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[Security Solution][Detection Engine] fixes alert suppression define
step preview on rule creation
(#173145)](https://github.com/elastic/kibana/pull/173145)

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

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

<!--BACKPORT [{"author":{"name":"Vitalii
Dmyterko","email":"92328789+vitaliidm@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-12-19T10:14:52Z","message":"[Security
Solution][Detection Engine] fixes alert suppression define step preview
on rule creation (#173145)\n\n## Summary\r\n\r\n- fixes alert
suppression fields that appear on define step preview\r\nduring rule
creation\r\nOnly `query` and `threshold` rule type support alert
suppression, but\r\nsuppression fields can appear for other rule types
when switching\r\nbetween them, while suppression was configured\r\n-
fixes Define step for `threshold` rule, when suppression
duration\r\nwasn't showing\r\n\r\n### Steps to reproduce\r\n\r\n1. Go to
create rule form\r\n2. Select query rule type\r\n3. Configure alert
suppression for it\r\n4. Switch to any other rule type\r\n5. Complete
define step\r\n6. Spot, suppression fields on Define step\r\n\r\n####
Leaking suppression fields to other rule
types\r\n\r\na472daf0-bb74-4a6b-841b-3b0097eb4503\r\n\r\n####
Missing duration for
threshold\r\n\r\n\r\n\r\n7df8431d-3ee0-482a-9e06-cb87656f48e0\r\n\r\n\r\n###
Fixed UI\r\n\r\n#### Leaking suppression fields to other rule
types\r\n\r\n03057dc6-c007-4b17-8f8b-30e78923f037\r\n\r\n####
Missing duration for
threshold\r\n\r\n\r\n7f64c79f-7a51-4d43-bd62-b10eefe15c46\r\n\r\n\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Ryland Herrick
<ryalnd@gmail.com>","sha":"dee5acb17ed643f1cf432b032f4305ba51e5799f","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Detections
and Resp","Team: SecuritySolution","backport:prev-minor","Team:Detection
Engine","v8.12.0","v8.13.0"],"number":173145,"url":"https://github.com/elastic/kibana/pull/173145","mergeCommit":{"message":"[Security
Solution][Detection Engine] fixes alert suppression define step preview
on rule creation (#173145)\n\n## Summary\r\n\r\n- fixes alert
suppression fields that appear on define step preview\r\nduring rule
creation\r\nOnly `query` and `threshold` rule type support alert
suppression, but\r\nsuppression fields can appear for other rule types
when switching\r\nbetween them, while suppression was configured\r\n-
fixes Define step for `threshold` rule, when suppression
duration\r\nwasn't showing\r\n\r\n### Steps to reproduce\r\n\r\n1. Go to
create rule form\r\n2. Select query rule type\r\n3. Configure alert
suppression for it\r\n4. Switch to any other rule type\r\n5. Complete
define step\r\n6. Spot, suppression fields on Define step\r\n\r\n####
Leaking suppression fields to other rule
types\r\n\r\na472daf0-bb74-4a6b-841b-3b0097eb4503\r\n\r\n####
Missing duration for
threshold\r\n\r\n\r\n\r\n7df8431d-3ee0-482a-9e06-cb87656f48e0\r\n\r\n\r\n###
Fixed UI\r\n\r\n#### Leaking suppression fields to other rule
types\r\n\r\n03057dc6-c007-4b17-8f8b-30e78923f037\r\n\r\n####
Missing duration for
threshold\r\n\r\n\r\n7f64c79f-7a51-4d43-bd62-b10eefe15c46\r\n\r\n\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Ryland Herrick
<ryalnd@gmail.com>","sha":"dee5acb17ed643f1cf432b032f4305ba51e5799f"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173145","number":173145,"mergeCommit":{"message":"[Security
Solution][Detection Engine] fixes alert suppression define step preview
on rule creation (#173145)\n\n## Summary\r\n\r\n- fixes alert
suppression fields that appear on define step preview\r\nduring rule
creation\r\nOnly `query` and `threshold` rule type support alert
suppression, but\r\nsuppression fields can appear for other rule types
when switching\r\nbetween them, while suppression was configured\r\n-
fixes Define step for `threshold` rule, when suppression
duration\r\nwasn't showing\r\n\r\n### Steps to reproduce\r\n\r\n1. Go to
create rule form\r\n2. Select query rule type\r\n3. Configure alert
suppression for it\r\n4. Switch to any other rule type\r\n5. Complete
define step\r\n6. Spot, suppression fields on Define step\r\n\r\n####
Leaking suppression fields to other rule
types\r\n\r\na472daf0-bb74-4a6b-841b-3b0097eb4503\r\n\r\n####
Missing duration for
threshold\r\n\r\n\r\n\r\n7df8431d-3ee0-482a-9e06-cb87656f48e0\r\n\r\n\r\n###
Fixed UI\r\n\r\n#### Leaking suppression fields to other rule
types\r\n\r\n03057dc6-c007-4b17-8f8b-30e78923f037\r\n\r\n####
Missing duration for
threshold\r\n\r\n\r\n7f64c79f-7a51-4d43-bd62-b10eefe15c46\r\n\r\n\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Ryland Herrick
<ryalnd@gmail.com>","sha":"dee5acb17ed643f1cf432b032f4305ba51e5799f"}}]}]
BACKPORT-->

Co-authored-by: Vitalii Dmyterko <92328789+vitaliidm@users.noreply.github.com>
2023-12-19 04:25:04 -07:00
Kibana Machine
8ec5588603
[8.12] [Enterprise Search] Fix visual issues with Select a connector page (#173374) (#173592)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[Enterprise Search] Fix visual issues with Select a connector page
(#173374)](https://github.com/elastic/kibana/pull/173374)

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

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

<!--BACKPORT [{"author":{"name":"Efe Gürkan
YALAMAN","email":"efeguerkan.yalaman@elastic.co"},"sourceCommit":{"committedDate":"2023-12-19T09:15:12Z","message":"[Enterprise
Search] Fix visual issues with Select a connector page (#173374)\n\n##
Summary\r\n\r\nThis fixes the visual issues that were different in
between designs and\r\nimplementation on Select a connector
page.\r\n\r\n<img width=\"1041\" alt=\"Screenshot 2023-12-14 at 13 35
27\"\r\nsrc=\"2206dd86-3602-4198-a046-e072478567cf\">\r\n<img
width=\"1708\" alt=\"Screenshot 2023-12-14 at 13 35
34\"\r\nsrc=\"9ec093d4-2634-4fa2-aed2-05ab4c6ae737\">\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\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\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [x] Any UI touched in this PR is
usable by keyboard only (learn more\r\nabout [keyboard
accessibility](https://webaim.org/techniques/keyboard/))\r\n- [ ] Any UI
touched in this PR does not create any new axe failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[x] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[x] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n---------\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"1095cb25ff0db0d58cfaa9cbfc31ee92155ee8e2","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:EnterpriseSearch","v8.12.0","v8.13.0"],"number":173374,"url":"https://github.com/elastic/kibana/pull/173374","mergeCommit":{"message":"[Enterprise
Search] Fix visual issues with Select a connector page (#173374)\n\n##
Summary\r\n\r\nThis fixes the visual issues that were different in
between designs and\r\nimplementation on Select a connector
page.\r\n\r\n<img width=\"1041\" alt=\"Screenshot 2023-12-14 at 13 35
27\"\r\nsrc=\"2206dd86-3602-4198-a046-e072478567cf\">\r\n<img
width=\"1708\" alt=\"Screenshot 2023-12-14 at 13 35
34\"\r\nsrc=\"9ec093d4-2634-4fa2-aed2-05ab4c6ae737\">\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\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\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [x] Any UI touched in this PR is
usable by keyboard only (learn more\r\nabout [keyboard
accessibility](https://webaim.org/techniques/keyboard/))\r\n- [ ] Any UI
touched in this PR does not create any new axe failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[x] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[x] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n---------\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"1095cb25ff0db0d58cfaa9cbfc31ee92155ee8e2"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173374","number":173374,"mergeCommit":{"message":"[Enterprise
Search] Fix visual issues with Select a connector page (#173374)\n\n##
Summary\r\n\r\nThis fixes the visual issues that were different in
between designs and\r\nimplementation on Select a connector
page.\r\n\r\n<img width=\"1041\" alt=\"Screenshot 2023-12-14 at 13 35
27\"\r\nsrc=\"2206dd86-3602-4198-a046-e072478567cf\">\r\n<img
width=\"1708\" alt=\"Screenshot 2023-12-14 at 13 35
34\"\r\nsrc=\"9ec093d4-2634-4fa2-aed2-05ab4c6ae737\">\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\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\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [x] Any UI touched in this PR is
usable by keyboard only (learn more\r\nabout [keyboard
accessibility](https://webaim.org/techniques/keyboard/))\r\n- [ ] Any UI
touched in this PR does not create any new axe failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[x] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[x] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n---------\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"1095cb25ff0db0d58cfaa9cbfc31ee92155ee8e2"}}]}]
BACKPORT-->

Co-authored-by: Efe Gürkan YALAMAN <efeguerkan.yalaman@elastic.co>
2023-12-19 03:31:43 -07:00
Julia Bardi
d6e2907755
[8.12][Fleet] removed restriction to use remote es as integration data (#17… (#173522)
Backport https://github.com/elastic/kibana/pull/173353 to 8.12
2023-12-19 10:00:13 +01:00
Kibana Machine
0ead2df977
[8.12] Fix for TriggersActionsUi not being present on the same place in different KibanaContexts (#173388) (#173587)
# Backport

This will backport the following commits from `main` to `8.12`:
- [Fix for TriggersActionsUi not being present on the same place in
different KibanaContexts
(#173388)](https://github.com/elastic/kibana/pull/173388)

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

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

<!--BACKPORT [{"author":{"name":"Coen
Warmer","email":"coen.warmer@gmail.com"},"sourceCommit":{"committedDate":"2023-12-19T05:32:22Z","message":"Fix
for TriggersActionsUi not being present on the same place in different
KibanaContexts (#173388)\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"857f2dfe7fd62743dab91fd1e24e753df1e88dd0","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","v8.12.0","Team:obs-ux-infra_services","Team:obs-ux-management","v8.13.0"],"number":173388,"url":"https://github.com/elastic/kibana/pull/173388","mergeCommit":{"message":"Fix
for TriggersActionsUi not being present on the same place in different
KibanaContexts (#173388)\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"857f2dfe7fd62743dab91fd1e24e753df1e88dd0"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173388","number":173388,"mergeCommit":{"message":"Fix
for TriggersActionsUi not being present on the same place in different
KibanaContexts (#173388)\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"857f2dfe7fd62743dab91fd1e24e753df1e88dd0"}}]}]
BACKPORT-->

Co-authored-by: Coen Warmer <coen.warmer@gmail.com>
2023-12-18 23:55:37 -07:00
Kibana Machine
6ec37d289c
[8.12] [Security solution] Timeline tour compatiable with timeline template (#173526) (#173579)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[Security solution] Timeline tour compatiable with timeline template
(#173526)](https://github.com/elastic/kibana/pull/173526)

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

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

<!--BACKPORT [{"author":{"name":"Jatin
Kathuria","email":"jatin.kathuria@elastic.co"},"sourceCommit":{"committedDate":"2023-12-18T22:01:16Z","message":"[Security
solution] Timeline tour compatiable with timeline template
(#173526)\n\n## Summary\r\n\r\nHandles
https://github.com/elastic/kibana/issues/173355.\r\n\r\nTimeline v8.12
changes tour had some steps in error, if user changed\r\nfrom `default`
timeline to `template` timeline.\r\n\r\nThis PR makes step compatible
both kinds of timeline. We have the\r\nability to choose which step
shows up on which kind of
timeline.\r\n\r\n\r\n\r\n80b96027-5e38-4e17-914d-d6df77a070f3\r\n\r\n---------\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"13f2779e5a4de368a81457e8684e2292049d6ce2","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Threat
Hunting:Investigations","v8.12.0","v8.13.0"],"number":173526,"url":"https://github.com/elastic/kibana/pull/173526","mergeCommit":{"message":"[Security
solution] Timeline tour compatiable with timeline template
(#173526)\n\n## Summary\r\n\r\nHandles
https://github.com/elastic/kibana/issues/173355.\r\n\r\nTimeline v8.12
changes tour had some steps in error, if user changed\r\nfrom `default`
timeline to `template` timeline.\r\n\r\nThis PR makes step compatible
both kinds of timeline. We have the\r\nability to choose which step
shows up on which kind of
timeline.\r\n\r\n\r\n\r\n80b96027-5e38-4e17-914d-d6df77a070f3\r\n\r\n---------\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"13f2779e5a4de368a81457e8684e2292049d6ce2"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173526","number":173526,"mergeCommit":{"message":"[Security
solution] Timeline tour compatiable with timeline template
(#173526)\n\n## Summary\r\n\r\nHandles
https://github.com/elastic/kibana/issues/173355.\r\n\r\nTimeline v8.12
changes tour had some steps in error, if user changed\r\nfrom `default`
timeline to `template` timeline.\r\n\r\nThis PR makes step compatible
both kinds of timeline. We have the\r\nability to choose which step
shows up on which kind of
timeline.\r\n\r\n\r\n\r\n80b96027-5e38-4e17-914d-d6df77a070f3\r\n\r\n---------\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"13f2779e5a4de368a81457e8684e2292049d6ce2"}}]}]
BACKPORT-->

Co-authored-by: Jatin Kathuria <jatin.kathuria@elastic.co>
2023-12-18 17:46:41 -07:00
Kibana Machine
23406d2a08
[8.12] [APM] Add filter to /has_data api (#173382) (#173559)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[APM] Add filter to `/has_data` api
(#173382)](https://github.com/elastic/kibana/pull/173382)

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

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

<!--BACKPORT [{"author":{"name":"Søren
Louv-Jansen","email":"soren.louv@elastic.co"},"sourceCommit":{"committedDate":"2023-12-18T18:18:03Z","message":"[APM]
Add filter to `/has_data` api (#173382)\n\nCloses
https://github.com/elastic/kibana/issues/154997\r\n\r\nThis PR adds a
data tier filter to the `/has_data` api, thus limitting\r\nthe number of
shards being hit by the
request.","sha":"e7593c0e46f1ce707c1b951f8d013e722ac79353","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","v8.12.0","v8.10.5","Team:obs-ux-infra_services","v8.13.0","v8.11.4"],"number":173382,"url":"https://github.com/elastic/kibana/pull/173382","mergeCommit":{"message":"[APM]
Add filter to `/has_data` api (#173382)\n\nCloses
https://github.com/elastic/kibana/issues/154997\r\n\r\nThis PR adds a
data tier filter to the `/has_data` api, thus limitting\r\nthe number of
shards being hit by the
request.","sha":"e7593c0e46f1ce707c1b951f8d013e722ac79353"}},"sourceBranch":"main","suggestedTargetBranches":["8.12","8.10","8.11"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.10","label":"v8.10.5","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173382","number":173382,"mergeCommit":{"message":"[APM]
Add filter to `/has_data` api (#173382)\n\nCloses
https://github.com/elastic/kibana/issues/154997\r\n\r\nThis PR adds a
data tier filter to the `/has_data` api, thus limitting\r\nthe number of
shards being hit by the
request.","sha":"e7593c0e46f1ce707c1b951f8d013e722ac79353"}},{"branch":"8.11","label":"v8.11.4","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Søren Louv-Jansen <soren.louv@elastic.co>
2023-12-18 14:15:39 -07:00
Kibana Machine
34f6840f54
[8.12] [Search] Fix API key flyout bugfixes (#173547) (#173567)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[Search] Fix API key flyout bugfixes
(#173547)](https://github.com/elastic/kibana/pull/173547)

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

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

<!--BACKPORT [{"author":{"name":"Sander
Philipse","email":"94373878+sphilipse@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-12-18T19:25:48Z","message":"[Search]
Fix API key flyout bugfixes (#173547)\n\n## Summary\r\n\r\nThis fixes a
couple of API key flyout bugfixes:\r\n\r\n- created API key now shows up
regardless of where you opened the flyout\r\nfrom\r\n- Header action has
a max width of 256px and wraps the cloud ID and\r\nelasticsearch
endpoint\r\n- API key is scrolled into view when
created","sha":"7016c042336d154e8e570d268a3031cc170bc0af","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:EnterpriseSearch","v8.12.0","v8.13.0"],"number":173547,"url":"https://github.com/elastic/kibana/pull/173547","mergeCommit":{"message":"[Search]
Fix API key flyout bugfixes (#173547)\n\n## Summary\r\n\r\nThis fixes a
couple of API key flyout bugfixes:\r\n\r\n- created API key now shows up
regardless of where you opened the flyout\r\nfrom\r\n- Header action has
a max width of 256px and wraps the cloud ID and\r\nelasticsearch
endpoint\r\n- API key is scrolled into view when
created","sha":"7016c042336d154e8e570d268a3031cc170bc0af"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173547","number":173547,"mergeCommit":{"message":"[Search]
Fix API key flyout bugfixes (#173547)\n\n## Summary\r\n\r\nThis fixes a
couple of API key flyout bugfixes:\r\n\r\n- created API key now shows up
regardless of where you opened the flyout\r\nfrom\r\n- Header action has
a max width of 256px and wraps the cloud ID and\r\nelasticsearch
endpoint\r\n- API key is scrolled into view when
created","sha":"7016c042336d154e8e570d268a3031cc170bc0af"}}]}]
BACKPORT-->

Co-authored-by: Sander Philipse <94373878+sphilipse@users.noreply.github.com>
2023-12-18 13:42:40 -07:00
Kibana Machine
134d51bbdf
[8.12] [Endpoint][Uninstall Tokens] Fixes duplicate cloud policy uninstall token (#173126) (#173551)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[Endpoint][Uninstall Tokens] Fixes duplicate cloud policy uninstall
token (#173126)](https://github.com/elastic/kibana/pull/173126)

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

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

<!--BACKPORT [{"author":{"name":"Candace
Park","email":"56409205+parkiino@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-12-18T16:54:17Z","message":"[Endpoint][Uninstall
Tokens] Fixes duplicate cloud policy uninstall token (#173126)\n\n##
Summary\r\n\r\n- [x] Temporary fix to prevent duplicate uninstall tokens
from being\r\ngenerated in cloud policies\r\n\r\n#
Screenshot\r\n\r\n![quickfix](2115df01-610c-4a72-82e3-ed5b4e4e26ef)\r\n\r\n---------\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Gergő Ábrahám
<gergo.abraham@elastic.co>","sha":"5a8c3d1d757480d059050c67891d9b2d2c19e327","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","Team:Defend
Workflows","v8.12.0","v8.13.0"],"number":173126,"url":"https://github.com/elastic/kibana/pull/173126","mergeCommit":{"message":"[Endpoint][Uninstall
Tokens] Fixes duplicate cloud policy uninstall token (#173126)\n\n##
Summary\r\n\r\n- [x] Temporary fix to prevent duplicate uninstall tokens
from being\r\ngenerated in cloud policies\r\n\r\n#
Screenshot\r\n\r\n![quickfix](2115df01-610c-4a72-82e3-ed5b4e4e26ef)\r\n\r\n---------\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Gergő Ábrahám
<gergo.abraham@elastic.co>","sha":"5a8c3d1d757480d059050c67891d9b2d2c19e327"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173126","number":173126,"mergeCommit":{"message":"[Endpoint][Uninstall
Tokens] Fixes duplicate cloud policy uninstall token (#173126)\n\n##
Summary\r\n\r\n- [x] Temporary fix to prevent duplicate uninstall tokens
from being\r\ngenerated in cloud policies\r\n\r\n#
Screenshot\r\n\r\n![quickfix](2115df01-610c-4a72-82e3-ed5b4e4e26ef)\r\n\r\n---------\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Gergő Ábrahám
<gergo.abraham@elastic.co>","sha":"5a8c3d1d757480d059050c67891d9b2d2c19e327"}}]}]
BACKPORT-->

Co-authored-by: Candace Park <56409205+parkiino@users.noreply.github.com>
2023-12-18 11:08:38 -07:00
Kibana Machine
10f0886c5c
[8.12] Fix typo in Language Identification (#173336) (#173549)
# Backport

This will backport the following commits from `main` to `8.12`:
- [Fix typo in Language Identification
(#173336)](https://github.com/elastic/kibana/pull/173336)

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

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

<!--BACKPORT [{"author":{"name":"Kathleen
DeRusso","email":"kathleen.derusso@elastic.co"},"sourceCommit":{"committedDate":"2023-12-18T16:42:26Z","message":"Fix
typo in Language Identification (#173336)\n\nFixes a
typo.","sha":"2d828816d4411dc4343116c0ded24b66b6cab847","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v8.12.0","v8.13.0"],"number":173336,"url":"https://github.com/elastic/kibana/pull/173336","mergeCommit":{"message":"Fix
typo in Language Identification (#173336)\n\nFixes a
typo.","sha":"2d828816d4411dc4343116c0ded24b66b6cab847"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173336","number":173336,"mergeCommit":{"message":"Fix
typo in Language Identification (#173336)\n\nFixes a
typo.","sha":"2d828816d4411dc4343116c0ded24b66b6cab847"}}]}] BACKPORT-->

Co-authored-by: Kathleen DeRusso <kathleen.derusso@elastic.co>
2023-12-18 10:58:19 -07:00
Kibana Machine
724e144991
[8.12] [Lens] Fix crash on chart type change via suggestions (#173523) (#173534)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[Lens] Fix crash on chart type change via suggestions
(#173523)](https://github.com/elastic/kibana/pull/173523)

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

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

<!--BACKPORT [{"author":{"name":"Marco
Liberati","email":"dej611@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-12-18T14:59:53Z","message":"[Lens]
Fix crash on chart type change via suggestions (#173523)\n\n##
Summary\r\n\r\nUse the correct `activeVisualization` on chart type
change
by\r\nsuggestions:\r\n\r\n\r\n![esql_dashboard_crash_fixed](6142647f-6a74-4f95-8ebb-df984624b596)","sha":"99f3001715f0484190be0ceb36f2328f31f4e682","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Visualizations","release_note:skip","Feature:Lens","backport:prev-minor","Feature:ES|QL","v8.12.0","v8.13.0"],"number":173523,"url":"https://github.com/elastic/kibana/pull/173523","mergeCommit":{"message":"[Lens]
Fix crash on chart type change via suggestions (#173523)\n\n##
Summary\r\n\r\nUse the correct `activeVisualization` on chart type
change
by\r\nsuggestions:\r\n\r\n\r\n![esql_dashboard_crash_fixed](6142647f-6a74-4f95-8ebb-df984624b596)","sha":"99f3001715f0484190be0ceb36f2328f31f4e682"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173523","number":173523,"mergeCommit":{"message":"[Lens]
Fix crash on chart type change via suggestions (#173523)\n\n##
Summary\r\n\r\nUse the correct `activeVisualization` on chart type
change
by\r\nsuggestions:\r\n\r\n\r\n![esql_dashboard_crash_fixed](6142647f-6a74-4f95-8ebb-df984624b596)","sha":"99f3001715f0484190be0ceb36f2328f31f4e682"}}]}]
BACKPORT-->

Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
2023-12-18 09:14:20 -07:00
Kibana Machine
6212a62be3
[8.12] fix missing context for recovered burn rate rule alerts (#173505) (#173521)
# Backport

This will backport the following commits from `main` to `8.12`:
- [fix missing context for recovered burn rate rule alerts
(#173505)](https://github.com/elastic/kibana/pull/173505)

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

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

<!--BACKPORT [{"author":{"name":"Panagiota
Mitsopoulou","email":"panagiota.mitsopoulou@elastic.co"},"sourceCommit":{"committedDate":"2023-12-18T13:35:15Z","message":"fix
missing context for recovered burn rate rule alerts (#173505)\n\nFixes
https://github.com/elastic/kibana/issues/173500","sha":"e3ef0c8c6cce9685746b712abd605efe244f355b","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","auto-backport","v8.12.0","Team:obs-ux-management","v8.13.0"],"number":173505,"url":"https://github.com/elastic/kibana/pull/173505","mergeCommit":{"message":"fix
missing context for recovered burn rate rule alerts (#173505)\n\nFixes
https://github.com/elastic/kibana/issues/173500","sha":"e3ef0c8c6cce9685746b712abd605efe244f355b"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173505","number":173505,"mergeCommit":{"message":"fix
missing context for recovered burn rate rule alerts (#173505)\n\nFixes
https://github.com/elastic/kibana/issues/173500","sha":"e3ef0c8c6cce9685746b712abd605efe244f355b"}}]}]
BACKPORT-->

Co-authored-by: Panagiota Mitsopoulou <panagiota.mitsopoulou@elastic.co>
2023-12-18 07:58:10 -07:00
Kibana Machine
5e8f6b5db3
[8.12] [Enterprise Search] Button typo fix (#173497) (#173509)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[Enterprise Search] Button typo fix
(#173497)](https://github.com/elastic/kibana/pull/173497)

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

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

<!--BACKPORT [{"author":{"name":"Liam
Thompson","email":"32779855+leemthompo@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-12-18T11:27:22Z","message":"[Enterprise
Search] Button typo fix (#173497)\n\nButton uses incorrect
plural","sha":"b944280008f0d9cc72ecbe5f9ce04d492f51bd3d","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v8.12.0","v8.12.1","v8.13.0"],"number":173497,"url":"https://github.com/elastic/kibana/pull/173497","mergeCommit":{"message":"[Enterprise
Search] Button typo fix (#173497)\n\nButton uses incorrect
plural","sha":"b944280008f0d9cc72ecbe5f9ce04d492f51bd3d"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173497","number":173497,"mergeCommit":{"message":"[Enterprise
Search] Button typo fix (#173497)\n\nButton uses incorrect
plural","sha":"b944280008f0d9cc72ecbe5f9ce04d492f51bd3d"}}]}]
BACKPORT-->

Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>
2023-12-18 05:59:50 -07:00
Kibana Machine
3db8c923f4
[8.12] [Obs UX] Include with_filters and with_query to hosts count event (#173279) (#173507)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[Obs UX] Include with_filters and with_query to hosts count event
(#173279)](https://github.com/elastic/kibana/pull/173279)

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

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

<!--BACKPORT [{"author":{"name":"Carlos
Crespo","email":"crespocarlos@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-12-18T11:05:18Z","message":"[Obs
UX] Include with_filters and with_query to hosts count event
(#173279)\n\ncloses
https://github.com/elastic/kibana/issues/173077\r\n\r\n##
Summary\r\n\r\nAdds `with_query` and `with_filters` attributes to the
\"Host View Total\r\nHost Count Retrieved\" event.\r\n\r\n**note**: date
picker isn't considered for the flags above.\r\n\r\n### How to
test\r\n\r\n1. Start ES, Kibana, and metricbeat\r\n2. Navigate to
Infrastructure > Hosts\r\n3. Inspect the `kibana-browser` request
payload and check if the new\r\nattributes are there\r\n4. Add/remove
filters and query and repeat step 3.\r\n\r\nCo-authored-by: Kibana
Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"c6224788036dc4f8b1f0a9a585b846042f4d89c2","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Metrics
UI","release_note:skip","backport:prev-minor","Team:obs-ux-infra_services","v8.13.0"],"number":173279,"url":"https://github.com/elastic/kibana/pull/173279","mergeCommit":{"message":"[Obs
UX] Include with_filters and with_query to hosts count event
(#173279)\n\ncloses
https://github.com/elastic/kibana/issues/173077\r\n\r\n##
Summary\r\n\r\nAdds `with_query` and `with_filters` attributes to the
\"Host View Total\r\nHost Count Retrieved\" event.\r\n\r\n**note**: date
picker isn't considered for the flags above.\r\n\r\n### How to
test\r\n\r\n1. Start ES, Kibana, and metricbeat\r\n2. Navigate to
Infrastructure > Hosts\r\n3. Inspect the `kibana-browser` request
payload and check if the new\r\nattributes are there\r\n4. Add/remove
filters and query and repeat step 3.\r\n\r\nCo-authored-by: Kibana
Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"c6224788036dc4f8b1f0a9a585b846042f4d89c2"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173279","number":173279,"mergeCommit":{"message":"[Obs
UX] Include with_filters and with_query to hosts count event
(#173279)\n\ncloses
https://github.com/elastic/kibana/issues/173077\r\n\r\n##
Summary\r\n\r\nAdds `with_query` and `with_filters` attributes to the
\"Host View Total\r\nHost Count Retrieved\" event.\r\n\r\n**note**: date
picker isn't considered for the flags above.\r\n\r\n### How to
test\r\n\r\n1. Start ES, Kibana, and metricbeat\r\n2. Navigate to
Infrastructure > Hosts\r\n3. Inspect the `kibana-browser` request
payload and check if the new\r\nattributes are there\r\n4. Add/remove
filters and query and repeat step 3.\r\n\r\nCo-authored-by: Kibana
Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"c6224788036dc4f8b1f0a9a585b846042f4d89c2"}}]}]
BACKPORT-->

Co-authored-by: Carlos Crespo <crespocarlos@users.noreply.github.com>
2023-12-18 05:58:58 -07:00
Julia Bardi
8904970633
[8.12][Fleet] Upgrade details telemetry (#173356) (#173502)
Backport https://github.com/elastic/kibana/pull/173356

I got a merge conflict on backporting to 8.12, because the presets
telemetry was not backportet, is that intentional?
https://github.com/elastic/kibana/pull/172838
2023-12-18 13:45:12 +01:00
Jatin Kathuria
bb19b546b5
[8.12] [Security Solution] Timeline UI refactor revision - Design feedback (#173015) (#173498)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[Security Solution] Timeline UI refactor revision - Design feedback
(#173015)](https://github.com/elastic/kibana/pull/173015)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Jatin
Kathuria","email":"jatin.kathuria@elastic.co"},"sourceCommit":{"committedDate":"2023-12-13T23:17:19Z","message":"[Security
Solution] Timeline UI refactor revision - Design feedback
(#173015)\n\n## Summary\r\n\r\nThis PR implements Design feedback for
the Timeline UI refactoring:\r\n\r\n1. Adds ⨁ back in timeline bottom
bar.\r\n\r\n![image](1572527a-471b-4edb-826a-29610eae0a4a)\r\n2.
Add `Unsaved` badge for better
visibility\r\n\r\n![image](9d279276-cc86-44d4-903c-53ebe60e55fb)\r\n3.
Adds a new tour step for `Add to Favorites`
Icon.\r\n\r\n\r\n2d4f3e2e-7868-4fbb-8a73-c9b427d86e04\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\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-
[x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests
changed","sha":"1ba247ee719565ce3dd345ea0138a60bd71a6656","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport
missing","Team:Threat
Hunting:Investigations","ci:cloud-deploy","v8.12.0","ci:project-persist-deployment","v8.13.0"],"number":173015,"url":"https://github.com/elastic/kibana/pull/173015","mergeCommit":{"message":"[Security
Solution] Timeline UI refactor revision - Design feedback
(#173015)\n\n## Summary\r\n\r\nThis PR implements Design feedback for
the Timeline UI refactoring:\r\n\r\n1. Adds ⨁ back in timeline bottom
bar.\r\n\r\n![image](1572527a-471b-4edb-826a-29610eae0a4a)\r\n2.
Add `Unsaved` badge for better
visibility\r\n\r\n![image](9d279276-cc86-44d4-903c-53ebe60e55fb)\r\n3.
Adds a new tour step for `Add to Favorites`
Icon.\r\n\r\n\r\n2d4f3e2e-7868-4fbb-8a73-c9b427d86e04\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\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-
[x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests
changed","sha":"1ba247ee719565ce3dd345ea0138a60bd71a6656"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173015","number":173015,"mergeCommit":{"message":"[Security
Solution] Timeline UI refactor revision - Design feedback
(#173015)\n\n## Summary\r\n\r\nThis PR implements Design feedback for
the Timeline UI refactoring:\r\n\r\n1. Adds ⨁ back in timeline bottom
bar.\r\n\r\n![image](1572527a-471b-4edb-826a-29610eae0a4a)\r\n2.
Add `Unsaved` badge for better
visibility\r\n\r\n![image](9d279276-cc86-44d4-903c-53ebe60e55fb)\r\n3.
Adds a new tour step for `Add to Favorites`
Icon.\r\n\r\n\r\n2d4f3e2e-7868-4fbb-8a73-c9b427d86e04\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\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-
[x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests
changed","sha":"1ba247ee719565ce3dd345ea0138a60bd71a6656"}}]}]
BACKPORT-->
2023-12-18 13:24:46 +01:00
Kibana Machine
292b615297
[8.12] [SLOs] Fix cloning SLO by opening pre filled form (#172927) (#173504)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[SLOs] Fix cloning SLO by opening pre filled form
(#172927)](https://github.com/elastic/kibana/pull/172927)

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

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

<!--BACKPORT
[{"author":{"name":"Shahzad","email":"shahzad31comp@gmail.com"},"sourceCommit":{"committedDate":"2023-12-18T10:52:32Z","message":"[SLOs]
Fix cloning SLO by opening pre filled form
(#172927)","sha":"3419469e39e0bb4443267bc80fb2500629c772ba","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","Team:obs-ux-management","v8.13.0"],"number":172927,"url":"https://github.com/elastic/kibana/pull/172927","mergeCommit":{"message":"[SLOs]
Fix cloning SLO by opening pre filled form
(#172927)","sha":"3419469e39e0bb4443267bc80fb2500629c772ba"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/172927","number":172927,"mergeCommit":{"message":"[SLOs]
Fix cloning SLO by opening pre filled form
(#172927)","sha":"3419469e39e0bb4443267bc80fb2500629c772ba"}}]}]
BACKPORT-->

Co-authored-by: Shahzad <shahzad31comp@gmail.com>
2023-12-18 05:16:28 -07:00
Kibana Machine
dab8881b8f
[8.12] [Obs AI Assistant] ES|QL improvements (#173303) (#173486)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[Obs AI Assistant] ES|QL improvements
(#173303)](https://github.com/elastic/kibana/pull/173303)

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

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

<!--BACKPORT [{"author":{"name":"Dario
Gieselaar","email":"dario.gieselaar@elastic.co"},"sourceCommit":{"committedDate":"2023-12-17T21:23:50Z","message":"[Obs
AI Assistant] ES|QL improvements (#173303)\n\nUse a combination of
system prompt + recall for ES|QL to allow for:\r\n\r\n- faster
responses\r\n- wider support of functions (e.g. any documented function
is now\r\nsupported, in theory)\r\n\r\nPerformance for the current ES|QL
scenarios is similar.\r\n\r\nSome things I've noticed:\r\n- ~for
whatever reason it is much harder to get the LLM to not make\r\ncertain
mistakes. I've tried mentioning some mistakes close to the end\r\nof the
conversation, but will explore other options.~ I am again opting\r\nfor
repeating common mistakes at the start of the message, but this
time\r\nI'm allowing the LLM to pick them.\r\n- if we can prevent it
from making \"known\" mistakes, we can figure out a\r\nway to have the
LLM store known mistakes. This is also useful for
other\r\nfunctions\r\n- another thing I want to figure out is if more
examples improves for\r\ncommands and custom documentation improves
performance. but later.\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"d54109d8f8243cae00f6871c73d3bdc19f4f9905","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","v8.12.0","v8.12.1","v8.13.0"],"number":173303,"url":"https://github.com/elastic/kibana/pull/173303","mergeCommit":{"message":"[Obs
AI Assistant] ES|QL improvements (#173303)\n\nUse a combination of
system prompt + recall for ES|QL to allow for:\r\n\r\n- faster
responses\r\n- wider support of functions (e.g. any documented function
is now\r\nsupported, in theory)\r\n\r\nPerformance for the current ES|QL
scenarios is similar.\r\n\r\nSome things I've noticed:\r\n- ~for
whatever reason it is much harder to get the LLM to not make\r\ncertain
mistakes. I've tried mentioning some mistakes close to the end\r\nof the
conversation, but will explore other options.~ I am again opting\r\nfor
repeating common mistakes at the start of the message, but this
time\r\nI'm allowing the LLM to pick them.\r\n- if we can prevent it
from making \"known\" mistakes, we can figure out a\r\nway to have the
LLM store known mistakes. This is also useful for
other\r\nfunctions\r\n- another thing I want to figure out is if more
examples improves for\r\ncommands and custom documentation improves
performance. but later.\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"d54109d8f8243cae00f6871c73d3bdc19f4f9905"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173303","number":173303,"mergeCommit":{"message":"[Obs
AI Assistant] ES|QL improvements (#173303)\n\nUse a combination of
system prompt + recall for ES|QL to allow for:\r\n\r\n- faster
responses\r\n- wider support of functions (e.g. any documented function
is now\r\nsupported, in theory)\r\n\r\nPerformance for the current ES|QL
scenarios is similar.\r\n\r\nSome things I've noticed:\r\n- ~for
whatever reason it is much harder to get the LLM to not make\r\ncertain
mistakes. I've tried mentioning some mistakes close to the end\r\nof the
conversation, but will explore other options.~ I am again opting\r\nfor
repeating common mistakes at the start of the message, but this
time\r\nI'm allowing the LLM to pick them.\r\n- if we can prevent it
from making \"known\" mistakes, we can figure out a\r\nway to have the
LLM store known mistakes. This is also useful for
other\r\nfunctions\r\n- another thing I want to figure out is if more
examples improves for\r\ncommands and custom documentation improves
performance. but later.\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"d54109d8f8243cae00f6871c73d3bdc19f4f9905"}}]}]
BACKPORT-->

Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
2023-12-17 15:38:47 -07:00
Kibana Machine
bd389402a2
[8.12] Double check conditional to send EBT event on Feedback (#173454) (#173455)
# Backport

This will backport the following commits from `main` to `8.12`:
- [Double check conditional to send EBT event on Feedback
(#173454)](https://github.com/elastic/kibana/pull/173454)

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

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

<!--BACKPORT [{"author":{"name":"Coen
Warmer","email":"coen.warmer@gmail.com"},"sourceCommit":{"committedDate":"2023-12-15T15:43:34Z","message":"Double
check conditional to send EBT event on Feedback
(#173454)","sha":"1edd6fbc97034fc24082eda34af6480e4ef70391","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","v8.12.0","v8.13.0"],"number":173454,"url":"https://github.com/elastic/kibana/pull/173454","mergeCommit":{"message":"Double
check conditional to send EBT event on Feedback
(#173454)","sha":"1edd6fbc97034fc24082eda34af6480e4ef70391"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173454","number":173454,"mergeCommit":{"message":"Double
check conditional to send EBT event on Feedback
(#173454)","sha":"1edd6fbc97034fc24082eda34af6480e4ef70391"}}]}]
BACKPORT-->

Co-authored-by: Coen Warmer <coen.warmer@gmail.com>
2023-12-15 09:55:22 -07:00
Kibana Machine
ba5f326a3f
[8.12] Adds EBT event for User Prompts, refactor existing EBT event tracking to be typesafe (#173175) (#173450)
# Backport

This will backport the following commits from `main` to `8.12`:
- [Adds EBT event for User Prompts, refactor existing EBT event tracking
to be typesafe (#173175)](https://github.com/elastic/kibana/pull/173175)

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

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

<!--BACKPORT [{"author":{"name":"Coen
Warmer","email":"coen.warmer@gmail.com"},"sourceCommit":{"committedDate":"2023-12-15T09:21:20Z","message":"Adds
EBT event for User Prompts, refactor existing EBT event tracking to be
typesafe (#173175)\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"13ad0ef510ec23a380335935b4557efc01f01f2d","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","v8.12.0","v8.13.0"],"number":173175,"url":"https://github.com/elastic/kibana/pull/173175","mergeCommit":{"message":"Adds
EBT event for User Prompts, refactor existing EBT event tracking to be
typesafe (#173175)\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"13ad0ef510ec23a380335935b4557efc01f01f2d"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173175","number":173175,"mergeCommit":{"message":"Adds
EBT event for User Prompts, refactor existing EBT event tracking to be
typesafe (#173175)\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"13ad0ef510ec23a380335935b4557efc01f01f2d"}}]}]
BACKPORT-->

Co-authored-by: Coen Warmer <coen.warmer@gmail.com>
2023-12-15 03:34:28 -07:00