Commit graph

82723 commits

Author SHA1 Message Date
Philippe Oberti
f833b18d19
[Security Solution][THI] - replace deprecated EUI color variables (#205173)
## Summary

This PR is part of a list of PRs to perform the changes necessary to get
the new Borealis theme working correctly. It focuses on replacing the
deprecated color variables with the new ones:

#### previous color token -> new color token:
- primaryText -> textPrimary
- accentText -> textAccent
- warningText -> textWarning
- dangerText -> textDanger
- text -> textParagraph
- title -> textHeading
- subduedText -> textSubdued
- disabledText -> textDisabled

No UI changes are visible.

https://github.com/elastic/kibana/issues/201881
2025-01-10 23:59:17 +00:00
Nick Partridge
481b8037d6
[kbn-test] Jest run script should use testPathPattern to lookup config (#206341)
Adds logic to support the jest vscode extension by reading the
`--testPathPattern` arg for the purpose of config lookup. This enables
running tests easily in the vscode jest extension.
2025-01-10 17:27:05 -06:00
Philippe Oberti
cebd201981
[Security Solution][THI] - replace usages of EUI vis colors (#205218)
## Summary

This PR is part of a list of PRs to perform the changes necessary to get
the new Borealis theme working correctly. It focuses on replace the vis
colors for non-visualization usages by correct EUI color tokens.

2 places have been impacted:

- the alerts data table in grouping mode (for host, user and network).
The background colors are removed as they don't really mean anything,
and are not used anywhere else in Kibana. Also the icons have been
updated to match the ones used in other places (like in the flyout)

#### Host
| before | after |
| ------------- | ------------- |
|
![data-table-host-main](https://github.com/user-attachments/assets/eb15300e-6694-4fd0-a77d-09fbb7b8a5dd)
|
![data-table-host-new](https://github.com/user-attachments/assets/405eb0a5-cd17-4a50-b008-d31a0654887e)
|

#### User
| before | after |
| ------------- | ------------- |

|![data-table-user-main](https://github.com/user-attachments/assets/70d05724-610f-4c87-b2ae-cdd0be98d4b0)
|
![data-table-user-new](https://github.com/user-attachments/assets/315467f2-ea84-4c8c-a25f-f5d7d1f060b5)
|

#### Network
| before | after |
| ------------- | ------------- |
|
![data-table-network-main](https://github.com/user-attachments/assets/a26f4aad-ae24-4d67-99ec-3cd677ebf4d6)
|
![data-table-network-new](https://github.com/user-attachments/assets/eba9df1a-fe8a-484c-bfa4-c445659ab8f6)
|

- the dataprovider badge in timeline

#### Dark mode
| before | after |
| ------------- | ------------- |
|
![timeline-main-dark](https://github.com/user-attachments/assets/29f1b5a7-c9f7-46e9-b4a6-76b262102f83)
|
![timeline-new-dark](https://github.com/user-attachments/assets/1628e046-eeae-42d8-81c6-dc530114490d)
|

#### Light mode
| before | after |
| ------------- | ------------- |
|
![timeline-main-light](https://github.com/user-attachments/assets/b89f24e2-67cc-44ce-be0e-41b6a5b89bfb)
|
![timeline-new-light](https://github.com/user-attachments/assets/156a80c1-c31d-4cd6-a72c-544402beb9ab)
|

The changes have been reviewed and approved by @codearos 😄 

https://github.com/elastic/kibana/issues/201883
2025-01-10 16:30:49 -06:00
Mark Hopkin
80baa2cd9e
[Entity Analytics][9.0] Remove all legacy risk engine code and features (#201810) 2025-01-10 21:51:32 +00:00
Zacqary Adam Xeper
d8b0b6e926
[ResponseOps] [Rule Form] Move rule form steps to hook with progress tracking (#205944)
## Summary

Part of #195211 

In preparation for the horizontal rule form layout, move the generation
of the rule form steps into three hooks:

- `useCommonRuleFormSteps`: private hook that generates a series of
objects specifying the rule form steps, how to display them, and what
order to display them in
- `useRuleFormSteps`: hook that calls `useCommonRuleFormSteps` and
transforms them into data for the standard vertical `EuiSteps`, along
with progress tracking based on `onBlur` events
- `useRuleFormHorizontalSteps`: hook that calls hook that calls
`useCommonRuleFormSteps` and transforms them into data for
`EuiStepsHorizontal`, plus navigation functions. ***These will be used
in the smaller rule form flyout in a second PR***

Because `EuiStepsHorizontal` rely more heavily on the `EuiSteps`
`status` property, I took this opportunity to improve progress tracking
in the standard vertical steps. Most rule types will load the create
page with Step 1: Rule Definition already being in a `danger` state,
because an incomplete rule definition component immediately sends
errors, and the error API doesn't distinguish between invalid data or
incomplete data.

This PR wraps each step in a `reportOnBlur` higher-order component,
which will report the first time a step triggers an `onBlur` event.
Steps with errors will now report `incomplete` until they first trigger
an `onBlur`. The result:

1. The user loads the Create Rule page. Rule Definition is marked
`incomplete`
2. The user interacts with Rule Definition, but does not yet complete
the definition.
3. The user interacts with the Actions step, the Rule Details step, or
another part of the page. The Rule Definition is now marked `danger`.

This is inelegant compared to an error API that can actually distinguish
between an incomplete form and an invalid form, but it's an improvement
for now.

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-01-10 15:08:14 -06:00
Alejandro Fernández Haro
2687f4f109
[ES body removal] @elastic/kibana-management (#204871) 2025-01-10 14:58:18 -06:00
elastic-renovate-prod[bot]
ec3013ccd1
Update dependency react-reverse-portal to ^2.1.2 (main) (#206168)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[react-reverse-portal](https://togithub.com/httptoolkit/react-reverse-portal)
| dependencies | patch | [`^2.1.0` ->
`^2.1.2`](https://renovatebot.com/diffs/npm/react-reverse-portal/2.1.0/2.1.2)
|

---

### Release Notes

<details>
<summary>httptoolkit/react-reverse-portal
(react-reverse-portal)</summary>

###
[`v2.1.2`](https://togithub.com/httptoolkit/react-reverse-portal/compare/v2.1.1...v2.1.2)

[Compare
Source](https://togithub.com/httptoolkit/react-reverse-portal/compare/v2.1.1...v2.1.2)

###
[`v2.1.1`](https://togithub.com/httptoolkit/react-reverse-portal/compare/v2.1.0...v2.1.1)

[Compare
Source](https://togithub.com/httptoolkit/react-reverse-portal/compare/v2.1.0...v2.1.1)

</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.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

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

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOkRhdGFEaXNjb3ZlcnkiLCJiYWNrcG9ydDphbGwtb3BlbiIsInJlbGVhc2Vfbm90ZTpza2lwIl19-->

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
2025-01-10 16:08:49 -04:00
Zacqary Adam Xeper
d274c2f026
Update stylelint to 14.6.1 (#206134)
## Summary

Upgrades the stylelint package to 14.16.1

I ran into https://github.com/stylelint/stylelint/issues/6304 when
trying to add an `@container` query in an scss file. This bug was fixed
in stylelint 14.12.0. While taking the opportunity to upgrade, I figured
I'd bump us to the most recent minor 14.x version.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-10 14:04:25 -06:00
Paul Tavares
d8918077d2
[Security Solution][Endpoint] Agent status api support for Microsoft Defender for Endpoint hosts (#205817)
## Summary

### Stack Connectors changes

- Added new method to the Microsoft Defender for Endpoint connector to
retrieve list of Machines

### Security Solution

- Added support for retrieving the status of Microsoft Defender agents
2025-01-10 14:20:46 -05:00
Kibana Machine
221f1b100f skip failing test suite (#193876) 2025-01-11 06:07:06 +11:00
Angela Chuang
4ca57799b7
[SecuritySolution] Apply different color tokens for themes (#206254)
## Summary

Previous changes applied same tokens for Borealis and Amsterdam:
https://github.com/elastic/kibana/pull/204631#issuecomment-2573415425

PR above causes color changes to the current theme, after discussing
with UX, we decide to maintain different color tokens until Borealis is
launched. This PR should revert the color changed on Amsterdam by the
previous PR and only apply the new color for Borealis.

| Current and Amsterdam | Borealis  |
|-------------------------|----------|
|Source: Hard coded: `#d36186`|Source: `euiColorVis4` - `#EE72A6` |
|Dest: Hard coded: `#9170b8` |Dest: `euiColorVis2` - `#61A2FF`|

### Host IPs:

| Current and Amsterdam | Borealis  |
|-------------------------|----------|
|<img width="2560" alt="host_IPs"
src="https://github.com/user-attachments/assets/c0f9f317-fb02-4c96-8422-c1d2484f4636"
/>|<img width="2560" alt="host_bor_light"
src="https://github.com/user-attachments/assets/451d6604-1d7c-4a2e-82c3-74b2499852d2"
/>|
|<img width="2558" alt="host_IPs_dark"
src="https://github.com/user-attachments/assets/ac45a3ac-ecaf-46b6-91d9-68704d8639ee"
/>|<img width="2553" alt="host_bor_dark"
src="https://github.com/user-attachments/assets/e34e56fd-8202-4a3c-80c1-996718320fd8"
/>|

### Network IPs:

| Current and Amsterdam | Borealis  |
|-------------------------|----------|
|<img width="2557" alt="network_IPs"
src="https://github.com/user-attachments/assets/0e0b33d9-55b7-41a5-8910-11b80e539398"
/>|<img width="2559" alt="network_bor_light"
src="https://github.com/user-attachments/assets/f616b3ab-5032-4e69-b67e-cde39b88ea5f"
/>|
|<img width="2558" alt="host_IPs_dark"
src="https://github.com/user-attachments/assets/9613a49f-f0c6-4b63-aa56-c960fac175fc"
/>|<img width="2560" alt="network_bor_dark"
src="https://github.com/user-attachments/assets/911f0509-43ea-428a-94d6-9ce01f5425ac"
/>|



### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.


- [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
2025-01-10 18:54:47 +00:00
elastic-renovate-prod[bot]
ff2a16008b
Update APM (main) (#205153)
Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
2025-01-10 18:49:39 +00:00
Jon
4991ee1c2f
[renovate] Fix match for all base branches (#205963)
https://docs.renovatebot.com/string-pattern-matching/ doesn't appear to
be working for this setting.

The documentation [mentions regular expression
support](https://docs.renovatebot.com/configuration-options/#matchbasebranches),
this moves the expression over.
2025-01-10 12:38:17 -06:00
Kylie Meli
0585712012
[Automatic Import] Migrating to UX design and adding support for generating auth (#202587)
## Summary

This PR adds authentication to the generated CEL programs, and overhauls
the UI flow to be closer to the forthcoming UX design.

## Details 

This PR provides the following updates related to CEL generation:

1. Adds support for generating auth - basic, oauth2, digest and api
tokens
2. Adds new tooling for working with the OpenAPI specs and support for
reducing the spec to minimally required information to the LLM (new
Kibana dep on [oas](https://www.npmjs.com/package/oas))
3. Addresses various feedback around the generated CEL program (error
handling, cursor, trimming the state.url, etc)
4. Migrates the CEL flow to be closer to the forthcoming design
specified by UX, now within a flyout on the datastream step.
5. Removes the dependency on the CEL generation feature flag

## Current screenshots

<details>
  <summary>Click me</summary>
  
the datastream setup page:
<img width="1724" alt="Screenshot 2024-12-13 at 4 33 28 PM"
src="https://github.com/user-attachments/assets/2d35f448-c5c4-4891-92fc-393f83549213"
/>

the user selects the cel input and the button to configure shows up:
<img width="1725" alt="Screenshot 2024-12-13 at 4 33 49 PM"
src="https://github.com/user-attachments/assets/e55be532-5eaa-4a46-80f1-16dd82430fc4"
/>

upon clicking the button, the flyout opens:
<img width="1722" alt="Screenshot 2024-12-13 at 4 34 02 PM"
src="https://github.com/user-attachments/assets/269248cb-21e7-4ebf-86af-f031facb5822"
/>

the user can upload the spec file (a json or yaml openapi file):
<img width="1722" alt="Screenshot 2024-12-13 at 4 34 30 PM"
src="https://github.com/user-attachments/assets/5f996ff3-194a-416b-a1ae-ba0d5ef89a1a"
/>

the llm will suggest paths to use, or the user can select to enter
manually and view all the GETs
<img width="865" alt="Screenshot 2024-12-13 at 4 35 26 PM"
src="https://github.com/user-attachments/assets/a0ad6d6f-5d82-442a-8f2c-235190b2078c"
/>

we will also suggest an auth method based on the spec, but allow the
user to select otherwise if they want:
<img width="1723" alt="Screenshot 2024-12-13 at 4 35 37 PM"
src="https://github.com/user-attachments/assets/840b0201-cae2-4313-bf5d-d7b3ab2034ed"
/>

if they choose an auth the spec doesn't specify, we will warn but not
block:
<img width="1336" alt="Screenshot 2024-12-16 at 9 07 52 AM"
src="https://github.com/user-attachments/assets/c2fb04b5-3d98-4c70-95b2-2fab259c0702"
/>

once path and auth are selected, they can save and continue (generate
the cel config):
<img width="1722" alt="Screenshot 2024-12-13 at 4 35 50 PM"
src="https://github.com/user-attachments/assets/3e54a435-3ddf-4e64-81ab-49dc25420210"
/>

generating:
<img width="1724" alt="Screenshot 2024-12-13 at 4 36 18 PM"
src="https://github.com/user-attachments/assets/0772c016-078c-44cb-ad72-b096f7d635e2"
/>

all configured:
<img width="1720" alt="Screenshot 2024-12-13 at 4 36 35 PM"
src="https://github.com/user-attachments/assets/5f92979c-1f40-43e3-90f3-941c20c99cc7"
/>

</details>

## Sample results 

> **_Note:_** All these sample integrations are built with the teleport
log samples.

### API key

[eset.json](https://github.com/user-attachments/files/18151638/eset.json)

[eset___api_key-1.0.0.zip](https://github.com/user-attachments/files/18151622/eset___api_key-1.0.0.zip)

### OAuth2

[bitwarden.json](https://github.com/user-attachments/files/18151635/bitwarden.json)

[bitwarden___oauth-1.0.0.zip](https://github.com/user-attachments/files/18151618/bitwarden___oauth-1.0.0.zip)

### Basic 

[sumlogic-api.yaml.zip](https://github.com/user-attachments/files/18151650/sumlogic-api.yaml.zip)

[sumologic___basic-1.0.0.zip](https://github.com/user-attachments/files/18151630/sumologic___basic-1.0.0.zip)

Relates:
- https://github.com/elastic/kibana/issues/197651
- https://github.com/elastic/kibana/issues/197653

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Ilya Nikokoshev <ilya.nikokoshev@elastic.co>
2025-01-10 12:09:39 -05:00
Alejandro Fernández Haro
baf79bcd35
[ES body removal] @elastic/security-detections-response (#204879) 2025-01-10 16:58:31 +00:00
elastic-renovate-prod[bot]
a3d3c82900
Update dependency @redocly/cli to ^1.27.0 (main) (#205158)
Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-10 17:51:58 +01:00
Dzmitry Lemechko
ecf1818608
[kbn-test] export fleet package registry image (#206234)
## Summary

Should fix TS check error `Project references may not form a circular
graph` by removing `@kbn/test-suites-xpack` from `kbn-scout` dependency
list.

Since dockerImage for Fleet package registry is just a constant, that is
used across different FTR and Scout configurations, it makes sense to
export it from `kbn-test`
2025-01-10 17:44:06 +01:00
Nicolas Chaulet
0c106d331b
[Fleet] Fix creating a policy in a different space than the current (#205925) 2025-01-10 16:35:16 +00:00
Nicolas Chaulet
9cda1a83a6
[Fleet] Fix output id when using default output as integration output (#206286) 2025-01-10 11:31:24 -05:00
Davis McPhee
de3bd71d2c
[Discover] Fix document comparison table padding (#205984)
## Summary

This PR fixes the table padding on the Discover document comparison
table which was causing the diff decorations to be cut off. This likely
started after #188495 when some of the standard table styles the
comparison table inherits from changed.

Fixes #205463.

### Checklist

- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/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
- [ ] 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 was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
2025-01-10 12:07:15 -04:00
Matthias Wilhelm
df495ce532
[Discover][ES]QL] Ensure the same time range is being used for documents and histogram (#204694)
Fixing the case a relative time range is set (for example "Last 15 minutes") and the time range goes out of sync for table and histogram requests on Discover in ES|QL mode.

Fixes a redundant ES|QL request for histogram data, with different timeranges, when the timerange is changed.
2025-01-10 17:06:45 +01:00
Tomasz Ciecierski
b37ec3ce20
[EDR Workflows] Hardcode virtual box url (#206235) 2025-01-11 00:56:49 +09:00
Lola
473eb721bc
[Cloud Security] Feature Flag Support for Cloud Security Posture Plugin (#205438)
## Summary

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

## Changes

* Adds `enableExperimental` to server `configSchema`
* Makes feature flags configurable via
`xpack.cloudSecurityPosture.enableExperimental` in `kibana.dev.yml`
* Implements `ExperimentFeatureService.get()` for accessing feature
flags
* Add passing `initliaterContext` to plugin in order to access our
plugin config

## Benefits

* Avoids circular dependency with Security Solution
`useIsExperimentalFeatureEnabled` and prop drilling feature flags from
Fleet plugin `PackagePolicyReplaceDefineStepExtensionComponentProps`
* Provides server-side configuration support
* Enables pre-release feature testing
* Creates centralized feature flag management

This allows controlled testing of new features before release through
configuration rather than code changes.

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-01-10 10:55:06 -05:00
Patryk Kopyciński
55390001ad
[Security Assistant] Migrate semantic_text to use highlighter instead of inner_hits (#204962)
## Summary

Switch to use https://github.com/elastic/elasticsearch/pull/118064 when
retrieving Knowledge base Index entry docs

Followed testing instructions from
https://github.com/elastic/kibana/pull/198020

Results:
<img width="1498" alt="Zrzut ekranu 2024-12-19 o 16 32 28"
src="https://github.com/user-attachments/assets/a16bf729-ac30-4ea7-9b11-6e9ecca842dc"
/>

<img width="1495" alt="Zrzut ekranu 2024-12-19 o 16 32 38"
src="https://github.com/user-attachments/assets/016c08c3-9865-4461-86a5-638e9559b202"
/>

<img width="1502" alt="Zrzut ekranu 2024-12-19 o 16 32 43"
src="https://github.com/user-attachments/assets/37a14a2d-191d-420c-940d-1de649e082fd"
/>

<img width="1491" alt="Zrzut ekranu 2024-12-19 o 16 32 47"
src="https://github.com/user-attachments/assets/e2be1e95-6fc8-4149-b1ff-2e8b8a9a0a8d"
/>

<img width="1494" alt="Zrzut ekranu 2024-12-19 o 16 32 50"
src="https://github.com/user-attachments/assets/38b17f44-e349-46ab-8069-80d1a3fd42ae"
/>
2025-01-10 16:51:38 +01:00
Joe Reuter
23c958c1a1
🌊 Fix ascendants check (#206080)
The id->name refactoring didn't catch the check for ascendants which was
still looking for id. This PR fixes this
2025-01-10 16:48:13 +01:00
Nick Partridge
03e299f202
[Infra] Fix types in alerting Threshold (#206133)
## Summary

This fixes bad typings for `chartProps` from
https://github.com/elastic/kibana/pull/202405. At some point we started
passing the eui theme to the chart props in
`x-pack/solutions/observability/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/index.tsx`.

The `chartProps.theme` is meant only to be the chart `PartialTheme`
which can override settings from the `baseTheme`.
2025-01-10 09:47:36 -06:00
Nicolas Chaulet
eddbbb1895
[Fleet] Retry on conflict when updating agent space (#205964) 2025-01-10 15:44:33 +00:00
Nicolas Chaulet
8bb2da19ea
[Fleet] Split jest config public|common|server (#205798) 2025-01-10 15:44:06 +00:00
Steph Milovic
ac4577159e
[Security solution] Reinstall product documentation callout (#205975) 2025-01-10 08:32:01 -07:00
Saarika Bhasi
54436e3c1c
[Onboarding] Introduce search index details page locator and update all reference (#205005)
## Summary

* Introducing new locator for onboarding `search_indices` plugin index
details page - `SEARCH_INDEX_DETAILS_LOCATOR_ID`.
* In stack, Updated view index details usage(connector table, connector
details page, search application & web crawler) to use this locator to
navigate to onboarding index details page ONLY when its `search -
Elasticsearch solution nav`
* Index management view index details would use extensionService with
active solution id check in search_indices plugin
* verified locally existing FTR & unit tests 
* Added FTR for index management in functional_search tests for search
solution nav and classic nav


https://github.com/user-attachments/assets/8f0fea00-3dce-449e-805a-b3cf317f4066



### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [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] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-01-10 10:30:38 -05:00
Rodney Norris
b6176b232b
[Search] remove appSearch & workplaceSearch endpoints (#206107)
## Summary

Removing the registration of App Search & Workplace Search routes from
`enterprise_search`
2025-01-10 09:18:52 -06:00
elastic-renovate-prod[bot]
44c2504240
Update dependency io-ts to ^2.2.22 (main) (#206174)
Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-10 16:04:11 +01:00
Paulina Shakirova
f6fb68ce16
Consistent help dropdown UI (#206280)
#### This is a second PR, I migrated relevant code changes here after
closing the previous one. You may read the comments history
[here](https://github.com/elastic/kibana/pull/205781).

## Summary
This PR fixes [Make Help dropdown consistent across all
environments](https://github.com/elastic/kibana/issues/199465) issue.

Since we need to make dropdown consistent also in the cloud, I will
firstly merge this PR, and then deal with the Cloud part by either
opening PR in that repo, or reach out to the responsible team showcasing
changes in Kibana and ask them to implement the changes.

This is how the dropdown is displayed currently (1st screenshot) and how
it will be looking with my changes (2nd screenshot).

After discussing the design with @ek-so and trying out different
variants, this seems to be the most suitable and universal.

The changes include refactoring usage or relevant Eui components and
removing the displaying of icons in the general menu dropdown (while
keeping this functionality of adding icons to the solutions additional
menu dropdown items).

<img width="330" alt="Screenshot 2025-01-07 at 13 07 49"
src="https://github.com/user-attachments/assets/a01a4966-dc6d-4c7c-86c2-4588960237f1"
/>


<img width="346" alt="Screenshot 2025-01-09 at 15 22 36"
src="https://github.com/user-attachments/assets/e9512a49-91b4-49fe-913b-f6bc70bfe1cc"
/>
2025-01-10 15:59:58 +01:00
Alejandro Fernández Haro
d0abdbdb7e
[ES body removal] @elastic/search-kibana (#204876) 2025-01-10 14:54:23 +00:00
Shahzad
2642aff1dd
[Synthetics] E2e tests update flakiness !! (#206257)
## Summary

E2e tests update flakiness !!
2025-01-10 15:49:57 +01:00
Kibana Machine
07ab93fc6b
Unauthorized route migration for routes owned by appex-sharedux (#198328)
### Authz API migration for unauthorized routes

This PR migrates unauthorized routes owned by your team to a new
security configuration.
Please refer to the documentation for more information: [Authorization
API](https://docs.elastic.dev/kibana-dev-docs/key-concepts/security-api-authorization)

### **Before migration:**
```ts
router.get({
  path: '/api/path',
  ...
}, handler);
```

### **After migration:**
```ts
router.get({
  path: '/api/path',
  security: {
    authz: {
      enabled: false,
      reason: 'This route is opted out from authorization because ...',
    },
  },
  ...
}, handler);
```

### What to do next?
1. Review the changes in this PR.
2. Elaborate on the reasoning to opt-out of authorization.
3. Routes without a compelling reason to opt-out of authorization should
plan to introduce them as soon as possible.
2. You might need to update your tests to reflect the new security
configuration:
  - If you have snapshot tests that include the route definition.

## Any questions?
If you have any questions or need help with API authorization, please
reach out to the `@elastic/kibana-security` team.

---------

Co-authored-by: Eyo Okon Eyo <eyo.eyo@elastic.co>
2025-01-10 15:45:57 +01:00
Alejandro Fernández Haro
2cd882c50d
[ES body removal] @elastic/kibana-core (#204851) 2025-01-10 14:41:19 +00:00
elastic-renovate-prod[bot]
5be981535b
Update dependency @elastic/ecs to ^8.11.5 (main) (#206159)
Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
2025-01-10 14:06:12 +00:00
Paulina Shakirova
86e8a2fcee
[VisLibrary] AnnotGroup listing page papercuts (#205914)
## Summary
This PR fixes [Annotation groups Listing Page
Papercuts](https://github.com/elastic/kibana/issues/198731) and
[Dashboard Listing Page
Papercuts](https://github.com/elastic/kibana/issues/198728) issues.

1. Changed the name of the first column
2. Fixed edit icon being invisible while editing functionality is
available.
In the past the logic was different - hiding of icon was happening based
on `isEditable(item)` property, and in the [[Managed content] readonly
in library
views](https://github.com/elastic/kibana/pull/176263/files#diff-e442682471f1021a9126ddcad7e00a0d334e57ac8db512c1c3268e14ecac0074L552)
PR the logic was changed to depend on adding a key `{ edit: { enabled:
false }` if there is a need to hide the Edit button. What happened is
that the logic should be -> If you don't want to show the Edit icon, add
`{ edit: { enabled: false }`, but in the current code, although there is
no such key, the pencil stays invisible, because the
`Boolean(tableItemsRowActions[item.id]?.edit?.enabled)` resolved to
`false` when it is `undefined` (when the Edit functionality isn't
disabled.) In this PR I propose an adjustment to this line of code.
3. Changed the View Details icon.
4. Show Reload page toast when a user changes preferred
`savedObjects:perPage` in Advanced Settings.
5. Fix sorting algorithm that was sorting incorrectly if the preferred
`savedObjects:perPage` was less than 10.

<img width="237" alt="Screenshot 2025-01-09 at 13 44 39"
src="https://github.com/user-attachments/assets/77a6fd45-8845-4b06-818c-0af0dc01ede9"
/>

<img width="243" alt="Screenshot 2025-01-09 at 13 43 30"
src="https://github.com/user-attachments/assets/3d9e03da-94dd-4e31-b33a-eb81e71b69dd"
/>
2025-01-10 14:38:00 +01:00
Marco Antonio Ghiani
3d82bb58af
[Streams] Fix broken image usage (#206258)
## 📓 Summary

Fixes a missing referenced image after merging
https://github.com/elastic/kibana/pull/204793
2025-01-10 13:11:47 +00:00
Artem Shelkovnikov
f612e71452
Add new native fields for SPO connector - certificate authenticate (#205337)
## Summary

This PR reflects the changes done in
https://github.com/elastic/connectors/pull/3064: update of Sharepoint
Online native connector configurable fields.

### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [ ] 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
- [ ] 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 was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
2025-01-10 12:51:25 +01:00
Giorgos Bamparopoulos
a3f07db7b6
Remove log stream and settings (#204115)
Removes the code used to render the log stream and settings pages.

The following areas have been checked:
- Log stream embeddable (dashboard of the `cisco_meraki` integration)
- Log stream shared component
- Log categories
- Log anomalies


https://github.com/user-attachments/assets/2bc0763d-3def-4c4b-b50a-21c17976a596

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

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-10 11:51:12 +00:00
Anton Dosov
64b6a1a5e7
Sustainable Kibana Architecture: Move the rest of shared-ux modules (#205924)
## Summary

This PR aims at relocating some of the Kibana modules (plugins and
packages) into a new folder structure, according to the _Sustainable
Kibana Architecture_ initiative.

> [!IMPORTANT]
> * We kindly ask you to:
> * Manually fix the errors in the error section below (if there are
any).
> * Search for the `packages[\/\\]` and `plugins[\/\\]` patterns in the
source code (Babel and Eslint config files), and update them
appropriately.
> * Manually review
`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that
any CI pipeline customizations continue to be correctly applied after
the changed path names
> * Review all of the updated files, specially the `.ts` and `.js` files
listed in the sections below, as some of them contain relative paths
that have been updated.
> * Think of potential impact of the move, including tooling and
configuration files that can be pointing to the relocated modules. E.g.:
>     * customised eslint rules
>     * docs pointing to source code

> [!NOTE]
> * This PR has been auto-generated.
> * Any manual contributions will be lost if the 'relocate' script is
re-run.
> * Try to obtain the missing reviews / approvals before applying manual
fixes, and/or keep your changes in a .patch / git stash.
> * Please use
[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)
Slack channel for feedback.

Are you trying to rebase this PR to solve merge conflicts? Please follow
the steps describe
[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).

#### 1 plugin(s) are going to be relocated:

| Id | Target folder |
| -- | ------------- |
| `@kbn/url-drilldown-plugin` |
`x-pack/platform/plugins/private/drilldowns/url_drilldown` |




#### 21 packages(s) are going to be relocated:

| Id | Target folder |
| -- | ------------- |
| `@kbn/core-chrome-browser` | `src/core/packages/chrome/browser` |
| `@kbn/deeplinks-shared` |
`src/platform/packages/shared/deeplinks/shared` |
| `@kbn/home-sample-data-card` |
`src/platform/packages/shared/home/sample_data_card` |
| `@kbn/home-sample-data-tab` |
`src/platform/packages/shared/home/sample_data_tab` |
| `@kbn/home-sample-data-types` |
`src/platform/packages/shared/home/sample_data_types` |
| `@kbn/guided-onboarding` |
`src/platform/packages/shared/kbn-guided-onboarding` |
| `@kbn/item-buffer` | `src/platform/packages/private/kbn-item-buffer` |
| `@kbn/management-settings-section-registry` |
`src/platform/packages/shared/kbn-management/settings/section_registry`
|
| `@kbn/management-settings-ids` |
`src/platform/packages/shared/kbn-management/settings/setting_ids` |
| `@kbn/react-mute-legacy-root-warning` |
`src/platform/packages/private/kbn-react-mute-legacy-root-warning` |
| `@kbn/saved-objects-settings` |
`src/platform/packages/private/kbn-saved-objects-settings` |
| `@kbn/react-kibana-context-common` |
`src/platform/packages/shared/react/kibana_context/common` |
| `@kbn/react-kibana-context-render` |
`src/platform/packages/shared/react/kibana_context/render` |
| `@kbn/react-kibana-context-root` |
`src/platform/packages/shared/react/kibana_context/root` |
| `@kbn/react-kibana-context-styled` |
`src/platform/packages/shared/react/kibana_context/styled` |
| `@kbn/react-kibana-context-theme` |
`src/platform/packages/shared/react/kibana_context/theme` |
| `@kbn/react-kibana-mount` |
`src/platform/packages/shared/react/kibana_mount` |
| `@kbn/serverless-project-switcher` |
`src/platform/packages/private/serverless/project_switcher` |
| `@kbn/serverless-common-settings` |
`src/platform/packages/private/serverless/settings/common` |
| `@kbn/serverless-observability-settings` |
`src/platform/packages/shared/serverless/settings/observability_project`
|
| `@kbn/serverless-types` |
`src/platform/packages/private/serverless/types` |


<details >
<summary>Updated relative paths</summary>

```
src/core/packages/chrome/browser/jest.config.js:12
src/core/packages/chrome/browser/tsconfig.json:2
src/core/packages/chrome/browser/tsconfig.type_check.json:2
src/core/packages/chrome/browser/tsconfig.type_check.json:21
src/core/packages/chrome/browser/tsconfig.type_check.json:24
src/core/packages/chrome/browser/tsconfig.type_check.json:27
src/core/packages/chrome/browser/tsconfig.type_check.json:30
src/core/packages/chrome/browser/tsconfig.type_check.json:33
src/core/packages/chrome/browser/tsconfig.type_check.json:36
src/core/packages/chrome/browser/tsconfig.type_check.json:39
src/core/packages/chrome/browser/tsconfig.type_check.json:42
src/core/packages/chrome/browser/tsconfig.type_check.json:45
src/core/packages/chrome/browser/tsconfig.type_check.json:48
src/core/packages/chrome/browser/tsconfig.type_check.json:51
src/core/packages/chrome/browser/tsconfig.type_check.json:54
src/platform/packages/private/kbn-item-buffer/jest.config.js:12
src/platform/packages/private/kbn-item-buffer/tsconfig.json:2
src/platform/packages/private/kbn-react-mute-legacy-root-warning/jest.config.js:12
src/platform/packages/private/kbn-react-mute-legacy-root-warning/tsconfig.json:2
src/platform/packages/private/kbn-saved-objects-settings/jest.config.js:12
src/platform/packages/private/kbn-saved-objects-settings/tsconfig.json:2
src/platform/packages/private/kbn-saved-objects-settings/tsconfig.type_check.json:2
src/platform/packages/private/serverless/project_switcher/jest.config.js:12
src/platform/packages/private/serverless/project_switcher/tsconfig.json:2
src/platform/packages/private/serverless/project_switcher/tsconfig.type_check.json:2
src/platform/packages/private/serverless/project_switcher/tsconfig.type_check.json:23
src/platform/packages/private/serverless/settings/common/tsconfig.json:2
src/platform/packages/private/serverless/settings/common/tsconfig.type_check.json:2
src/platform/packages/private/serverless/settings/common/tsconfig.type_check.json:20
src/platform/packages/private/serverless/types/tsconfig.json:2
src/platform/packages/private/serverless/types/tsconfig.type_check.json:2
src/platform/packages/shared/deeplinks/shared/jest.config.js:12
src/platform/packages/shared/deeplinks/shared/tsconfig.json:2
src/platform/packages/shared/deeplinks/shared/tsconfig.type_check.json:2
src/platform/packages/shared/home/sample_data_card/jest.config.js:12
src/platform/packages/shared/home/sample_data_card/tsconfig.json:2
src/platform/packages/shared/home/sample_data_card/tsconfig.type_check.json:2
src/platform/packages/shared/home/sample_data_card/tsconfig.type_check.json:23
src/platform/packages/shared/home/sample_data_card/tsconfig.type_check.json:29
src/platform/packages/shared/home/sample_data_tab/jest.config.js:12
src/platform/packages/shared/home/sample_data_tab/tsconfig.json:2
src/platform/packages/shared/home/sample_data_tab/tsconfig.type_check.json:2
src/platform/packages/shared/home/sample_data_tab/tsconfig.type_check.json:23
src/platform/packages/shared/home/sample_data_types/jest.config.js:12
src/platform/packages/shared/home/sample_data_types/tsconfig.json:2
src/platform/packages/shared/home/sample_data_types/tsconfig.type_check.json:2
src/platform/packages/shared/kbn-guided-onboarding/jest.config.js:12
src/platform/packages/shared/kbn-guided-onboarding/tsconfig.json:2
src/platform/packages/shared/kbn-guided-onboarding/tsconfig.type_check.json:2
src/platform/packages/shared/kbn-management/settings/section_registry/tsconfig.json:2
src/platform/packages/shared/kbn-management/settings/section_registry/tsconfig.type_check.json:2
src/platform/packages/shared/kbn-management/settings/section_registry/tsconfig.type_check.json:22
src/platform/packages/shared/kbn-management/settings/section_registry/tsconfig.type_check.json:25
src/platform/packages/shared/kbn-management/settings/setting_ids/tsconfig.json:2
src/platform/packages/shared/kbn-management/settings/setting_ids/tsconfig.type_check.json:2
src/platform/packages/shared/react/kibana_context/common/jest.config.js:12
src/platform/packages/shared/react/kibana_context/common/tsconfig.json:2
src/platform/packages/shared/react/kibana_context/common/tsconfig.type_check.json:2
src/platform/packages/shared/react/kibana_context/render/jest.config.js:12
src/platform/packages/shared/react/kibana_context/render/tsconfig.json:2
src/platform/packages/shared/react/kibana_context/render/tsconfig.type_check.json:2
src/platform/packages/shared/react/kibana_context/render/tsconfig.type_check.json:25
src/platform/packages/shared/react/kibana_context/root/jest.config.js:12
src/platform/packages/shared/react/kibana_context/root/tsconfig.json:2
src/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:2
src/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:22
src/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:28
src/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:31
src/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:34
src/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:37
src/platform/packages/shared/react/kibana_context/root/tsconfig.type_check.json:40
src/platform/packages/shared/react/kibana_context/styled/jest.config.js:12
src/platform/packages/shared/react/kibana_context/styled/tsconfig.json:2
src/platform/packages/shared/react/kibana_context/styled/tsconfig.type_check.json:2
src/platform/packages/shared/react/kibana_context/styled/tsconfig.type_check.json:22
src/platform/packages/shared/react/kibana_context/theme/jest.config.js:12
src/platform/packages/shared/react/kibana_context/theme/tsconfig.json:2
src/platform/packages/shared/react/kibana_context/theme/tsconfig.type_check.json:2
src/platform/packages/shared/react/kibana_context/theme/tsconfig.type_check.json:22
src/platform/packages/shared/react/kibana_mount/jest.config.js:12
src/platform/packages/shared/react/kibana_mount/tsconfig.json:2
src/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:2
src/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:22
src/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:25
src/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:28
src/platform/packages/shared/react/kibana_mount/tsconfig.type_check.json:34
src/platform/packages/shared/serverless/settings/observability_project/tsconfig.json:2
src/platform/packages/shared/serverless/settings/observability_project/tsconfig.type_check.json:2
src/platform/packages/shared/serverless/settings/observability_project/tsconfig.type_check.json:20
x-pack/platform/plugins/private/drilldowns/url_drilldown/tsconfig.json:2
```

</details>

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-01-10 11:30:37 +00:00
Irene Blanco
022900809a
[APM] Fix Cypress flaky test in Custom Links (#206108)
## Summary

Fixes https://github.com/elastic/kibana/issues/206016

This PR aims to fix a flaky test that waits for an empty state screen,
which sometimes fails to appear.

The issue might happen because the data deletion action, which triggers
the empty state, is not completed properly. This action takes place in
the previous test and does not wait for the deletion to finish.

The proposed solution ensures that the test responsible for deleting the
data waits until the empty state appears after deletion, preventing the
next test from running too soon.

### Test locally

`````
node x-pack/solutions/observability/plugins/apm/scripts/test/e2e.js --server
node x-pack/solutions/observability/plugins/apm/scripts/test/e2e.js  --runner --open
`````

Run the
[custom_links.cy.ts](http://localhost:5620/__/#/specs/runner?file=cypress/e2e/settings/custom_links.cy.ts)
test.
2025-01-10 12:30:00 +01:00
Artem Shelkovnikov
c88d519bff
Introduce Kibana task to deploy agentless connectors for 9.0 (#203973)
## Closes https://github.com/elastic/search-team/issues/8508
## Closes https://github.com/elastic/search-team/issues/8465

## Summary

This PR adds a background task for search_connectors plugin. This task
checks connector records and agentless package policies and sees if new
connector was added/old was deleted, and then adds/deletes package
policies for these connectors.

Scenario 1: a new connector was added by a user/API call

User creates an Elastic-managed connector:


https://github.com/user-attachments/assets/38296e48-b281-4b2b-9750-ab0a47334b55

When the user is done, a package policy is created by this background
task:


https://github.com/user-attachments/assets/12dbc33f-32bf-472d-b854-64588fc1e5b1

Scenario 2: a connector was deleted by a user/API call

User deletes an Elastic-managed connector:


https://github.com/user-attachments/assets/5997897e-fb9d-4199-8045-abe163264976

### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [ ] 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
- [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
- [ ] 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 was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Jedr Blaszyk <jedrazb@gmail.com>
2025-01-10 11:22:00 +00:00
Marco Antonio Ghiani
abf00ee777
[Streams 🌊] Stream enrichment processors management (#204793)
## 📓 Summary

Part of #https://github.com/elastic/streams-program/issues/32

This work implements a UI for basic stream enrichment, supporting grok
and dissect processor + detected fields mapping.

The main features implemented in this PR consist of:
- **Sortable processors list**
- **Add new processor - Grok, Dissect**
  - Ad-hoc forms for each processor
  - Simulated document outcome with extracted fields
  - Filter matching documents with parsed fields
  - Mapping detected fields (only available for wired streams)
- **Edit processor**
  - Change configuration only
  - Delete processor CTA

As a side quest, I added a small package for object utils as
@simianhacker suggested.
`@kbn/object-utils` exposes `calculateObjectDiff` and `flattenObject` to
detect the changed fields in a simulation.

## 🔜 Follow-up work

I'll work on minor updates on top of this MVP to make this available for
further testing from the team.
The next steps will be:
- **Tests** for features that consolidate on the functional pov.
- Better field mapping detection and UI feedback (infer the type of the
detected field, currently always unmapped)
- Add better form validation and feedback for processor configuration.

As discussed offline, state management is purely based on the built-in
react APIs + react-hook-form. It could be improved with different
approaches, including a more solid state management library to make it
easier to maintain and bulletproof to race conditions. No state syncs
with the URL currently.

## 🎥 Demo


https://github.com/user-attachments/assets/a48fade9-f5aa-4270-bb19-d91d1eed822b

---------

Co-authored-by: Marco Antonio Ghiani <marcoantonio.ghiani@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-10 12:01:55 +01:00
Bryce Buchanan
c7e4249b6b
[INFRA] Add additional perf telemetry (#205955)
## Summary
Closes https://github.com/elastic/kibana/issues/205394
This PR adds performance telemetry to metric explorer and adds time
range to existing telemetry in the host tables.
Building on #180309.

The time ranges added to the telemetry use the format "now", "now-15m"
per the examples in the [performance tutorial
docs](https://docs.elastic.dev/kibana-dev-docs/tutorial/performance/adding_custom_performance_metrics#add-time-ranges)


example of perf temeletry with the query range metadata can be seen
[here](https://telemetry-v2-staging.elastic.dev/s/apm/app/discover#/?_g=(filters:!(),query:(language:kuery,query:''),refreshInterval:(pause:!t,value:60000),time:(from:'2025-01-08T18:30:00.000Z',to:'2025-01-08T19:00:00.000Z'))&_a=(columns:!(),dataSource:(dataViewId:'0d6d7d31-1369-4a53-b36d-fbe97e4e5a0e',type:dataView),filters:!(),interval:auto,query:(language:kuery,query:'eventName%20:%20%22kibana:plugin_render_time%22%20and%20context.pageName%20:%20%22application:metrics:%2Fexplorer%22%20'),sort:!(!(timestamp,desc))))
2025-01-10 10:50:15 +00:00
Gerard Soldevila
3b42b80bce
SKA: Relocate Script v7.1 (#206233)
## Summary

* Fix an issue with the `--list` command failing the 1st run.
* Allow passing in no filters, and relocate "incorrect" modules (aka
modules that are not in the correct folder) in that case.
2025-01-10 10:47:47 +00:00
Maryam Saeidi
82721b0c25
Remove wrong test (#206231)
## Summary

This test is not useful and has a bug, so we decided to remove it.
2025-01-10 10:39:40 +00:00
Janki Salvi
7386e26824
[ResponseOps][Cases] Make case templates GA (#205940)
## Summary

This PR makes case templates GA.

<details><summary>Case settings</summary>

<img width="1133" alt="image"
src="https://github.com/user-attachments/assets/45c5896f-88dc-4199-ab83-398d05c8746a"
/>
</details> 

<details><summary>Case create</summary>

<img width="1094" alt="image"
src="https://github.com/user-attachments/assets/05df0a4a-44e8-4bf2-ad8d-e50f5d9851ef"
/>
</details> 

<details><summary>Case action</summary>

<img width="1079" alt="image"
src="https://github.com/user-attachments/assets/b321e926-3b2d-4773-90a3-3bd0b45aac3c"
/>
</details> 

### Checklist

Check the PR satisfies following conditions. 

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

### Release Notes
Case templates are now GA

### 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)
2025-01-10 10:31:13 +00:00