Commit graph

59021 commits

Author SHA1 Message Date
Andreas Gkizas
0304053abd Page created for Obs>Infrastructure>Kubernetes Obs 2022-12-09 17:24:26 +02:00
Andreas Gkizas
0f483bbd12 Creating Kubernetes Observability Plugin 2022-12-08 17:31:57 +02:00
Andreas Gkizas
cbb7598d89 Initial commit 2022-12-08 15:48:23 +02:00
Julia Bardi
431c32b894
[Fleet] cancel tasks when 3rd retry failed (#147190)
## Summary

Related to https://github.com/elastic/kibana/issues/144161

Found that on a bulk update tags task failure, the task didn't stop
after 3 retries (should be over in less then a minute), the retries kept
happening for 2 hours.
This change removes the retry task if 3 retries are reached.

Also testing in cloud deployment to see if the tags error can be
reproduced with this fix.
I could reproduce the reported error locally, and seeing it goes away
with this fix.

To verify:
- Add at least 50k agents with the `create_agents` script in kibana repo
- open Kibana, select the 50k agents, and open Actions / Add tags
- Try this in a few seconds: add 2 new tags, and remove one of them
- Wait about 30s, the agents should reflect the changes
- Check the logs to see that the tasks are removed after 3rd retry is
reached or successful.
- Check that there are no more running tasks. Any running task can be
found in Kibana Console by running this query: `GET
.kibana_task_manager/_search?q=task.taskType:"fleet:update_agent_tags:retry"`

Locally simulated an error to test that the retry (and check) task is
removed:

```
[2022-12-07T15:52:16.415+01:00][ERROR][plugins.fleet] Retry #3 of task fleet:update_agent_tags:retry:848984ab-c11d-4ebe-8d1f-606143dd656b failed: failing task
[2022-12-07T15:52:16.416+01:00][WARN ][plugins.fleet] Stopping after 3rd retry. Error: failing task
[2022-12-07T15:52:16.416+01:00][INFO ][plugins.fleet] Removing task fleet:update_agent_tags:retry:check:848984ab-c11d-4ebe-8d1f-606143dd656b
[2022-12-07T15:52:16.416+01:00][INFO ][plugins.fleet] Removing task fleet:update_agent_tags:retry:848984ab-c11d-4ebe-8d1f-606143dd656b
```
2022-12-08 09:14:33 +01:00
Julia Rechkunova
1f0ae32671
[Discover] Render the sidebar even if documents fetching failed (#147179)
This is a follow up PR for https://github.com/elastic/kibana/pull/144412
to fix how "Error" case is handled.

Before: the sidebar was stuck in loading state:
<img width="600" alt="Screenshot 2022-12-07 at 13 16 21"
src="https://user-images.githubusercontent.com/1415710/206183995-9079ee4f-6c7c-4a59-ace3-f2c22807a17b.png">

After: the sidebar is rendered:
<img width="600" alt="Screenshot 2022-12-07 at 13 17 06"
src="https://user-images.githubusercontent.com/1415710/206184115-abd08241-e0b6-4fff-b257-fe12be2a0006.png">
2022-12-08 08:39:38 +01:00
Kibana Machine
94c46eba45
[api-docs] 2022-12-08 Daily api_docs build (#147228)
Generated by
https://buildkite.com/elastic/kibana-api-docs-daily/builds/180
2022-12-08 00:48:19 -05:00
Spencer
8b89a5bd5c
[shared-ux] remove circular dependency in solution-nav (#147201)
While working on another project I found a circular dependency between
the `@kbn/shared-ux-page-solution-nav` and
`@kbn/shared-ux-page-kibana-template-types` packages. My upcoming PR
will prevent this from happening in the future, but for now this is just
a small change to fix the issue.
2022-12-07 18:48:19 -06:00
Tyler Smalley
e674e11381 skip failing suite #102283
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2022-12-07 15:10:03 -08:00
Nathan Reese
8695086d3d
[maps] use control group time slider (#146486)
PR replaces Maps time slider implementation with control time slider 

<img width="600" alt="Screen Shot 2022-11-28 at 3 57 24 PM"
src="https://user-images.githubusercontent.com/373691/204398771-54b36093-f0c9-4e3b-8637-ecc8b6dd2429.png">

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-12-07 15:14:30 -07:00
Lisa Cawley
27077dfca0
[ML] Add automated screenshot for finding anomalies page (#146916) 2022-12-07 14:27:27 -07:00
Jonathan Buttner
f0777b3bc1
[Cases] Delete users actions and add audit log (#145632)
This PR deletes users actions when the case is deleted. It makes a few
improvements:

- Uses point in time finder for the different case entities when
deleting instead of requesting a single page of 10k results
- Refactors the User actions class to receive the
`unsecuredSavedObjectClient` as a parameter when initializing the class
- Adds the audit log message when a user action is created
- Leverages the bulk delete method from the saved object core library

Fixes: https://github.com/elastic/kibana/issues/143657
https://github.com/elastic/kibana/issues/145124

<details><summary>User actions removed when deleting cases</summary>


https://user-images.githubusercontent.com/56361221/204568129-525e176c-84af-4197-8f80-fc0801676226.mov


</details>

## Example Audit Log Messages

```
[2022-11-29T10:10:32.365-05:00][INFO ][plugins.security.audit.ecs] User created case id: f7138410-6ff7-11ed-860b-4fd7293e59c1 - user action id: f73256b0-6ff7-11ed-860b-4fd7293e59c1
[2022-11-29T10:11:08.716-05:00][INFO ][plugins.security.audit.ecs] User assigned uids: [u_mGBROF_q5bmFCATbLXAcCwKa0k8JvONAwSruelyKA5E_0] to case id: f7138410-6ff7-11ed-860b-4fd7293e59c1 - user action id: 0cf9e670-6ff8-11ed-860b-4fd7293e59c1
```

## Testing

To view the audit log message add these fields to your `kibana.dev.yml`
file

```
xpack.security.audit.enabled: true
xpack.security.audit.appender.type: 'console'
xpack.security.audit.appender.layout.type: 'pattern'
xpack.security.audit.appender.layout.highlight: true
```

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-12-07 14:22:06 -07:00
Nicolas Chaulet
8f71351a94
[Fleet] Improve package policy open API doc (#147144) 2022-12-07 12:59:28 -07:00
Dzmitry Lemechko
852299b535
[performance] add APM data set extraction pipeline (#147177)
## Summary

Part of #140828

PR for run yml file
[elastic/kibana-buildkite/pull/67](https://github.com/elastic/kibana-buildkite/pull/67)

This PR moves data set extraction step in separate pipeline, still
reporting KIbana scalability and ES Rally output in Kibana-related
bucket.

Reporting ES Rally data to required bucket will be added in the
follow-up PR.
2022-12-07 19:02:15 +01:00
Nicolas Chaulet
29d274576b
[Fleet] Remove preconfiguration API route (#147199) 2022-12-07 10:53:31 -07:00
Pierre Gayvallet
42319a79b3
fix cyclic imports in core packages (#147200) 2022-12-07 10:43:28 -07:00
Kevin Delemme
a0b08dae24
feat(slo): scaffold slo details page (#146919) 2022-12-07 10:39:59 -07:00
renovate[bot]
9998b328fc
Update dependency react-hook-form to ^7.40.0 (main) (#147162) 2022-12-07 18:22:35 +01:00
Cee
7e7a9fcc45
[Security] Fix integration card(s) wrapped in EuiTour not inheriting grid row height (#147041)
closes https://github.com/elastic/kibana/issues/147007
2022-12-07 09:13:10 -08:00
Marco Liberati
528f3bd3a5
[Lens] Absolute time shift support in formula (#144564)
## Summary

Closes #102493

This PR introduces the ability to define an absolute time shift as a new
type of time shift in Lens.
The idea is to avoid to push down the absolute logic to the agg level,
rather translate as soon as possible the absolute shift into a relative
one (in seconds, the minimal time unit allowed) and perform all checks
in this format.

**Note**:
The feature is currently enabled as formula-only and using it in a Quick
function context will validate it as an invalid shift.

**Details**:
The used format for anchoring right now is:

* `startAt(2022-11-03T18:30:27.278Z)` for start anchoring (from the
given date used as `start` anchor forward to a dynamic end date), and

<img width="1172" alt="Screenshot 2022-11-15 at 15 13 36"
src="https://user-images.githubusercontent.com/924948/201942522-8515f845-b065-448b-bc3b-da72ea8f9de3.png">

* `endAt(2022-11-03T18:30:27.278Z)` for end anchoring (from the given
date backward to a start date dynamically computed)

<img width="1168" alt="Screenshot 2022-11-15 at 15 13 21"
src="https://user-images.githubusercontent.com/924948/201942569-91175316-1cb6-45af-8d32-83eb91d5ad9a.png">

* when an absolute time shift is detected in formula then the shifts
suggestions are translated into absolute shifts

<img width="304" alt="Screenshot 2022-11-15 at 15 18 08"
src="https://user-images.githubusercontent.com/924948/201942631-b4906a11-9de0-4ce0-94f8-16d9576247bf.png">
<img width="281" alt="Screenshot 2022-11-15 at 15 18 17"
src="https://user-images.githubusercontent.com/924948/201942633-20c52277-450e-4191-94a7-74f21a6255af.png">

### Basics

 * [x] Add a Absolute time shift validation function
 * [x] Add a strict shift parser to duration (in seconds)
 * [x] Add a function to extract tokens from raw string
* Enable the feature in Lens
   * [x] formula
     * [x] parsing
     * [x] formula validation
     * [x] suggestion adapted to work with the Absolute shift
   * [x] errors
   * [x] warnings
* interval-based validations are skipped for absolute shifts as issues
are resolved at expression translation time anyway
   * [x] via API (formula helper)

### Implementation details

While the range is computed correctly based on the current interval, the
actual shift is rounded to prevent issues on data fetching. The interval
is computed with an algorithm similar to the one used by ES and the
shift is offset to the closest multiple of that interval (i.e. if the
current shift is `1.78` times the interval, then the shift is rounded to
`2` intervals in a way to include the given date).

### 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)

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2022-12-07 18:04:07 +01:00
Philippe Oberti
cf2bbcd957
[TIP] use cases plugin permission api (#146738)
elastic/security-team#5474
2022-12-07 10:46:55 -06:00
Maryam Saeidi
a30d225421
[Actionable Observability] Add rule details locator and make AlertSummaryWidget clickable (#147103)
Resolves #141467

## 📝 Summary

- Added a
[locator](https://docs.elastic.dev/kibana-dev-docs/routing-and-navigation#specifying-state)
for the rule details page
- Made AlertSummaryWidget clickable and implemented the related
navigation for rule details page

## 🧪 How to test
- Create a rule and go to the rule details page
- You should be able to click on all/active/recovered sections in Alert
Summary Widget and upon click going to alert tables with the correct
filter


https://user-images.githubusercontent.com/12370520/205959565-6c383910-763f-4214-9baa-cf191f012de9.mp4
2022-12-07 17:18:02 +01:00
Dario Gieselaar
313537c178
[Profiling] Configurable ES client (#144533) 2022-12-07 08:36:13 -07:00
Nicolas Chaulet
f8fea0fb93
[Fleet] Honor registry datastream source_mode in package policy editor UI (#147034) 2022-12-07 08:25:52 -07:00
Devin W. Hurley
6d5b292638
[Security Solution] [Exceptions] fixes error not displaying when importing invalid exception list (#147143)
## Summary

Ref: https://github.com/elastic/kibana/issues/146871

Also restores functionality where if a user tries to import an exception
list that already exists within the system, they are offered up options
as to how to proceed; either by overwriting the current list or
importing this list as a different list.
2022-12-07 10:06:24 -05:00
Cristina Amico
170de2dcd4
[Fleet] Replace references to EPR staging/snapshot with EPR V2 (#147110)
## Summary

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

Replace the logic to get the package registry URL with a constant
pointing to the new EPR V2 url.

Also removes some related logic from `task/bundle_fleet_packages` (see
[here](https://github.com/elastic/kibana/pull/146931/files#r1039342538)).
Now all package registry URLs point to `https://epr.elastic.co`.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-12-07 15:55:33 +01:00
Elastic Machine
43e7bc7fc7
[main] Sync bundled packages with Package Storage (#147161)
Automated by
https://internal-ci.elastic.co/job/package_storage/job/sync-bundled-packages-job/job/main/832/

Co-authored-by: apmmachine <infra-root+apmmachine@elastic.co>
2022-12-07 09:51:15 -05:00
Alexander Wert
6872f82a52
Added mobile synthtrace scenario (#146985)
Extended APM synthtrace to support mobile use cases and added a mobile
scenario that generates trace data.

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kate Patticha <aikaterini.patticha@elastic.co>
2022-12-07 15:28:56 +01:00
Kevin Logan
bc9ee32e3d
[Security Solution] Fix data generator so that it will load dev endpoint packages (#147149)
## Summary

Fixes the generator script by including the `prerelease` flag in the
install package call.

<img width="1552" alt="image"
src="https://user-images.githubusercontent.com/56395104/206051967-b9356243-58cb-4a12-8457-247cc5f44e8e.png">

<img width="1726" alt="image"
src="https://user-images.githubusercontent.com/56395104/206052008-ca0f341c-8a33-4655-be62-218e5b7515fd.png">

### Checklist
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-12-07 08:58:02 -05:00
Kevin Delemme
f179279e5c
feat(slo): SLO selector component (#147010) 2022-12-07 08:49:53 -05:00
Julia
925666e04b
[RAM] Return rules from bulk delete (#147077)
## Summary

In this PR we are returning in response for bulkDelete API actual rules
which have being deleted like we do for the bulk editing API. Security
solution needs that information as part of the API contract so they can
have their stateful rule table still working the way it is.


### 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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-12-07 14:25:31 +01:00
Alison Goryachev
031d8a8cea
[Index Management] Fix component template usage count sort (#147141) 2022-12-07 08:21:50 -05:00
Coen Warmer
f13f167286
Fix flaky test for Observability > Rules Page (#147175)
Resolves https://github.com/elastic/kibana/issues/146450.

## Summary

Check if Create Rule button not only exists, but also is enabled. 

- [X] Ran the Flaky Test Runner on this branch with 50 iterations:
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1634#0184ec8a-d86a-40a9-9e04-47936d9ec9f9
2022-12-07 14:16:24 +01:00
Pete Harverson
4294e3b17f
[ML] Add API tests for index exists endpoint (#146400)
## Summary

Adds tests to check the response of the index exists endpoint:

```
/api/ml/index_exists
```

Also fixed the behavior of the endpoint when passed an index with a
wilcard expression so that it no longer returns `true` if an index does
not exist matching the expression by adding `allow_no_indices: false` to
the query parameters.

Part of https://github.com/elastic/kibana/issues/142456


### 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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-12-07 13:12:17 +00:00
Pete Harverson
9209d50562
[ML] Use anomaly score explanation for chart tooltip multi-bucket impact (#146866)
## Summary

Follow-up to #142999, using the `multi_bucket_impact` field from the
`anomaly_score_explanation` data to populate the multi-bucket
information in the anomaly chart tooltip using the same visualization
style as used in the expanded table row.

<img width="1174" alt="image"
src="https://user-images.githubusercontent.com/7405507/205274876-b2007388-e37a-4f31-8c23-97fbac42f4d8.png">

The anomaly charts in the Anomaly Explorer and Single Metric Viewer, and
the severity cell in the anomalies table now use a new
`isMultiBucketAnomaly` check in `ml/common/util/anomaly_utils.ts`m to
determine whether to indicate the anomaly as multi-bucket with the
plus-shaped symbol. Note that this will result in some changes to
whether anomalies are plotted as multi-bucket anomalies. Specifically
anomalies with a 'moderate' multi-bucket impact are now likely to be
marked with a plus symbol where before they were not:

Before:
<img width="775" alt="image"
src="https://user-images.githubusercontent.com/7405507/205276861-613e0966-9041-4a77-a922-369bb0c6d3c3.png">

After:
<img width="809" alt="image"
src="https://user-images.githubusercontent.com/7405507/205277054-86895ab2-f5b1-42d4-a947-5d2cd5f3d82e.png">


### Checklist

Delete any items that are not applicable to this PR.

- [x] 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)
- [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
- [x] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)
2022-12-07 13:11:52 +00:00
Shahzad
802d8eaeb2
[Synthetics] Add private locations in synthetics settings (#146986)
Fixes https://github.com/elastic/kibana/issues/137486
2022-12-07 13:45:18 +01:00
Stratoula Kalafateli
405eb89f35
[Vislib] Removes the old implementation of the pie (#146990)
## Summary

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

Removes the implementation of the vislib pie. Specifically:

- Removes the `visualization:visualize:legacyPieChartsLibrary` advanced
setting which was used as a fallback to vislib pie,
- Cleanups the vislib code from the pie
2022-12-07 14:14:47 +02:00
Julia Bardi
e771fc8e9f
changed agent versions to agents per version telemetry (#147164)
## Summary

Changed the list of agent versions to agent count per version in
fleet-usages telemetry as requested
[here](https://github.com/elastic/kibana/pull/145353#issuecomment-1331783758).


### 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
2022-12-07 12:23:30 +01:00
Alexey Antonov
464a9f7cf0
[Step 1][ESQL] Syntax part (#146379)
Part of: #144296

## Summary

First step of `[ESQL] Improve the typing experience` (#144296). This PR
is the skeleton for later parts, but already supports basic parsing
scenarios.

## What was done: 
- [x] Added new `ESQL` language in `@kbn/monaco` package. Parsing was
done using the `antl` syntax;
- [x] `kbnUiSharedDeps`-srcJs bundle has been optimised, all workers
have been moved into separate chunks. This gave almost minus` 2 MB` 🕺
- [x] existing `esql` lang was renamed to `sql`. In order not to confuse
anyone in the future
- [x] some code from `painless` folder was moved to `common` and reused
in ESQL (probably needs some refactoring in future)

## Next steps: 
- [ ]  improving `ANLT` syntax to cover all cases
- [ ]  implementing `Autocomplete` feature

## How to use new `ESQL Lang`:
To use new language 2 properties should be set for `CodeEditor`
component

```ts
import { ESQL_LANG_ID, ESQL_THEME_ID  } from '@kbn/monaco';
import { CodeEditor  } from '@kbn/kibana-react-plugin/public';

 <CodeEditor
      ...
      languageId={ESQL_LANG_ID}
      options={{
        ...
        theme: ESQL_THEME_ID,
      }}
 />
```

Currently syntax highlighting looks like: 

<img width="450" alt="image"
src="https://user-images.githubusercontent.com/20072247/205685072-0658fad1-d034-4d36-a44d-6a49e7365ab3.png">

<img width="450" alt="image"
src="https://user-images.githubusercontent.com/20072247/205685220-c67db50c-6f3b-49b5-9576-d1ee68428184.png">


Will be updated in Step 2

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
2022-12-07 14:12:28 +03:00
Maryam Saeidi
9b828e3c4c
[Actionable Observability] Expose ObservabilityAlertSearchBar from Observability plugin (#146401)
Resolves #146286

## 📝 Summary

In this PR, I exposed ObservabilityAlertSearchBar from the Observability
plugin to be used in other plugins such as APM.
I've added `ObservabilityAlertSearchBarProvider` in order for other
plugins to provide Kibana dependencies to the shared component.

## 🧪 How to test

For testing the implementation, I imported this component in the APM
plugin and used it in the alerts tab, you can do the same locally by
following these steps:
1. Import `ObservabilityAlertSearchBar` in
[APM](https://github.com/elastic/kibana/blob/main/x-pack/plugins/apm/public/components/app/alerts_overview/index.tsx)
and define related hook:
```
import {
  ObservabilityAlertSearchBar,
  ObservabilityAlertSearchBarProvider,
} from '@kbn/observability-plugin/public';

export const useToasts = () =>
  useKibana<ApmPluginStartDeps>().services.notifications!.toasts;
```

2. Replace
[AlertsTableStatusFilter](https://github.com/elastic/kibana/blob/main/x-pack/plugins/apm/public/components/app/alerts_overview/index.tsx#L74)
with the `ObservabilityAlertSearchBar` component:
```
<ObservabilityAlertSearchBarProvider
  {...services}
  useToasts={useToasts}
>
  <ObservabilityAlertSearchBar
    appName={'apmApp'}
    kuery={''}
    onRangeFromChange={(input) => console.log(input)}
    onRangeToChange={(input) => console.log(input)}
    onKueryChange={(input) => console.log(input)}
    onStatusChange={(input) => console.log(input)}
    onEsQueryChange={(input) => console.log(input)}
    rangeTo={'now'}
    rangeFrom={'now-15m'}
    status={'all'}
  />
</ObservabilityAlertSearchBarProvider>
```
You should see the new search bar in APM alerts tab:


![image](https://user-images.githubusercontent.com/12370520/204302146-c0ff4658-67ab-4639-a955-b75a647f57da.png)
2022-12-07 10:20:01 +01:00
Kibana Machine
98412f795e
[api-docs] 2022-12-07 Daily api_docs build (#147160)
Generated by
https://buildkite.com/elastic/kibana-api-docs-daily/builds/179
2022-12-07 00:50:28 -05:00
Shan Mahanama
9efeb436a5
Fix typo (#144302)
## Summary

This PR fixes a typo in the documentation.

Co-authored-by: Brandon Morelli <brandon.morelli@elastic.co>
2022-12-06 22:32:39 -05:00
Zacqary Adam Xeper
a3220fe1b6
[Alerting] Split RulesClient methods into multiple files (#146612)
## Summary

Closes #136141 

This splits `rules_client.ts`, a file of over 5000 lines, into multiple
files. It does this by converting all of the `RulesClient` classes into
functions that take a `context` value, which consists of all the
RulesClient's `private` variables.

- `RulesClient` `public` class methods are replaced with higher-order
functions that pass the `context` value into these newly split
functions. These are stored in the ~`rules_client` folder root~
`methods` directory
- `private` methods that required access to `this` are stored in the
`lib` folder, and now take a `context`
- The previous `lib` folder is renamed to `common`, and consists of any
and all functions that don't require access to the `context`. Several
former `private` methods that didn't actually invoke `this` have been
moved to `common`.

### 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

Co-authored-by: Xavier Mouligneau <xavier.mouligneau@elastic.co>
2022-12-06 15:51:27 -06:00
Julia
87d1e8b6db
[RAM] Unselect items and close dropdown (#146974)
## Summary

Summarize your PR. If it involves visual changes include a screenshot or
gif.


### 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
2022-12-06 22:41:19 +01:00
Dzmitry Lemechko
9f7db8f615
[scalability testing] typescript runner (#147002)
## Summary

Closes #146546

This PR replaces bash script with node-based runner script.

Script can take relative path to directory with scalability journey
files or relative path to individual journey json file.

`node scripts/run_scalability.js --journey-config-path
scalability_traces/server`

`node scripts/run_scalability.js --journey-config-path
scalability_traces/server/api.core.capabilities.json`

### 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)
2022-12-06 22:21:52 +01:00
renovate[bot]
fba0aca193
Update jest (main) (#146599)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/jest](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`29.2.0` ->
`29.2.3`](https://renovatebot.com/diffs/npm/@types%2fjest/29.2.0/29.2.3)
|
[![age](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.2.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.2.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.2.3/compatibility-slim/29.2.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.2.3/confidence-slim/29.2.0)](https://docs.renovatebot.com/merge-confidence/)
|
| [babel-jest](https://togithub.com/facebook/jest) | [`^29.2.2` ->
`^29.3.1`](https://renovatebot.com/diffs/npm/babel-jest/29.3.1/29.3.1) |
[![age](https://badges.renovateapi.com/packages/npm/babel-jest/29.3.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/babel-jest/29.3.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/babel-jest/29.3.1/compatibility-slim/29.3.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/babel-jest/29.3.1/confidence-slim/29.3.1)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/elastic/kibana).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC40MC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNDAuMiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2022-12-06 14:56:59 -06:00
Xavier Mouligneau
4bcb4c6b4f
[RAM] Bring back API integration (#146930)
Bring back API integration
2022-12-06 15:09:20 -05:00
Jonathan Budzenski
e25decee2f Revert "Use distribution lite instead of production (#146809)"
This reverts commit 0bf250ad21.
2022-12-06 13:45:31 -06:00
gchaps
9afda2e3d7
[DOCS] Updates docs landing page (#147058)
## Summary

This PR updates the Kibana docs landing page for 8.6.
2022-12-06 11:35:30 -08:00
renovate[bot]
626d830ba3
Update babel (main) (#147004)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@babel/core](https://babel.dev/docs/en/next/babel-core)
([source](https://togithub.com/babel/babel)) | [`^7.20.2` ->
`^7.20.5`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.20.2/7.20.5)
|
[![age](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.20.5/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.20.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.20.5/compatibility-slim/7.20.2)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.20.5/confidence-slim/7.20.2)](https://docs.renovatebot.com/merge-confidence/)
|
| [@babel/generator](https://babel.dev/docs/en/next/babel-generator)
([source](https://togithub.com/babel/babel)) | [`^7.20.4` ->
`^7.20.5`](https://renovatebot.com/diffs/npm/@babel%2fgenerator/7.20.4/7.20.5)
|
[![age](https://badges.renovateapi.com/packages/npm/@babel%2fgenerator/7.20.5/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@babel%2fgenerator/7.20.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@babel%2fgenerator/7.20.5/compatibility-slim/7.20.4)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@babel%2fgenerator/7.20.5/confidence-slim/7.20.4)](https://docs.renovatebot.com/merge-confidence/)
|
| [@babel/parser](https://babel.dev/docs/en/next/babel-parser)
([source](https://togithub.com/babel/babel)) | [`^7.20.3` ->
`^7.20.5`](https://renovatebot.com/diffs/npm/@babel%2fparser/7.20.3/7.20.5)
|
[![age](https://badges.renovateapi.com/packages/npm/@babel%2fparser/7.20.5/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@babel%2fparser/7.20.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@babel%2fparser/7.20.5/compatibility-slim/7.20.3)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@babel%2fparser/7.20.5/confidence-slim/7.20.3)](https://docs.renovatebot.com/merge-confidence/)
|
| [@babel/runtime](https://babel.dev/docs/en/next/babel-runtime)
([source](https://togithub.com/babel/babel)) | [`^7.20.1` ->
`^7.20.6`](https://renovatebot.com/diffs/npm/@babel%2fruntime/7.20.1/7.20.6)
|
[![age](https://badges.renovateapi.com/packages/npm/@babel%2fruntime/7.20.6/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@babel%2fruntime/7.20.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@babel%2fruntime/7.20.6/compatibility-slim/7.20.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@babel%2fruntime/7.20.6/confidence-slim/7.20.1)](https://docs.renovatebot.com/merge-confidence/)
|
| [@babel/traverse](https://babel.dev/docs/en/next/babel-traverse)
([source](https://togithub.com/babel/babel)) | [`^7.20.1` ->
`^7.20.5`](https://renovatebot.com/diffs/npm/@babel%2ftraverse/7.20.1/7.20.5)
|
[![age](https://badges.renovateapi.com/packages/npm/@babel%2ftraverse/7.20.5/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@babel%2ftraverse/7.20.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@babel%2ftraverse/7.20.5/compatibility-slim/7.20.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@babel%2ftraverse/7.20.5/confidence-slim/7.20.1)](https://docs.renovatebot.com/merge-confidence/)
|
| [@babel/types](https://babel.dev/docs/en/next/babel-types)
([source](https://togithub.com/babel/babel)) | [`^7.20.2` ->
`^7.20.5`](https://renovatebot.com/diffs/npm/@babel%2ftypes/7.20.2/7.20.5)
|
[![age](https://badges.renovateapi.com/packages/npm/@babel%2ftypes/7.20.5/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@babel%2ftypes/7.20.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@babel%2ftypes/7.20.5/compatibility-slim/7.20.2)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@babel%2ftypes/7.20.5/confidence-slim/7.20.2)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>babel/babel (@&#8203;babel/core)</summary>

###
[`v7.20.5`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7205-2022-11-28)

[Compare
Source](https://togithub.com/babel/babel/compare/v7.20.2...v7.20.5)

##### 👓 Spec Compliance

- `babel-helpers`, `babel-plugin-transform-destructuring`,
`babel-plugin-transform-modules-commonjs`, `babel-preset-env`,
`babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime`,
`babel-traverse`
- [#&#8203;15183](https://togithub.com/babel/babel/pull/15183) Improve
array destructuring spec compliance
([@&#8203;SuperSodaSea](https://togithub.com/SuperSodaSea))
- `babel-cli`, `babel-helpers`,
`babel-plugin-proposal-class-properties`,
`babel-plugin-proposal-class-static-block`,
`babel-plugin-transform-classes`, `babel-plugin-transform-runtime`,
`babel-preset-env`
- [#&#8203;15182](https://togithub.com/babel/babel/pull/15182) fix:
apply toPropertyKey when defining class members
([@&#8203;JLHwung](https://togithub.com/JLHwung))
- `babel-helper-create-class-features-plugin`, `babel-helpers`,
`babel-plugin-proposal-decorators`,
`babel-plugin-proposal-private-property-in-object`, `babel-preset-env`,
`babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime`
- [#&#8203;15133](https://togithub.com/babel/babel/pull/15133) fix:
validate rhs of `in` when transpiling `#p in C`
([@&#8203;JLHwung](https://togithub.com/JLHwung))

##### 🐛 Bug Fix

-   `babel-parser`
- [#&#8203;15225](https://togithub.com/babel/babel/pull/15225) Parse
`using[foo]` as computed member expression
([@&#8203;JLHwung](https://togithub.com/JLHwung))
- [#&#8203;15207](https://togithub.com/babel/babel/pull/15207) Export
`ParseResult` type ([@&#8203;davydof](https://togithub.com/davydof))
- [#&#8203;15198](https://togithub.com/babel/babel/pull/15198) fix:
parse `import module, ...`
([@&#8203;JLHwung](https://togithub.com/JLHwung))
-   `babel-helper-wrap-function`, `babel-preset-env`, `babel-traverse`
- [#&#8203;15181](https://togithub.com/babel/babel/pull/15181) fix: Edge
cases for async functions and `noNewArrow` assumption
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-plugin-transform-arrow-functions`,
`babel-plugin-transform-parameters`, `babel-traverse`
- [#&#8203;15163](https://togithub.com/babel/babel/pull/15163) fix:
Throw error when compiling `super()` in arrow functions with default /
rest parameters
([@&#8203;SuperSodaSea](https://togithub.com/SuperSodaSea))
- `babel-helpers`, `babel-node`,
`babel-plugin-proposal-async-generator-functions`,
`babel-plugin-transform-regenerator`, `babel-preset-env`,
`babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime`
- [#&#8203;15194](https://togithub.com/babel/babel/pull/15194) fix: Bump
`regenerator` and add tests
([@&#8203;SuperSodaSea](https://togithub.com/SuperSodaSea))
-   `babel-helper-create-regexp-features-plugin`
- [#&#8203;15192](https://togithub.com/babel/babel/pull/15192) fix:
Update `regjsparser` for `@babel/standalone`
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
-   `babel-parser`, `babel-types`
- [#&#8203;15109](https://togithub.com/babel/babel/pull/15109) fix:
Babel 8 types
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
-   `babel-generator`
- [#&#8203;15143](https://togithub.com/babel/babel/pull/15143) Don't
print inner comments as leading when wrapping in `(``)`
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   `babel-plugin-transform-block-scoping`, `babel-traverse`
- [#&#8203;15167](https://togithub.com/babel/babel/pull/15167) Register
`switch`'s `discriminant` in the outer scope
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))

##### 💅 Polish

-   `babel-generator`
- [#&#8203;15173](https://togithub.com/babel/babel/pull/15173) Improve
generator behavior when `comments:false`
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
-   `babel-plugin-transform-block-scoping`
- [#&#8203;15164](https://togithub.com/babel/babel/pull/15164) Only
extract IDs for TDZ checks in assign when necessary
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))

##### 🏠 Internal

-   `babel-core`, `babel-parser`
- [#&#8203;15202](https://togithub.com/babel/babel/pull/15202) Bump
typescript to 4.9.3 ([@&#8203;JLHwung](https://togithub.com/JLHwung))

</details>

<details>
<summary>babel/babel (@&#8203;babel/parser)</summary>

### [`v7.20.5`](https://togithub.com/babel/babel/releases/tag/v7.20.5)

[Compare
Source](https://togithub.com/babel/babel/compare/v7.20.3...v7.20.5)

##### v7.20.5 (2022-11-28)

Thanks [@&#8203;davydof](https://togithub.com/davydof) and
[@&#8203;SuperSodaSea](https://togithub.com/SuperSodaSea) for your first
PRs!

##### 👓 Spec Compliance

- `babel-helpers`, `babel-plugin-transform-destructuring`,
`babel-plugin-transform-modules-commonjs`, `babel-preset-env`,
`babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime`,
`babel-traverse`
- [#&#8203;15183](https://togithub.com/babel/babel/pull/15183) Improve
array destructuring spec compliance
([@&#8203;SuperSodaSea](https://togithub.com/SuperSodaSea))
- `babel-cli`, `babel-helpers`,
`babel-plugin-proposal-class-properties`,
`babel-plugin-proposal-class-static-block`,
`babel-plugin-transform-classes`, `babel-plugin-transform-runtime`,
`babel-preset-env`
- [#&#8203;15182](https://togithub.com/babel/babel/pull/15182) fix:
apply toPropertyKey when defining class members
([@&#8203;JLHwung](https://togithub.com/JLHwung))
- `babel-helper-create-class-features-plugin`, `babel-helpers`,
`babel-plugin-proposal-decorators`,
`babel-plugin-proposal-private-property-in-object`, `babel-preset-env`,
`babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime`
- [#&#8203;15133](https://togithub.com/babel/babel/pull/15133) fix:
validate rhs of `in` when transpiling `#p in C`
([@&#8203;JLHwung](https://togithub.com/JLHwung))

##### 🐛 Bug Fix

-   `babel-parser`
- [#&#8203;15225](https://togithub.com/babel/babel/pull/15225) Parse
`using[foo]` as computed member expression
([@&#8203;JLHwung](https://togithub.com/JLHwung))
- [#&#8203;15207](https://togithub.com/babel/babel/pull/15207) Export
`ParseResult` type ([@&#8203;davydof](https://togithub.com/davydof))
- [#&#8203;15198](https://togithub.com/babel/babel/pull/15198) fix:
parse `import module, ...`
([@&#8203;JLHwung](https://togithub.com/JLHwung))
-   `babel-helper-wrap-function`, `babel-preset-env`, `babel-traverse`
- [#&#8203;15181](https://togithub.com/babel/babel/pull/15181) fix: Edge
cases for async functions and `noNewArrow` assumption
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-plugin-transform-arrow-functions`,
`babel-plugin-transform-parameters`, `babel-traverse`
- [#&#8203;15163](https://togithub.com/babel/babel/pull/15163) fix:
Throw error when compiling `super()` in arrow functions with default /
rest parameters
([@&#8203;SuperSodaSea](https://togithub.com/SuperSodaSea))
- `babel-helpers`, `babel-node`,
`babel-plugin-proposal-async-generator-functions`,
`babel-plugin-transform-regenerator`, `babel-preset-env`,
`babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime`
- [#&#8203;15194](https://togithub.com/babel/babel/pull/15194) fix: Bump
`regenerator` and add tests
([@&#8203;SuperSodaSea](https://togithub.com/SuperSodaSea))
-   `babel-helper-create-regexp-features-plugin`
- [#&#8203;15192](https://togithub.com/babel/babel/pull/15192) fix:
Update `regjsparser` for `@babel/standalone`
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
-   `babel-parser`, `babel-types`
- [#&#8203;15109](https://togithub.com/babel/babel/pull/15109) fix:
Babel 8 types
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
-   `babel-generator`
- [#&#8203;15143](https://togithub.com/babel/babel/pull/15143) Don't
print inner comments as leading when wrapping in `(``)`
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   `babel-plugin-transform-block-scoping`, `babel-traverse`
- [#&#8203;15167](https://togithub.com/babel/babel/pull/15167) Register
`switch`'s `discriminant` in the outer scope
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))

##### 💅 Polish

-   `babel-generator`
- [#&#8203;15173](https://togithub.com/babel/babel/pull/15173) Improve
generator behavior when `comments:false`
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
-   `babel-plugin-transform-block-scoping`
- [#&#8203;15164](https://togithub.com/babel/babel/pull/15164) Only
extract IDs for TDZ checks in assign when necessary
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))

##### 🏠 Internal

-   `babel-core`, `babel-parser`
- [#&#8203;15202](https://togithub.com/babel/babel/pull/15202) Bump
typescript to 4.9.3 ([@&#8203;JLHwung](https://togithub.com/JLHwung))

##### Committers: 6

-   Alexander Davydov ([@&#8203;davydof](https://togithub.com/davydof))
-   Babel Bot ([@&#8203;babel-bot](https://togithub.com/babel-bot))
-   Huáng Jùnliàng ([@&#8203;JLHwung](https://togithub.com/JLHwung))
- Nicolò Ribaudo
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- Tianlan Zhou
([@&#8203;SuperSodaSea](https://togithub.com/SuperSodaSea))
-   [@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/elastic/kibana).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC40OC40IiwidXBkYXRlZEluVmVyIjoiMzQuNDguNCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2022-12-06 13:26:06 -06:00
Nathan Reese
92ae81d1f3
[controls] align controlGroupInputBuilder API in ControlGroupContainer API (#146928)
PR does the following
* Mirror controlGroupInputBuilder methods in ControlGroupContainer API:
    * addOptionsListControl
    * addRangeSliderControl
    * addTimeSliderControl 
* Update existing ControlGroupContainer.addDataControlFromField method
have same signature as controlGroupInputBuilder.addDataControlFromField
* Use new ControlGroupContainer APIs when adding controls view React
components

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-12-06 12:13:03 -07:00