Commit graph

67219 commits

Author SHA1 Message Date
Steph Milovic
6e4ecff7c8
[Security solution] Another GenAI response schema update (#166495)
## Summary

Follow up from https://github.com/elastic/kibana/pull/166300

We are only using `messages` from `choices`, so I made the other
`choices` properties `maybe` as well
2023-09-14 12:06:11 -07:00
Carlos Crespo
7585057b91
[Infra UI] Make KPI charts subtitle display the host limit information (#166276)
closes https://github.com/elastic/kibana/issues/165825

## Summary

This ticket fixes the problem with the KPI subtitles that were not
correctly showing the host limit information


c2bb6109-82f6-4e2a-8a00-4ddd3f33fba5

Replacing the `useLazyRef` with `useMemo` in the `use_lens_attributes`
to fix this problem, caused many problems with charts re-rendering, now
that the attribute builder is no longer a singleton.

Charts are heavy components and rendering them unnecessarily degrades
performance considerably. So, besides fixing the main issue, I had to
fix in this PR the other problems that surfaced after the change.

I also renamed a few things.

### How to test this PR
- Start a local Kibana instance
- Run slingshot with ~200 hosts for a couple of days
- Navigate to `Infrastructure` > `Hosts` and change the host limit to
confirm that the KPI subtitle will reflect the selection
- Check if the clicks on the tabs and checkboxes are responding quickly.

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2023-09-14 21:01:15 +02:00
Paul Tavares
a449481592
[Security Solution][Endpoint] Add Serverless support to data loading utilities (#166402)
## Summary

PR enables the existing data loading utilities/services, used in e2e
testing and CLI tools, to support being run against a serverless Env..
Changes include:

- `createRuntimeServices()` and the associated methods that create the
ES and KBN clients, will now by default add a CA cert to the ES and KBN
clients if the URL protocol is `https`
- an option was also added to the mothods that allows a developer to
turn this behaviour off if necessary (`noCertForSsl`)
- `createRuntimeServices()` option `asSuperuser` will NOT attempt to
create a new user in ES if it detects its running against serverless. It
will instead set the `username` to `system_indices_superuser`
- `resolver_generator.js` script was updated so that it can be run
against a serverless env. (note: tested only in local dev, not agains
cloud environments)
- new utility to determine if Kibana is running in serverless mode
(`isServerlessKibanaFlavor()`)
- Cypress tests that don't require specific user/role were updated to
use `system_indices_superuser` as the default username (instead of
`elastic`)
2023-09-14 14:32:47 -04:00
Lisa Cawley
ef020b293f
[DOCS] Add preconfigured webhook connector settings (#166289) 2023-09-14 11:26:21 -07:00
Kevin Delemme
70b56b92b0
chore(slo): Rename group by to partition by labels (#166456) 2023-09-14 12:50:52 -04:00
Kevin Delemme
6a5733058b
fix(slo): handle burn rate of 0 as success (#166393) 2023-09-14 12:50:41 -04:00
Maxim Kholod
86e508abf7
[Cloud Security] fix "Install Agent" link from empty states (#166370)
## Summary
A part of Quick Wins day

fixes
- https://github.com/elastic/kibana/issues/160286

The fix is to load more CSP integrations and pick the one that matches
the posture type of the current empty state
2023-09-14 18:47:43 +02:00
Philippe Oberti
8d14f21001
Expandable flyout translations (#166216) 2023-09-14 18:18:50 +02:00
Rachel Shen
c7d2eb55ff
[Fix Reporting Serverless] ILM disabling in reporting client (#166005)
## Summary

Closes https://github.com/elastic/kibana/issues/165999

This PR adds to the config `disableStatefulSettings`. The error
originates in the
`x-pack/plugins/reporting/server/lib/deprecations/check_ilm_migration_status.ts`
that is then called by the reporting api client

``` jsx
...
  this.disableStatefulSettings ? null : this.http.put(INTERNAL_ROUTES.MIGRATE.MIGRATE_ILM_POLICY);
```

I thought an appropriate fix would be adding this setting to the config
vs a topical fix in the check_ilm_migration_status to include any other
stateful settings that are not permitted in the serverless offering.

The store is also inhibiting the csv generation from working. Testing csv downloads works now in Discover.

### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
2023-09-14 09:13:36 -07:00
Shahzad
519c4d6249
[Synthetics] Added ability to hide public locations (#164863) 2023-09-14 17:49:11 +02:00
Marco Antonio Ghiani
39cf3718b3
[Log Explorer] Add "Add data" button (#166266)
## 📓 Summary

Closes #165486 

This work restructured the entry point for the 2 different header menus
(stateful, serverless) and added both of them the Add data button to
navigate to the onboarding page.

**Stateful**

<img width="1780" alt="Screenshot 2023-09-12 at 16 01 16"
src="535a9a5c-603e-4c35-976a-70421c5e36d8">

**Serverless**

<img width="1783" alt="Screenshot 2023-09-12 at 15 49 09"
src="aaa57f41-c4d8-4da1-a808-8b55954df716">

---------

Co-authored-by: Marco Antonio Ghiani <marcoantonio.ghiani@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-09-14 17:48:46 +02:00
Faisal Kanout
51068521b8
[AO] Fix flaky test (#166179)
## Summary

It fixes https://github.com/elastic/kibana/issues/165619
## Notes:
- The issue wasn't related to the `/_alertSummary` endpoint and wouldn't
be fixed after merging the new update from ResponsOps PR. (tested here
with a clone PR https://github.com/elastic/kibana/pull/166273)
- The failing test is so little flaky only **0.5%** , after each update
I run the flaky-test-runner to run 400 times.
- The issue seems related to three things that has been done:
   - Waiting for the rule details page to load
   - Use LogThreshold instead of the Uptime rule
- The mocking lib seems to miss the mock sometimes with Uptime and makes
the real function be called without a `featureIds`

## DoD
- The PR has been tested 2 x 400 = 800 times with 0 fails ->
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3100
2023-09-14 17:33:58 +02:00
Joey F. Poon
6ab7ec48cf
[Security Solution] fix projectId not populating for metering records (#166417) 2023-09-14 08:15:36 -07:00
Wafaa Nasr
66d67056ad
[Security Solution][Exceptions] Fix links in exceptions to open in a new tab (#166008)
## Summary

- Addresses https://github.com/elastic/kibana/issues/165340

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-09-14 17:02:42 +02:00
Lisa Cawley
91d0d7096a
[DOCS] Move preconfigured email connector details (#165181) 2023-09-14 07:59:53 -07:00
Kevin Delemme
e3448651f0
feat(slo): Add range filter to slo indicators by default (#166390) 2023-09-14 10:56:04 -04:00
Nathan Reese
f3b280f6ee
refactor search source warnings to return a single warning for 'is_partial' results (#165512)
Closes https://github.com/elastic/kibana/issues/164905

This PR replaces individual shard failure and timeout warnings with a
single "incomplete data" warning. This work is required for
https://github.com/elastic/kibana/issues/163381

<img width="500" alt="Screen Shot 2023-09-06 at 9 35 52 AM"
src="77e62792-c1f1-4780-b4f2-3aca24e4691b">

<img width="500" alt="Screen Shot 2023-09-06 at 9 36 00 AM"
src="56f37db1-2b4a-484b-9244-66b352d82dc1">

<img width="500" alt="Screen Shot 2023-09-06 at 9 36 07 AM"
src="4a777963-6e88-4736-9d63-99a2843ebdbb">

### Test instructions
* Install flights and web logs sample data
* Create data view kibana_sample_data*. **Set time field to timestamp**
* open discover and select kibana_sample_data* data view
* Add filter with custom DSL
    ```
    {
      "error_query": {
        "indices": [
          {
            "error_type": "exception",
            "message": "local shard failure message 123",
            "name": "kibana_sample_data_logs",
            "shard_ids": [
              0
            ]
          }
        ]
      }
    }
    ```

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Julia Rechkunova <julia.rechkunova@gmail.com>
Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
2023-09-14 08:55:53 -06:00
Sergi Massaneda
5bd152369b
[Security Solution] Serverless pages icon updates (#166379)
## Summary

Security issue: https://github.com/elastic/security-team/issues/7509

Updates the icons in the `Machine Learning` and `Project settings`
landing pages according to the designs

### Screenshots


![ml_landing](f8ceaa93-7cc3-4437-bc93-fd2dafb1d68e)


![project_settings_landing](8dd30108-87f5-49b8-aac5-e884c3bdfdd6)
2023-09-14 16:55:27 +02:00
Konrad Szwarc
9578950404
[Fleet][Kafka] Headers and topics changes trigger hasChanged (#166062)
https://github.com/elastic/kibana/issues/165976

Proper onChange function for headers and topics fields that now
correctly triggers `hasChanged` property resulting in activating `Save`
button as soon as any change is made.



935aee94-d4c3-424e-9481-32103eeb5b04
2023-09-14 16:32:02 +02:00
Alexi Doak
26ba212c44
[ResponseOps][Alerting] Unskips flaky serverless tests (#166091)
Resolves https://github.com/elastic/kibana/issues/165388
Resolves https://github.com/elastic/kibana/issues/164017
Resolves https://github.com/elastic/kibana/issues/163993
Resolves https://github.com/elastic/kibana/issues/165779
Resolves https://github.com/elastic/kibana/issues/165521
Resolves https://github.com/elastic/kibana/issues/165388

## Summary

Unskips serverless tests

Observability x
[50](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3101),
x
[250](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3105)
Security x
[50](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3103),
x
[250](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3107)
Search x
[50](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3102),
x
[250](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3106)
2023-09-14 07:03:20 -07:00
Steph Milovic
14af57b2e8
[Security solution] Remove extra data from tracking clicks (#164378) 2023-09-14 07:32:04 -06:00
Maxim Kholod
cfd65eb5c4
[Cloud Security] add api version to fleet call (#166335)
## Summary
fixes
- https://github.com/elastic/security-team/issues/7623

adding version to the fleet call
2023-09-14 15:28:18 +02:00
Ying Mao
bd0ed6cd89
[Response Ops][Actions] Handling saved object client bulkGet errors when enqueuing actions (#166396)
## Summary

Seeing a bunch of errors like this in serverless logs:

```
Executing Rule default:.es-query:23dedce0-5230-11ee-b332-73fb351d06b8 has resulted in Error: Cannot read properties of undefined (reading 'meta') - TypeError: Cannot read properties of undefined (reading 'meta')\n    at /usr/share/kibana/node_modules/@kbn/actions-plugin/server/authorization/get_authorization_mode_by_source.js:45:56\n    at Array.reduce (<anonymous>)\n    at getBulkAuthorizationModeBySource (/usr/share/kibana/node_modules/@kbn/actions-plugin/server/authorization/get_authorization_mode_by_source.js:43:47)\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at ActionsClient.bulkEnqueueExecution (/usr/share/kibana/node_modules/@kbn/actions-plugin/server/actions_client/actions_client.js:588:24)\n    at ExecutionHandler.run (/usr/share/kibana/node_modules/@kbn/alerting-plugin/server/task_runner/execution_handler.js:249:28)\n    at /usr/share/kibana/node_modules/@kbn/alerting-plugin/server/task_runner/task_runner.js:413:37\n    at TaskRunnerTimer.runWithTimer (/usr/share/kibana/node_modules/@kbn/alerting-plugin/server/task_runner/task_runner_timer.js:50:20)\n    at TaskRunner.runRule (/usr/share/kibana/node_modules/@kbn/alerting-plugin/server/task_runner/task_runner.js:406:5)\n    at TaskRunner.run (/usr/share/kibana/node_modules/@kbn/alerting-plugin/server/task_runner/task_runner.js:629:49)\n    at TaskManagerRunner.run (/usr/share/kibana/node_modules/@kbn/task-manager-plugin/server/task_running/task_runner.js:315:170)
```

which seem to be caused by connectivity issues between Kibana and ES. In
this case, when a rule executes and tries to schedule an action, we use
the saved objects client `bulkGet` function to determine if the rule is
a legacy (pre 7.10) version. We were not checking for errors returned
from the `bulkGet` (which returns as a 200 with errors embedded in the
success response) and so were trying to access data from the SO that did
not exist. This PR checks for errors returned from the `bulkGet` and
logs the error accordingly. Also did some small optimizations to the
code

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2023-09-14 08:48:24 -04:00
Kaarina Tungseth
7010742461
[DOCS] Adds #160116 known issue to 8.9 release notes (#166371)
Adds #160116 known issue to 8.9 release notes.
2023-09-14 08:42:05 -04:00
Jordan
2d1c7d232e
[Cloud Security] Fix benchmark rules name and API usage (#166337) 2023-09-14 15:40:59 +03:00
Thom Heymann
1316738857
Expose hasOnlyDefaultSpace from spaces contract (#166174)
Resolves https://github.com/elastic/kibana/issues/165965

## Summary

Exposes `hasOnlyDefaultSpace` from spaces contract. 

If anyone has a better suggestion for the name I'd be happy to change
it.

---------

Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>
2023-09-14 13:38:37 +01:00
Aleh Zasypkin
0538e65a8b
Clarify authentication providers orders in the Serverless test config. (#166356)
## Summary

Clarify authentication providers orders in the Serverless test config.

__Follow-up for:__
https://github.com/elastic/kibana/pull/165810#discussion_r1324364175
2023-09-14 14:14:51 +02:00
Dzmitry Lemechko
6968fe171a
[chore] update chromedriver to 116 (#166345)
## Summary

Updating chromedriver to 116 so it should work with newly released
Chrome v117
2023-09-14 14:05:58 +02:00
Lola
26ea74df8e
[Cloud Security]fix json tab overflow content (#166434)
## Summary

Summarize your PR. If it involves visual changes include a screenshot or
gif.
[Quick Wins](https://github.com/elastic/security-team/issues/7436)
Applied offset Bottom height so JSON Tab content inside this absolute
`div` element is scrollable and doesn't get cut off by the sticky bar:
2023-09-14 04:16:30 -07:00
Ido Cohen
854dd4f7f3
[Cloud Security] Fix typo in sampling rate serverless (#166153) 2023-09-14 04:12:34 -07:00
Kevin Lacabane
d78ecfea34
[Metrics] metrics_data_access plugin (#164094)
## Summary

Closes https://github.com/elastic/kibana/issues/161876

Creates a plugin providing utilities to access metrics data. The plugin
only exposes a server API which includes a client with two methods:
- `getMetricIndices` to retrieve the user-defined indices where metrics
are located
- `updateMetricIndices` to update the indices

The client is now used where we previously relied on infra plugin to
provide the configuration, in APM and Infra.

The plugin persists the configuration in a new saved object
`metrics-data-source`. Because this configuration was previously stored
in the `infrastructure-ui-source`, the plugin relies on a fallback to
reuse any existing value (see additional context
https://github.com/elastic/kibana/issues/161876#issuecomment-1673537400).

### Reviewers
There are no functional changes outside of Infra Monitoring UI and APM
UI, other codeowners are involved because this introduces a new saved
object
- APM - the change introduces a drop-in replacement of the
`infra.getMetricIndices` call. The ui code still relies on infra plugin
for a couple of components so we can't drop the dependency yet, those
we'll need to be moved to a tier 2 plugin (more details in
https://github.com/elastic/observability-dev/discussions/2787
(internal)) in a separate issue

### Testing
You'll need metrics data to verify data fetching works (I've used an
edge-oblt cluster)

1. Navigate to Infrastructure Settings and verify metric indices are
configured with the default value of `infrastructure-ui-source`
2. Update metric indices settings (if connected to oblt cluster add
`remote_cluster:..` indices)
3. Verify `metrics-data-source` saved object is persisted with correct
attributes
4. Verify Infrastructure Inventory is pulling data from the newly
configured indices
5. Go to APM services, verify service Infrastructure pulls data from
newly configured indices

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Jason Rhodes <jason.rhodes@elastic.co>
2023-09-14 12:55:13 +02:00
Yngrid Coello
688980ce34
[Logs onboarding] Remove inspect button at the end of the flow (#166423)
Closes https://github.com/elastic/kibana/issues/166256.

### Before

![image](1f73cbb5-3acc-471d-9281-8c62d0ef0abb)

### After
<img width="1191" alt="image"
src="ab769f98-fe4f-407c-b21a-13b21c91f300">

### How to test
1. Go to [logs
onboarding](https://yngrdyn-deploy-kiban-pr166423.kb.us-west2.gcp.elastic-cloud.com/app/observabilityOnboarding)
landing page
2. Select `Stream log files` type of onboarding
3. Fill out the required fields
4. Go to next step
5. Verify that `Inspect` button is no longer next to `Explore logs`
button
2023-09-14 12:46:59 +02:00
Yngrid Coello
d7451f6215
[Logs onboarding] Making onboarding boxes clickable (#166422)
Closes https://github.com/elastic/kibana/issues/166000.

### Before

![image](cbb66ff5-3a84-4ad6-88de-14e8f98c0c6a)

### After
<img width="936" alt="image"
src="ba886167-c073-45da-99b0-36607a81b50c">

### How to test
1. Go to[ logs
onboarding](https://yngrdyn-deploy-kiban-pr166422.kb.us-west2.gcp.elastic-cloud.com/app/observabilityOnboarding)
landing page
2. Verify the folllowing
- Cards are clickable. `Get started` buttons should remain clickable as
well.
    - Cards description is centered
2023-09-14 12:46:22 +02:00
James Rodewig
94219bd1e9
[DOCS] Fix welcome-to-elastic link (#166357)
**Problem:** In https://github.com/elastic/docs/pull/2752, we updated the URL prefix (`welcome-to-elastic`) and name for the "Welcome to Elastic Docs" docs. However, we still have some stray links that use the old `/welcome-to-elastic` URL prefix

**Solution:** Update an outdated link.
2023-09-14 06:08:35 -04:00
Abdon Pijpelink
5280053614
[DOCS] Remove 'coming in 8.10' from changelog (#166427) 2023-09-14 06:08:04 -04:00
Pierre Gayvallet
b1bfe92637
[cloud plugin] Add serverless projectName to configuration and contract (#166330)
## Summary

Part of https://github.com/elastic/kibana/issues/166182
Similar to https://github.com/elastic/kibana/pull/161728

Add the `serverless.project_name` config setting to the cloud plugin,
and expose the `serverless.projectName` info from the cloud plugin's
API.
2023-09-14 11:28:31 +02:00
Vadim Kibana
f1fb5e0a7e
add theme provider to Reporting management app (#166346)
## Summary

Closes https://github.com/elastic/kibana/issues/153269
Closes https://github.com/elastic/kibana/issues/163342
2023-09-14 10:48:46 +02:00
Vadim Kibana
19235fabb7
Remove deprecated EUI components in reporting_example plugin (#166224)
## Summary

Partially addresses https://github.com/elastic/kibana/issues/161422

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2023-09-14 10:47:20 +02:00
Dzmitry Lemechko
3c9ccbe6af
[kbn-es] fix writing ES logs to file (#166400)
## Summary

#165676 broke api-capacity-testing pipeline with `writeLogsToPath`
[failing](https://buildkite.com/elastic/kibana-apis-capacity-testing/builds/1940)
on calling `Rx.combineLatest(..)`

This PR fixes the problem by changing imports & adding an integration
test to catch it next time
2023-09-14 10:34:58 +02:00
Marco Liberati
e74bf292f8
[Lens] Unskip tsdb tests (#166354)
## Summary

Fixes #166097

Relax test checks.

Flaky test runner x 100 passing:
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3095

### Checklist

Delete any items that are not applicable to this PR.

- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [ ] Any UI touched in this PR does not create any new axe failures
(run axe in browser:
[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),
[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This renders correctly on smaller devices using a responsive
layout. (You can test this [in your
browser](https://www.browserstack.com/guide/responsive-testing-on-local-server))
- [ ] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)


### Risk Matrix

Delete this section if it is not applicable to this PR.

Before closing this PR, invite QA, stakeholders, and other developers to
identify risks that should be tested prior to the change/feature
release.

When forming the risk matrix, consider some of the following examples
and how they may potentially impact the change:

| Risk | Probability | Severity | Mitigation/Notes |

|---------------------------|-------------|----------|-------------------------|
| Multiple Spaces&mdash;unexpected behavior in non-default Kibana Space.
| Low | High | Integration tests will verify that all features are still
supported in non-default Kibana Space and when user switches between
spaces. |
| Multiple nodes&mdash;Elasticsearch polling might have race conditions
when multiple Kibana nodes are polling for the same tasks. | High | Low
| Tasks are idempotent, so executing them multiple times will not result
in logical error, but will degrade performance. To test for this case we
add plenty of unit tests around this logic and document manual testing
procedure. |
| Code should gracefully handle cases when feature X or plugin Y are
disabled. | Medium | High | Unit tests will verify that any feature flag
or plugin combination still results in our service operational. |
| [See more potential risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx) |


### For maintainers

- [ ] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
2023-09-14 10:30:39 +02:00
Konrad Szwarc
fbb05098b4
[Fleet][Defend Workflows] Api validation for endpoint package policy field (#166094)
closes https://github.com/elastic/security-team/issues/7212

This PR introduces API validation for the `global_manifest_version`
field in the `endpoint` package policy.
2023-09-14 10:28:56 +02:00
James Rodewig
fbabbc402c
[main] [DOCS] Adds the release notes for 8.10.0 (#165077) (#166331)
# Backport

Adds the following commits to `main`:
- [[DOCS] Adds the release notes for 8.10.0
(#165077)](https://github.com/elastic/kibana/pull/165077)
- [[8.10] [DOCS] Fix 8.10 RNs
(#166316)](https://github.com/elastic/kibana/pull/166316)

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

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

<!--BACKPORT
[{"author":{"name":"amyjtechwriter","email":"61687663+amyjtechwriter@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-09-01T10:06:12Z","message":"[DOCS]
Adds the release notes for 8.10.0 (#165077)\n\nAdds the release notes
for 8.10.0.\r\n\r\n---------\r\n\r\nCo-authored-by: lcawl
<lcawley@elastic.co>","sha":"162a95938bea9f9b848f16213d1dd9425df96f12","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:skip","v8.10.0","v8.11.0"],"number":165077,"url":"https://github.com/elastic/kibana/pull/165077","mergeCommit":{"message":"[DOCS]
Adds the release notes for 8.10.0 (#165077)\n\nAdds the release notes
for 8.10.0.\r\n\r\n---------\r\n\r\nCo-authored-by: lcawl
<lcawley@elastic.co>","sha":"162a95938bea9f9b848f16213d1dd9425df96f12"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/166304","number":166304,"state":"MERGED","mergeCommit":{"sha":"f9dd35d868cf641caf53cc52f9dfa23b2e645fa0","message":"[8.10]
[DOCS] Adds the release notes for 8.10.0 (#165077) (#166304)\n\n#
Backport\n\nThis will backport the following commits from `main` to
`8.10`:\n- [[DOCS] Adds the release notes for
8.10.0\n(#165077)](https://github.com/elastic/kibana/pull/165077)\n\nCo-authored-by:
amyjtechwriter
<61687663+amyjtechwriter@users.noreply.github.com>"}},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/165077","number":165077,"mergeCommit":{"message":"[DOCS]
Adds the release notes for 8.10.0 (#165077)\n\nAdds the release notes
for 8.10.0.\r\n\r\n---------\r\n\r\nCo-authored-by: lcawl
<lcawley@elastic.co>","sha":"162a95938bea9f9b848f16213d1dd9425df96f12"}}]}]
BACKPORT-->

---------

Co-authored-by: amyjtechwriter <61687663+amyjtechwriter@users.noreply.github.com>
2023-09-14 10:15:31 +02:00
Stratoula Kalafateli
87dc64e0bf
[ES|QL] Enable ESQL alerts from the Discover app (#165973)
## Summary

Enables the Alerts menu in Discover nav for the ES|QL mode and defaults
to ESQL alerts by carrying the query that the user has typed.

<img width="1621" alt="image"
src="5ffef9d1-179a-464a-8941-b6bf18b4f30f">

### Checklist

- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
2023-09-14 10:55:09 +03:00
Miriam
dcce011f91
[APM] Add telemetry for top traces (#166263)
Closes https://github.com/elastic/kibana/issues/161985
2023-09-14 08:29:54 +01:00
James Gowdy
de8e1ccee2
[ML] Fixing ML settings in setup (#166421)
Moving when settings are registered to fix crash in kibana starting up.
2023-09-14 00:26:27 -07:00
Stratoula Kalafateli
d2a53082b7
[ES|QL] Add a progress bar in case text based data change (#165830)
## Summary

This PR adds a progress bar when the suggestion chart changes due to
changes in the query. For time consuming queries this might take some
time and the old suggestion will be visible until the data being
fetched.


![esql](9efb65fd-ec18-42c0-893c-e48bff5691a4)

### Checklist
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
2023-09-14 09:01:22 +03:00
Stratoula Kalafateli
b525ef7421
[ES|QL] Add to global navigation (#166065)
## Summary

Closes https://github.com/elastic/kibana/issues/165707

Adds ESQL in the global search. It will navigate the users to Discover
with ESQL mode on. The initial state will be created from the default
dataview

![esql](7e8820ea-f46a-417f-a332-fb694f2a9984)

### Checklist

- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
2023-09-14 09:00:23 +03:00
Kibana Machine
89d6bbbeb7
[api-docs] 2023-09-14 Daily api_docs build (#166420)
Generated by
https://buildkite.com/elastic/kibana-api-docs-daily/builds/460
2023-09-14 00:52:18 -04:00
Patrick Mueller
f638a38c64
[Response Ops] add ignore_malformed to alerts mappings AGAIN (#165781)
Resolves https://github.com/elastic/kibana/issues/161465

This is a re-do of https://github.com/elastic/kibana/pull/163414, which
we had to revert since data streams do not support `ignore_malformed` on
the `@timestamp` field. We now specifically add `ignore_malformed:
false` for that field, and then use `ignore_malformed: true` at the
index level.

This ignores malformed content globally across all allowed mapping
types. For existing alerts as data indices, the new setting is not
applied directly to the existing concrete indices but will be applied
whenever the alias rolls over and a new concrete index is created.
2023-09-13 23:53:15 -04:00
Joey F. Poon
21034c12e7
[Security Solution] add serverless endpoint metering service tests (#164523) 2023-09-13 17:49:35 -07:00