Commit graph

72782 commits

Author SHA1 Message Date
Stratoula Kalafateli
a3cc2b44c9
Move esql code to the new kibana-esql team (#179454)
## Summary

Moving ES|QL ownership to the new esql project team

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-03-27 07:47:08 +01:00
Kibana Machine
995d7c92a2
[api-docs] 2024-03-27 Daily api_docs build (#179505)
Generated by
https://buildkite.com/elastic/kibana-api-docs-daily/builds/655
2024-03-27 05:06:28 +00:00
Tiago Costa
aff6801099
[OSQuery] Workaround: avoid using bad artifact ids (#179492)
Forward port of https://github.com/elastic/kibana/pull/179486
2024-03-27 00:31:15 +00:00
Tiago Costa
ea309fdbf7
chore(NA): update versions after v8.13.1 bump (#179463)
This PR is a simple update of our versions file after the recent bumps.
2024-03-27 00:29:45 +00:00
Jean-Louis Leysens
b5b9f7ffc8
[Docs] SO migration on serverless tutorial notes (#179261)
## Summary

Added documentation explaining how SO migrations on serverless work

## Preview


<img width="741" alt="Screenshot 2024-03-22 at 16 15 13"
src="2217c01f-8447-4f22-a782-a07ff221aa42">
2024-03-27 00:37:37 +01:00
Tiago Costa
afde9d52a5
chore(NA): update versions after v7.17.20 bump (#179464)
This PR is a simple update of our versions file after the recent bumps.
2024-03-26 22:17:39 +00:00
dkirchan
a6293e0937
[Security] Introduced slack token for kbn-failed-test-notifier (#179444)
## Summary

Whenever a test is failing and the label `failed-test` is added or a
test is skipped, then a notification will be sent to the slack channel
of preference of the team. Currently this is enabled only for Security
Solution.

This PR depends on completion of the [PR in
kibana-operations](https://github.com/elastic/kibana-operations/pull/72)
2024-03-26 22:46:51 +01:00
Jen Huang
9bee0b2d43
[Fleet] Add link to scaling guide for deploying Elastic Agent on K8 (#179394)
## Summary

Fixes #178753. Adds blurb and doc link about scaling resources when
deploying Elastic Agent on Kubernetes.

Applies to both managed and standalone K8 manifest workflows:

<img width="699" alt="image"
src="2e9773c5-e4b5-4003-a0a9-de4445f56c6a">

<img width="766" alt="image"
src="62c1bf79-fbde-4096-ac56-6539e700c6b8">

### 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)
2024-03-26 13:50:12 -07:00
Marta Bondyra
ef40d31fce
[Lens] Combine chart switches into one layer chart switch (#178971)
## Summary

This PR combines the chart type selection options into a single,
layer-based chart switch. This improves the user experience by
streamlining the process of switching between chart types in Lens
visualizations.

Fixes https://github.com/elastic/kibana/issues/163721
<img width="1365" alt="Screenshot 2024-03-25 at 10 46 24"
src="cc36220e-aea0-4e4d-9436-948265f185a1">

Functionality:

Multilayer Charts: Switching to a compatible option (e.g., vertical bar
to line) will only convert that specific layer.
Multilayer Charts: Switching to incompatible, multilayer option (e.g.,
horizontal to vertical) will convert all layers to the new type.
Multilayer to Single Layer: Switching to a single-layer chart type (line
-> pie) will create the new chart based on the layer where you clicked
the dropdown.

Benefits:

Simpler Interface: Reduces confusion by offering a single, unified way
to switch chart types.
Improved Workflow: Makes it easier to customize individual layers or
switch the entire visualization type.

Note: In Discover, due some architectural problems, we can only convert
to compatible types so the chart switch is limited:
<img width="483" alt="Screenshot 2024-03-25 at 11 19 02"
src="ffd60e19-18c9-443a-87ce-27e111f1bdf4">
<img width="493" alt="Screenshot 2024-03-25 at 11 19 07"
src="9b5d31ed-105a-4515-8d96-4fd291a3b427">
2024-03-26 21:20:12 +01:00
Marta Bondyra
49a44bbf58
[Lens] fix error for non-date histogram charts that contain showCurrentTimeMarker:true setting (#179452)
## Summary

Fixes https://github.com/elastic/kibana/issues/179447
2024-03-26 21:19:22 +01:00
Nicholas Berlin
f2aaf882f2
[8.13.1] Defend Advanced Policy Option for seccomp (#179481)
## Summary

Add advanced policy for Linux Defend to enable seccomp restrictions for
the critical malware permission thread to avoid deadlocks with other AV
vendors.

### Checklist

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


### 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)
2024-03-26 16:15:44 -04:00
Saarika Bhasi
6f5e499e54
[Serverless] Add new fields in Index management page (#178923)
This PR brings in add new field component in index management page and
update mappings in Serverless and Stack. New mappings can be viewed in
Json and list view.

Features: 
- Can add new mapping to an index
- Cancel adding a new fields when new unsaved fields are empty
- New fields can be viewed in Json and list view in a toggle button
- List view shows nested fields 
- Able to search existing fields 
- Shows error message when save mappings fail


7e860360-1ff7-4968-b56d-bbeba2284ef0




### Checklist

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

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2024-03-26 12:34:15 -07:00
Tre
d30d019c9c
[Serverless] Skip "Generate CSV from SearchSource" suite on MKI (#179474)
Skip "Serverless Common UI - Reporting Generate CSV from SearchSource"
suite for MKI runs.

Details about the failure in
https://github.com/elastic/kibana/issues/179456
2024-03-26 12:17:40 -07:00
Quynh Nguyen (Quinn)
3a62d6d0d6
[ML] Improve ES|QL data visualizer performance with early limit and remove option to Analyze all (#179286)
## Summary

This PR updates ES|QL data visualizer the the new util from `esql-utils`
to limit size right after the `from` statement. It also removes the
`Analyze all` button to prevent overload to elasticsearch for big
datasets.

<img width="1697" alt="Screenshot 2024-03-25 at 11 47 53"
src="f6ac0427-3845-4051-b4d2-be3d6d05940e">

### 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
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] 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)
2024-03-26 12:03:32 -07:00
Catherine Liu
1f265f6a2b
[Dashboard] UI Refresh (#178139)
## Summary

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

This gives a light refresh to the Dashboard UI, primarily around panel
styling.

#### View mode

| Before | After |
|--------|--------|
| <img width="1409" alt="Screenshot 2024-03-12 at 8 29 40 AM"
src="aeac42dd-9dd4-4885-ba6c-9d5fd407522d">
|<img width="1407" alt="Screenshot 2024-03-12 at 8 40 26 AM"
src="d96d5b0d-d79c-44cc-baa1-0d21a52ac01f">|


#### Edit Mode
| Before | After |
|--------|--------|
| <img width="1408" alt="Screenshot 2024-03-12 at 8 29 31 AM"
src="a7694c17-8cda-4392-b396-e2bce1bbdc16">|
<img width="1407" alt="Screenshot 2024-03-12 at 8 40 19 AM"
src="a3e3e316-c339-4c7b-bd1b-f24c997ac3c9">
|

### Changes:
- Replaces shadows surrounding panels with thin borders

| Before | After |
|--------|--------|
| <img width="703" alt="Screenshot 2024-03-12 at 6 57 50 PM"
src="9da34f91-6e76-41a9-9526-2d9a593241a1">
| <img width="703" alt="Screenshot 2024-03-12 at 1 08 04 PM"
src="b4f0c7d6-8d3f-4ac9-a80b-a813d4288db1">
|

- Increases space between panel title and panel description icon

| Before | After |
|--------|--------|
| <img width="326" alt="Screenshot 2024-03-12 at 1 08 53 PM"
src="a6568436-0936-4b57-b897-4bfb21425990">
| <img width="324" alt="Screenshot 2024-03-12 at 1 10 54 PM"
src="e9315987-8dd1-475a-8788-f7fecdec3dc8">
|

- Adds spacer after title/description form in panel settings

| Before | After |
|--------|--------|
| ![Screenshot 2024-03-07 at 10 51
44 AM](66c33661-5f8f-4fc4-b0ef-c39fd40eb905)
| ![Screenshot 2024-03-07 at 10 52
00 AM](7d77b77d-fa3f-41dc-bcf0-223c521f749f)
|

- Reduces left padding with no title and has a badge 

| Before | After |
|--------|--------|
| <img width="353" alt="Screenshot 2024-03-12 at 7 00 00 PM"
src="27061ce3-575d-4c66-96ac-0818fb438d42">
| <img width="352" alt="Screenshot 2024-03-12 at 7 00 56 PM"
src="e973cfbf-f1d7-45cd-9adb-a15882ffe3de">
|

- Removes dashed border in edit mode

| Before | After |
|--------|--------|
| <img width="353" alt="Screenshot 2024-03-12 at 7 03 28 PM"
src="ddb31b14-5ff7-4089-b4cf-3fc28733f360">
| <img width="354" alt="Screenshot 2024-03-12 at 7 03 11 PM"
src="da3a99c9-6aa5-49c1-ae96-2babebcc6c16">
|

- Adds title to tooltip when a panel has a description

| Before | After |
|--------|--------|
| <img width="338" alt="Screenshot 2024-03-12 at 7 04 15 PM"
src="23d7c0ef-9a58-41cc-a0e7-38b5f1adbe7d">
| <img width="339" alt="Screenshot 2024-03-12 at 1 10 59 PM"
src="4b92bd3e-db0a-49e7-bfaa-751a846a4545">
|

- Enables edits to panel description when title is disabled (because the
panel description icon/tooltip shows even when title is hidden)

| Before | After |
|--------|--------|
| <img width="389" alt="Screenshot 2024-03-12 at 7 15 16 PM"
src="e1ff2532-33f0-4bf8-980f-18d59dcf6b7c">
| <img width="398" alt="Screenshot 2024-03-12 at 7 13 51 PM"
src="72e6761e-f0dd-4c5d-8c61-2bdcabd65f1d">
|

### 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
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] 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)
2024-03-26 11:55:16 -07:00
Tiago Costa
df5f1ee9e3
skip flaky suite (#172418) 2024-03-26 18:33:24 +00:00
Tiago Costa
43d0e81729
skip flaky suite (#178760) 2024-03-26 18:31:40 +00:00
Tiago Costa
5433b4966e
skip flaky suite (#168991) 2024-03-26 18:30:04 +00:00
Tomasz Ciecierski
805e70ee18
[EDR Worfklows] Enable s1 response action flags (#179319) 2024-03-26 18:58:20 +01:00
Alex Szabo
d13d6e9047
[Fleet] Avoid using bad artifact ids main (#179461)
## Summary
Porting forward: https://github.com/elastic/kibana/pull/179450

This will hopefully unblock these builds:
https://buildkite.com/elastic/kibana-agent-packer-full/builds/1199#018e7b47-2327-4ab8-96b8-ee590bbb2da3
2024-03-26 10:39:53 -07:00
Jonathan Budzenski
906d6cdba8 Revert "[Serverless] Skip "nanosecond formatting" suite on MKI (#179460)"
This reverts commit b93081823a.
2024-03-26 12:31:59 -05:00
Tre
b93081823a
[Serverless] Skip "nanosecond formatting" suite on MKI (#179460)
Skip "Serverless Common UI - Reporting Generate CSV from SearchSource"
suite for MKI runs.

Details about the failure in
https://github.com/elastic/kibana/issues/179456
2024-03-26 11:58:11 -05:00
Carlos Crespo
cdc1fc81f7
[Infra] Fix breakdown config to host view charts (#179385)
fixes https://github.com/elastic/kibana/issues/179378

## Summary

This PR fixes a problem introduced by a refactoring in the charts config
catalog, which removed the `breakdown` config from the charts in the
Hosts View

<img width="691" alt="image"
src="0bfe6093-887b-4a46-8d53-2580fea9ee39">


### How to test
- Start a local Kibana instance
- Either point it to an oblt-cli cluster or run the
`infra_hosts_with_apm_hosts.ts` synthtrace scenario (we need more than 1
host in the page)
- Navigate to `Infrastructure > Hosts` and also validate the asset
details page
2024-03-26 17:51:12 +01:00
renovate[bot]
a8d65dc6ca
Update dependency elastic-apm-node to ^4.5.0 (main) (#179081)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jean-Louis Leysens <jeanlouis.leysens@elastic.co>
2024-03-26 09:34:17 -07:00
Alexi Doak
a936bf755f
Onboard Latency Threshold rule type with FAAD (#179080)
Towards: https://github.com/elastic/kibana/issues/169867

This PR onboards Latency Threshold rule type with FAAD.

### To verify

1. Run the following script to generate APM data:
```
node scripts/synthtrace simple_trace.ts --local --live
```

2. Create a latency threshold rule.
Example:
```
POST kbn:/api/alerting/rule
{
  "params": {
    "aggregationType": "avg",
    "environment": "ENVIRONMENT_ALL",
    "threshold": 400,
    "windowSize": 5,
    "windowUnit": "m"
  },
  "consumer": "alerts",
  "schedule": {
    "interval": "1m"
  },
  "tags": [],
  "name": "testinggg",
  "rule_type_id": "apm.transaction_duration",
  "notify_when": "onActionGroupChange",
  "actions": []
}
```
3. Your rule should create an alert and should saved it in
`.internal.alerts-observability.apm.alerts-default-000001`
Example:
```
GET .internal.alerts-*/_search
```
4. Set `threshold: 10000`

5. The alert should be recovered and the AAD in the above index should
be updated `kibana.alert.status: recovered`.
2024-03-26 08:48:59 -07:00
Cee Chen
8eb2fbd805
Upgrade EUI to v93.5.1 (#179363)
`v93.4.0`  `v93.5.1`

---

## [`v93.5.1`](https://github.com/elastic/eui/releases/v93.5.1)

**Bug fixes**

- Fixed unvirtualized `EuiSelectable`s to not cause Jest/jsdom errors on
active option change ([#7618](https://github.com/elastic/eui/pull/7618))

## [`v93.5.0`](https://github.com/elastic/eui/releases/v93.5.0)

- `EuiHeaderLinks` now accepts a `children` render function that will be
passed a `closeMobilePopover` callback, allowing consumers to close the
mobile popover by its content
([#7603](https://github.com/elastic/eui/pull/7603))
- Updated `EuiSelectable` to support scrolling list containers when
`listProps.isVirtualization` is set to `false`
([#7609](https://github.com/elastic/eui/pull/7609))

**Bug fixes**

- Fixed `EuiIconTip`'s default `aria-label` text to be i18n tokenizable
([#7606](https://github.com/elastic/eui/pull/7606))
- Fixed `EuiTextArea`'s CSS box model to no longer render a few extra
pixels of strut height
([#7607](https://github.com/elastic/eui/pull/7607))

**Dependency updates**

- Updated `@types/refractor` to v3.4.0
([#7590](https://github.com/elastic/eui/pull/7590))
- Updated `@types/lodash` to v4.14.202
([#7591](https://github.com/elastic/eui/pull/7591))
- Removed `@types/resize-observer-browser` dependency. `ResizeObserver`
types should already be baked in to Typescript as of 4.2+
([#7592](https://github.com/elastic/eui/pull/7592))
- Updated `classnames` to v2.5.1
([#7593](https://github.com/elastic/eui/pull/7593))
- Updated `@types/numeral` to v2.0.5
([#7594](https://github.com/elastic/eui/pull/7594))
- Updated `@types/react-window` to 1.8.8
([#7597](https://github.com/elastic/eui/pull/7597))
- Updated `prop-types` to v15.18.1
([#7602](https://github.com/elastic/eui/pull/7602))
- Removed `prop-types` as a peer dependency, per package recommendation
([#7602](https://github.com/elastic/eui/pull/7602))

**Accessibility**

- `EuiIcons` no longer apply `aria-hidden` to empty icons, as long as a
valid title or label is provided to the icon. In particular, this is
intended to improve the accessibility of loading `EuiIconTip`s.
([#7606](https://github.com/elastic/eui/pull/7606))
2024-03-26 08:44:31 -07:00
Nick Partridge
af5645247e
[Lens] Replace expression_gauge from Goal to Bullet (#177766)
## Summary

Migrates the Lens `Bullet Horizontal` and `Bullet Vertical` charts to the new design. Adds the `Semi-circular Gauge`, `Arc Gauge` and `Circular Gauge` chart types to Lens. See comparison between old and new designs below.

### Horizontal Bullet

<img width="891" alt="image"
src="18c3ec03-203f-4058-a543-4c7bde58dfd2">

### Vertical Bullet

<img width="736" alt="image"
src="f3da410a-8003-4647-8027-f6a13416aa38">

### Semi-circular Gauge

<img width="870" alt="image"
src="b1b3cc1b-1155-4fac-8ae7-fb1992fdfa99">

### Arc Gauge

<img width="849" alt="image"
src="bf552604-44cf-4db8-819d-a4d1558fc679">

### Circular Gauge

<img width="846" alt="image"
src="19ee5dc3-fd86-434c-ad62-6063361f60e5">
2024-03-26 08:42:13 -07:00
Julia Bardi
b3f9c19c27
[Fleet] fix install packages script + add notification (#179431)
## Summary

Fixed install package script, it was missing version header. It turned
out the job was failing since last summer:
https://buildkite.com/elastic/kibana-fleet-packages

Added a notification section to send notification to
#fleet-notifications slack channel on failed builds.

Ran locally:
```
       │ info  juniper@1.2.0 took 31.24s
       │ info  dga@2.0.1 took 12.603s
       │ info  security_detection_engine@8.13.2 took 5.152s
       │ info  aws@2.13.1 took 5.115s
       │ info  jumpcloud@1.10.0 took 4.199s
       │ info  ti_threatconnect@0.3.0 took 4.126s
       │ info  cloudflare_logpush@1.18.0 took 4.101s
       │ info  beaconing@1.2.0 took 4.068s
       │ info  arista_ngfw@1.1.0 took 4.066s
       │ info  google_workspace@2.20.0 took 4.064s
       │ info  linux@0.6.9 took 3.443s
       │ info  influxdb@0.7.0 took 3.167s
       │ info  snort@1.15.0 took 3.157s
       │ info  ti_misp@1.32.0 took 3.139s
       │ info  endpoint@8.14.0-prerelease.0 took 3.127s
       │ info  ti_crowdstrike@0.5.3 took 3.124s
       │ info  lmd@2.1.2 took 3.118s
       │ info  ti_anomali@1.20.0 took 3.109s
       │ info  vectra_detect@1.7.2 took 3.097s
       │ info  hadoop@1.5.2 took 3.095s
       │ info  proofpoint@0.9.1 took 3.092s
       │ info  redis@1.14.0 took 3.092s
       │ info  citrix_waf@1.14.0 took 3.091s
       │ info  nagios_xi@1.2.1 took 3.09s
       │ info  microsoft_defender_cloud@1.1.1 took 3.089s
       │ info  sysmon_linux@1.6.2 took 3.088s
       │ info  thycotic_ss@1.7.0 took 3.085s
       │ info  cyberark_pta@1.9.0 took 3.082s
       │ info  salesforce@0.14.0 took 3.081s
       │ info  trendmicro@2.2.0 took 3.079s
       │ info  netscout@0.20.0 took 3.078s
       │ info  proofpoint_tap@1.17.0 took 3.078s
       │ info  ti_rapid7_threat_command@1.15.0 took 3.076s
       │ info  cloud_security_posture@1.9.0-preview01 took 3.075s
       │ info  nats@1.5.1 took 3.075s
       │ info  sonicwall@0.8.2 took 3.075s
       │ info  websphere_application_server@1.3.0 took 3.074s
       │ info  netskope@1.17.0 took 3.072s
       │ info  ti_mandiant_advantage@1.1.1 took 3.072s
       │ info  m365_defender@2.8.0 took 3.071s
       │ info  zscaler_zpa@1.17.0 took 3.071s
       │ info  modsecurity@1.18.0 took 3.068s
       │ info  redisenterprise@0.9.0 took 3.068s
       │ info  sentinel_one_cloud_funnel@0.13.0 took 3.066s
       │ info  apache_tomcat@1.4.0 took 3.065s
       │ info  apm@8.13.1-preview-1708411360 took 3.065s
       │ info  azure_metrics@1.4.2 took 3.065s
       │ info  cisco_meraki@1.21.2 took 3.064s
       │ info  azure@1.10.0 took 3.063s
       │ info  checkpoint@1.31.0 took 3.063s
       │ info  zeek@2.24.0 took 3.063s
       │ info  iptables@1.16.0 took 3.062s
       │ info  qualys_vmdr@2.1.0 took 3.061s
       │ info  microsoft_sqlserver@2.5.0 took 3.059s
       │ info  box_events@2.7.0 took 3.058s
       │ info  google_scc@1.1.1 took 3.058s
       │ info  hid_bravura_monitor@1.17.2 took 3.057s
       │ info  ibmmq@1.2.4 took 3.056s
       │ info  awsfirehose@0.5.0 took 3.055s
       │ info  memcached@1.3.0 took 3.054s
       │ info  microsoft_exchange_server@0.1.2 took 3.054s
       │ info  prisma_cloud@1.1.1 took 3.054s
       │ info  oracle_weblogic@1.5.0 took 3.053s
       │ info  pps@0.0.1 took 3.053s
       │ info  gcp@2.33.1 took 3.052s
       │ info  jamf_compliance_reporter@1.12.0 took 3.052s
       │ info  amazon_security_lake@1.1.0 took 3.051s
       │ info  bluecoat@0.17.2 took 3.051s
       │ info  activemq@1.2.0 took 3.05s
       │ info  barracuda@1.12.0 took 3.05s
       │ info  tanium@1.8.0 took 3.049s
       │ info  trellix_epo_cloud@1.10.0 took 3.049s
       │ info  imperva_cloud_waf@0.3.0 took 3.048s
       │ info  lyve_cloud@1.13.0 took 3.048s
       │ info  juniper_junos@0.10.1 took 3.047s
       │ info  ceph@1.4.0 took 3.046s
       │ info  nginx_ingress_controller@1.8.2 took 3.046s
       │ info  cassandra@1.12.0 took 3.045s
       │ info  cribl@0.3.0 took 3.045s
       │ info  istio@0.5.0 took 3.045s
       │ info  hashicorp_vault@1.24.0 took 3.044s
       │ info  kafka@1.13.0 took 3.043s
       │ info  azure_functions@0.4.0 took 3.042s
       │ info  auth0@1.15.0 took 3.04s
       │ info  imperva@1.1.0 took 3.039s
       │ info  infoblox_bloxone_ddi@1.16.0 took 3.038s
       │ info  bitdefender@1.12.0 took 3.037s
       │ info  cisco_secure_email_gateway@1.23.0 took 3.037s
       │ info  problemchild@2.1.2 took 3.036s
       │ info  juniper_netscreen@0.10.1 took 3.032s
       │ info  infoblox@0.8.1 took 3.023s
       │ info  1password@1.27.0 took 2.728s
       │ info  kafka_log@1.6.0 took 2.118s
       │ info  keycloak@1.21.0 took 2.117s
       │ info  fortinet_fortiedr@1.15.0 took 2.108s
       │ info  network_traffic@1.30.0 took 2.098s
       │ info  prometheus_input@0.4.0 took 2.091s
       │ info  rabbitmq@1.13.0 took 2.091s
       │ info  ping_one@1.14.0 took 2.089s
       │ info  vsphere@1.11.1 took 2.087s
       │ info  snyk@1.20.1 took 2.086s
       │ info  okta@2.8.0 took 2.085s
       │ info  kibana@2.5.2 took 2.084s
       │ info  log@2.3.1 took 2.082s
       │ info  mongodb@1.13.2 took 2.082s
       │ info  microsoft_exchange_online_message_trace@1.19.0 took 2.08s
       │ info  panw@3.24.0 took 2.08s
       │ info  ti_abusech@1.25.0 took 2.078s
       │ info  php_fpm@1.2.1 took 2.077s
       │ info  qnap_nas@1.20.0 took 2.077s
       │ info  microsoft_dhcp@1.24.2 took 2.076s
       │ info  oracle@1.24.3 took 2.076s
       │ info  osquery@1.19.0 took 2.076s
       │ info  statsd_input@0.2.3 took 2.075s
       │ info  system_audit@1.10.1 took 2.075s
       │ info  zscaler_zia@2.19.0 took 2.075s
       │ info  logstash@2.4.3 took 2.074s
       │ info  lumos@0.1.0 took 2.074s
       │ info  udp@1.19.0 took 2.074s
       │ info  windows@1.44.4 took 2.074s
       │ info  kubernetes@1.58.0 took 2.073s
       │ info  netflow@2.18.0 took 2.073s
       │ info  zerofox@1.23.0 took 2.072s
       │ info  zookeeper@1.10.0 took 2.072s
       │ info  lastpass@1.15.0 took 2.07s
       │ info  ti_cif3@1.11.0 took 2.07s
       │ info  wiz@1.1.1 took 2.07s
       │ info  azure_billing@1.5.0 took 2.069s
       │ info  platform_observability@0.0.2 took 2.069s
       │ info  sql@0.4.0 took 2.068s
       │ info  tines@1.11.0 took 2.068s
       │ info  mysql@1.19.0 took 2.067s
       │ info  elastic_agent@1.18.0 took 2.066s
       │ info  panw_cortex_xdr@1.25.0 took 2.066s
       │ info  ti_util@1.5.0 took 2.066s
       │ info  tomcat@1.10.0 took 2.066s
       │ info  winlog@2.1.1 took 2.066s
       │ info  system@1.54.0 took 2.065s
       │ info  apache@1.17.0 took 2.064s
       │ info  darktrace@1.16.0 took 2.064s
       │ info  mysql_enterprise@1.14.2 took 2.064s
       │ info  pfsense@1.19.0 took 2.063s
       │ info  profiler_agent@8.12.0 took 2.063s
       │ info  ti_recordedfuture@1.22.0 took 2.062s
       │ info  squid@0.19.3 took 2.061s
       │ info  couchbase@1.5.0 took 2.06s
       │ info  cyberarkpas@2.20.0 took 2.06s
       │ info  ded@2.1.1 took 2.06s
       │ info  synthetics_dashboards@1.0.1 took 2.06s
       │ info  coredns@0.6.1 took 2.059s
       │ info  mimecast@1.23.0 took 2.059s
       │ info  nginx@1.20.0 took 2.059s
       │ info  ti_otx@1.24.1 took 2.059s
       │ info  cockroachdb@1.9.0 took 2.058s
       │ info  sophos@3.9.0 took 2.058s
       │ info  google_cloud_storage@1.1.0 took 2.056s
       │ info  journald@1.1.0 took 2.056s
       │ info  sophos_central@1.14.0 took 2.056s
       │ info  synthetics@1.2.1 took 2.056s
       │ info  microsoft_defender_endpoint@2.24.1 took 2.055s
       │ info  osquery_manager@1.11.0 took 2.055s
       │ info  symantec_edr_cloud@1.1.0 took 2.055s
       │ info  azure_frontdoor@1.7.0 took 2.054s
       │ info  forcepoint_web@1.8.0 took 2.054s
       │ info  stan@1.5.0 took 2.054s
       │ info  traefik@1.11.1 took 2.054s
       │ info  trend_micro_vision_one@1.16.0 took 2.054s
       │ info  cisa_kevs@0.1.0 took 2.053s
       │ info  fireeye@1.22.0 took 2.053s
       │ info  infoblox_nios@1.21.0 took 2.053s
       │ info  o365@2.3.0 took 2.053s
       │ info  suricata@2.21.0 took 2.053s
       │ info  tenable_io@2.9.0 took 2.053s
       │ info  ti_cybersixgill@1.27.0 took 2.053s
       │ info  containerd@0.3.0 took 2.052s
       │ info  jolokia@0.3.0 took 2.052s
       │ info  sonicwall_firewall@1.16.0 took 2.052s
       │ info  spring_boot@1.4.0 took 2.052s
       │ info  tcp@1.19.0 took 2.052s
       │ info  ti_maltiverse@1.1.0 took 2.052s
       │ info  cisco_ise@1.22.0 took 2.051s
       │ info  fortinet_fortigate@1.25.1 took 2.051s
       │ info  sentinel_one@1.20.0 took 2.051s
       │ info  tenable_sc@1.21.0 took 2.051s
       │ info  fleet_server@1.5.0 took 2.05s
       │ info  azure_application_insights@1.4.0 took 2.049s
       │ info  cef@2.17.0 took 2.049s
       │ info  juniper_srx@1.21.0 took 2.049s
       │ info  zoom@1.19.0 took 2.049s
       │ info  awsfargate@1.0.0 took 2.048s
       │ info  crowdstrike@1.32.1 took 2.048s
       │ info  zeronetworks@1.12.0 took 2.048s
       │ info  akamai@2.23.0 took 2.047s
       │ info  barracuda_cloudgen_firewall@1.11.0 took 2.047s
       │ info  eset_protect@0.3.0 took 2.047s
       │ info  cisco_umbrella@1.22.0 took 2.046s
       │ info  httpjson@1.20.0 took 2.046s
       │ info  iis@1.17.4 took 2.046s
       │ info  bitwarden@1.11.0 took 2.045s
       │ info  cisco_duo@1.22.0 took 2.045s
       │ info  cisco_secure_endpoint@2.25.0 took 2.045s
       │ info  couchdb@1.1.0 took 2.045s
       │ info  golang@1.4.0 took 2.045s
       │ info  haproxy@1.11.1 took 2.045s
       │ info  slack@1.19.0 took 2.045s
       │ info  auditd@3.19.1 took 2.044s
       │ info  entityanalytics_okta@1.1.0 took 2.044s
       │ info  f5@0.17.2 took 2.044s
       │ info  gcp_metrics@0.1.0 took 2.044s
       │ info  postgresql@1.19.0 took 2.044s
       │ info  entityanalytics_entra_id@1.1.0 took 2.043s
       │ info  f5_bigip@1.14.0 took 2.043s
       │ info  fim@1.14.1 took 2.043s
       │ info  beat@1.0.0-beta1 took 2.042s
       │ info  cel@1.9.0 took 2.042s
       │ info  cylance@0.19.2 took 2.042s
       │ info  fortinet_fortimail@2.13.0 took 2.042s
       │ info  github@1.28.0 took 2.042s
       │ info  pulse_connect_secure@1.19.0 took 2.042s
       │ info  rapid7_insightvm@1.9.0 took 2.042s
       │ info  ti_threatq@1.25.0 took 2.042s
       │ info  auditd_manager@1.16.2 took 2.041s
       │ info  carbonblack_edr@1.17.0 took 2.041s
       │ info  cisco_ios@1.26.2 took 2.041s
       │ info  cloud_defend@1.2.4 took 2.041s
       │ info  gcp_pubsub@1.13.0 took 2.041s
       │ info  ti_opencti@2.1.0 took 2.041s
       │ info  airflow@0.6.0 took 2.039s
       │ info  atlassian_bitbucket@1.23.0 took 2.039s
       │ info  cisco_ftd@3.2.0 took 2.039s
       │ info  cloudflare@2.24.0 took 2.039s
       │ info  enterprisesearch@1.0.1 took 2.039s
       │ info  fortinet_forticlient@1.10.2 took 2.039s
       │ info  aws_logs@1.1.0 took 2.038s
       │ info  fortinet_fortimanager@2.11.0 took 2.038s
       │ info  atlassian_confluence@1.24.0 took 2.037s
       │ info  azure_app_service@0.3.0 took 2.037s
       │ info  etcd@1.0.0 took 2.037s
       │ info  fortinet@1.9.0 took 2.037s
       │ info  http_endpoint@1.15.0 took 2.037s
       │ info  trellix_edr_cloud@1.1.0 took 2.037s
       │ info  apache_spark@1.0.3 took 2.036s
       │ info  elastic_package_registry@0.2.0 took 2.036s
       │ info  prometheus@1.15.0 took 2.036s
       │ info  santa@3.17.0 took 2.036s
       │ info  cisco_aironet@1.13.0 took 2.035s
       │ info  docker@2.9.0 took 2.035s
       │ info  elasticsearch@1.14.0 took 2.035s
       │ info  carbon_black_cloud@1.21.3 took 2.034s
       │ info  cisco_asa@2.32.0 took 2.034s
       │ info  symantec_endpoint@2.15.0 took 2.033s
       │ info  ti_eclecticiq@0.3.0 took 2.033s
       │ info  cisco_nexus@1.1.0 took 2.032s
       │ info  citrix_adc@1.4.0 took 2.032s
       │ info  forgerock@1.15.0 took 2.031s
       │ info  atlassian_jira@1.24.0 took 2.03s
       │ info  radware@0.19.0 took 2.03s
       │ info  mattermost@1.18.0 took 2.028s
       │ info  azure_blob_storage@1.1.0 took 2.026s
       └- ✓ pass  (20.0m)
     └-> "after all" hook: afterTestSuite.trigger for "should work and install all packages"
   └-> "after all" hook: afterTestSuite.trigger in "Fleet packages test"

1 passing (20.0m)
```
2024-03-26 08:32:00 -07:00
Ersin Erdal
ef0f0e09b7
Onboard "Custom Threshold" rule type with FAAD (#179284)
Towards: https://github.com/elastic/kibana/issues/169867

This PR onboards "Custom Threshold" rule type with FAAD.

## To verify
Create a Custom Threshold rule by using a test index and DW. Set the
`Role visibility` `metrics`.
When the rule runs, it generates an alert and saves it under
`.internal.alerts-observability.threshold.alerts-default`.
The alert should be visible on `Observability > alerts` page as well.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-03-26 16:20:16 +01:00
Kibana Machine
61ed6e77b1
[ES|QL] Update grammars (#179266)
This PR updates the ES|QL grammars (lexer and parser) to match the
latest version in Elasticsearch.

## Edit by @dej611 

* Introduced new `META` command (with the only `FUNCTIONS` option) who
replaced the previous `SHOW FUNCTIONS`
  * add new `meta` command into the commands definitions
  * make it work with both validation and autocomplete
  * updated ES|QL theme with new `meta` command
* Removed the `FUNCTIONS` function from the `SHOW` command
  * tweaked the `show` command definition
  * fix both validation and autocomplete
* removed some unused code after the grammar changes

---------

Co-authored-by: dej611 <dej611@gmail.com>
Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
2024-03-26 15:52:07 +01:00
Marco Liberati
7a9ccbb6b2
[Lens] Update time_range() function with an additional example (#179408)
## Summary

Closes #164952 

Apparently part of the task was already done via #173770 but the issue
hasn't been updated.
I've now added one more example just to show a practical usage of
`time_range()` but the other 2 constant functions have already
meaningful examples in place.


### Checklist

- [x]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
2024-03-26 15:16:25 +01:00
Sander Philipse
a64642b58c
[Search] Create connectors plugin (#178663)
## Summary

Creates a new search-connectors-plugin that houses some shared stateful
code for connectors. Right now this houses just images and a list of
connector types. In the futures this will also house API calls.


### 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]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [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] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [x] 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))
- [x] 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)
- [x] 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))
- [x] 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

- [x] 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: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-03-26 06:56:16 -07:00
Dominique Clarke
468ee44777
[APM] Alert details page - handle transaction name in visualizations (#179365)
## Summary

Resolves https://github.com/elastic/kibana/issues/179362

Handles transaction name for APM alert visualizations on the alert
details page.


![image](0919d8d2-b088-450f-b513-4899b91496af)

<img width="1092" alt="Screenshot 2024-03-25 at 12 25 04 PM"
src="576edc66-42a9-4e26-af9b-784d3b21b23c">
<img width="1441" alt="Screenshot 2024-03-25 at 12 17 01 PM"
src="aca84148-87f8-445e-a14e-57a6b87558f7">

### Testing
1. Create APM data. I used `node scripts/synthtrace many_transactions.ts
--live`
2. Create a latency threshold rule filtered with transaction name. I
used `UPDATE /payments-1997` from that data set and threshold as 1500 ms
3. Navigate to the service page and click on the transaction name to
observe the visualizations
4. Navigate to the alert, then the alert details page. Observe that the
visualizations match the visualizations on the transaction page.

### Release note
APM alert details page visualizations are now filtered by transaction
name when transaction name is defined on the APM latency rule type.
2024-03-26 09:41:11 -04:00
Ersin Erdal
5a14d2e656
Onboard "SLO burn rate" rule type with FAAD (#178922)
Towards: https://github.com/elastic/kibana/issues/169867

This PR onboards "SLO burn rate" rule type with FAAD.

## To verify

Create an SLO by using a test index (create a dataview for it), use very
low `budget consumed %`
The rule bound to the SLO should create an alert and save it under
`.internal.alerts-observability.slo.alerts-default-000001`
2024-03-26 14:09:59 +01:00
Stratoula Kalafateli
97c0b9ccaa
[Obs ai assistant] Wrap feedback text in smaller viewports (#179241)
## Summary

Fixes the `Was this helpful?` text when the conversation list is open
and the viewport is smaller by wrapping the text

**Before**
![image
(24)](017a6e46-964c-4a82-b3c4-91cb5380306b)

**Now**
<img width="915" alt="image"
src="05015f7f-bcf0-4e8e-9bc6-9516839e11a5">
2024-03-26 14:06:11 +01:00
dkirchan
7b11832ea5
[Securitry][Buildkite] Moved dev dependencies to the correct section (#178392)
## Summary

Moved dev dependencies to the correct section
2024-03-26 13:53:50 +01:00
Shahzad
ffcd60ddec
[SLO] Details page display sub headers as children (#179324)
## Summary

Display Header sub heading as children of page template !!

### After
<img width="1728" alt="image"
src="d6198df4-40b7-488f-a7df-0fcbc514a371">
2024-03-26 17:25:02 +05:00
Philippe Oberti
98f0cfe7dd
[Security Solution][Threat Intelligence] - fix broken KQL bar (#179153) 2024-03-26 13:23:36 +01:00
Pierre Gayvallet
ffcc1ffa33
[home] add caching for tutorial instructions (#179381)
## Summary

We're spending ~200ms (on benchmark machine) in the `start` lifecycle of
the `home` plugin.

After some investigations, this time is spent evaluating the tutorial
providers, here:


c713b91e66/src/plugins/home/server/services/tutorials/tutorials_registry.ts (L140-L143)

A significant amount of time and GC cycles are spent generating the
various instructions for all those tutorials.

I feel like the proper solution would be to have those instructions
(`TutorialSchema.onPrem`, `TutorialSchema.elasticCloud` and
`TutorialSchema.onPremElasticCloud`) living on the browser-side only
(given the server don't really need to know about them), however doing
it would imply some serious refactoring (especially to handle
externally-registered tutorials..), so for now this PR just adds some
cache, reducing those `200ms` to around `110ms`, so almost in half
2024-03-26 12:37:17 +01:00
Samiul Monir
cdd50871dc
[Search] Display Index Nav Items when child items are selected (#179369)
## Summary

Currently, if we visit a specific domain item for an index or navigating
to specific `domain` in `domain management`, the left expended `index`
nav menu does not show up (hides immediately if the index menu were
expanded).

### Before
- The index nav is expanded initially
![Screenshot 2024-03-25 at 12 56
06 PM](b71a4d5f-2167-4970-9381-a47f66ab014e)
- The index nav menu hides when specific domain selected
![Screenshot 2024-03-25 at 12 56
20 PM](7bcd9818-68cb-442d-8f92-d2900fd7c9d6)

### After:
- the menu stays up:
![Screenshot 2024-03-25 at 12 56
37 PM](c5a4273d-3363-47c5-bcf1-4bad0fb4f626)



### 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]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [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] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [X] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [X] 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))
- [X] 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)
- [X] 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))
- [X] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)


### 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)
2024-03-26 11:41:44 +01:00
Julia Bardi
5185212382
[Fleet] use index exists check in fleet-metrics-task (#179404)
## Summary

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

Use elasticsearch index exists check instead of get when checking if
`.fleet-agents` exists in Fleet metrics task. This eliminates the
unnecessary 404 errors which produced a lot of noise in serverless logs.

### 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
2024-03-26 03:38:13 -07:00
Dzmitry Lemechko
b0348b0f50
[test docs] add example for api integration tests with saml (#179182)
## Summary

Follow-up to #178558

Adding example for api integration test  using SAML auth
2024-03-26 11:08:08 +01:00
Dzmitry Lemechko
81c7dd4f24
[kbn-journeys] wait for charts inside located div (#179360)
## Summary

Fix for the flaky infra_hosts_view journey:

```
...
[01:01:17]       │ debg waitForRender: 7 out of 5 are loaded...
[01:01:17]       │ debg waitForRender: 7 out of 5 are loaded...
[01:01:18]       │ debg waitForRender: 7 out of 5 are loaded...
[01:01:18]       │ debg waitForRender: 7 out of 5 are loaded...
[01:01:19]       │ debg waitForRender: 7 out of 5 are loaded...
...
[01:01:20]       └- ✖ fail: Journey[infra_hosts_view] Navigate to Hosts view and load 500 hosts
[01:01:20]       │   Error: timed out waiting for rendering of 5 elements with selector .echChartStatus is completed
[01:01:20]       │       at onFailure (retry_for_truthy.ts:39:13)
[01:01:20]       │       at retryForSuccess (retry_for_success.ts:84:7)
[01:01:20]       │       at retryForTruthy (retry_for_truthy.ts:27:3)
[01:01:20]       │       at RetryService.waitForWithTimeout (retry.ts:73:5)
[01:01:20]       │       at KibanaPage.waitForRender (kibana_page.ts:54:5)
[01:01:20]       │       at KibanaPage.waitForCharts (kibana_page.ts:103:5)
[01:01:20]       │       at Object.fn (infra_hosts_view.ts:32:5)
[01:01:20]       │       at journey_ftr_harness.ts:499:15
[01:01:20]       │       at JourneyFtrHarness.withSpan (journey_ftr_harness.ts:350:22)
[01:01:20]       │       at Context.<anonymous> (journey_ftr_harness.ts:497:11)
[01:01:20]       │       at Object.apply (wrap_function.js:73:16)
```

![image](dfeeb8e0-9dc3-4845-a345-2df464ebf055)


The failure is due to playwright was able to find 7 charts instead of 5
(expected)
It turned out the Infra page has 5 metric charts + 2 Control inputs + 12
Lens embeddables: seems like some of rendering is async and depends on
screen viewport size.
PR is adding `parentLocator` to `waitForRender` function as opt-in
argument that helps to locate charts inside the specified parent
element.

How to test: 
perf run: `node scripts/run_performance.js --journey-path
x-pack/performance/journeys_e2e/infra_hosts_view.ts`
test run: `node scripts/functional_tests.js --config
x-pack/performance/journeys_e2e/infra_hosts_view.ts`
2024-03-26 11:07:14 +01:00
Kevin Delemme
9805fc5c35
chore(slo): add dev documentation (#177230)
## Summary

Add documentation about data generation for SLO development/testing
purposes.

Co-authored-by: Maryam Saeidi <maryam.saeidi@elastic.co>
2024-03-26 10:05:28 +00:00
Carlos Crespo
812adee333
[Infra] Fix infra/services ftr tests (#178300)
fixes [#176967](https://github.com/elastic/kibana/issues/176967)
fixes [#176950](https://github.com/elastic/kibana/issues/176950)

## Summary

Fix synthtrace call in setup and teardown to avoid cleaning the data
during test execution

Flaky test runner
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5424

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2024-03-26 08:58:08 +01:00
Carlos Crespo
88af92bd69
[Infra] Unskip Hosts View APM services test (#178308)
fixes [176951](https://github.com/elastic/kibana/issues/176951)

## Summary

The problem was likely caused by the synthtrace data not being ready
when the test started running. Fixed the setup and teardown

Flaky test runner
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5423

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2024-03-26 08:57:52 +01:00
Tomasz Ciecierski
b187297124
[EDR Workflows] Enable 8.13 feature flags to serverless (#179316) 2024-03-26 08:42:46 +01:00
Kibana Machine
7a8f6b9092
[api-docs] 2024-03-26 Daily api_docs build (#179402)
Generated by
https://buildkite.com/elastic/kibana-api-docs-daily/builds/654
2024-03-26 05:58:18 +00:00
Nathan Reese
61047aead0
[embeddable refactor] initializeTimeRange utility (#179379)
Move timeRange$ logic into reusable `initializeTimeRange` method.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-03-25 18:18:17 -06:00
Tiago Costa
c04de5edaf
fix(NA): unused translations for serverless search 2024-03-26 00:00:39 +00:00