Commit graph

46297 commits

Author SHA1 Message Date
Nathan L Smith
ce42a8c1a9
Fix name of alerts table test (#211946)
Noticed this while looking at this file, probably from copy/paste.
2025-02-20 20:39:24 +01:00
Philippe Oberti
a4c7c8b28e
[Security Solution][Expandable flyout] add ability for user to resize the flyout and the left/right section even if preview is rendered (#211938)
## Summary

This PR makes a couple of small changes to the expandable flyout
package:
- get rid of an unwanted white space when preview are shown
- allow the user to resize the flyout and the internal left/right
sections when a preview is rendered

#### White space removal

| Before  | After |
| ------------- | ------------- |
| ![Screenshot 2025-02-20 at 11 17
30 AM](https://github.com/user-attachments/assets/7c7cb817-3fd9-4cac-9f63-5b168c1df832)
| ![Screenshot 2025-02-20 at 11 15
20 AM](https://github.com/user-attachments/assets/6490dda1-e440-41f3-be63-71fd524e736b)
|

#### Allow resize even when previews are shown


https://github.com/user-attachments/assets/034f59c2-6c4a-4efa-a817-8c23dbc11b60

### 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
2025-02-20 13:28:57 -06:00
Tiago Costa
89e2cc54f9
skip flaky suite (#208310) 2025-02-20 19:28:40 +00:00
Bryce Buchanan
33fd527148
removed unnecessary breadcrumbs in profiling (#211081)
## Summary

Fixes #208079
Both the flamegraph & functions pages had an extra, intermediate
breadcrumb.

## Before-Fix
<img width="488" alt="Screenshot 2025-02-13 at 11 05 02"
src="https://github.com/user-attachments/assets/b4ca4333-f026-4fcd-8e44-1e1ad1d4800d"
/>
<img width="504" alt="Screenshot 2025-02-13 at 11 05 08"
src="https://github.com/user-attachments/assets/3bc520a9-cdbe-4850-aca2-a4441e1ee951"
/>
<img width="545" alt="Screenshot 2025-02-13 at 11 05 21"
src="https://github.com/user-attachments/assets/015b5aa4-eb47-4d83-800c-4be9fecb2c1c"
/>
<img width="510" alt="Screenshot 2025-02-13 at 11 05 15"
src="https://github.com/user-attachments/assets/2d92cf64-608d-460b-9d24-d6ce3186d382"
/>

## After-Fix
<img width="500" alt="Screenshot 2025-02-13 at 10 59 51"
src="https://github.com/user-attachments/assets/3689d2b1-e312-415c-92b4-0f90385682ec"
/>
<img width="478" alt="Screenshot 2025-02-13 at 10 59 45"
src="https://github.com/user-attachments/assets/c7a71236-bdf5-4970-9e45-1baa3e465eb0"
/>
<img width="513" alt="Screenshot 2025-02-13 at 10 59 58"
src="https://github.com/user-attachments/assets/a9d83434-831f-45ba-a96e-bec34c9831a8"
/>
<img width="524" alt="Screenshot 2025-02-13 at 11 00 16"
src="https://github.com/user-attachments/assets/ade9a211-cafd-45b2-886d-87693bd9f723"
/>



### 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/src/platform/packages/shared/kbn-i18n/README.md)
- [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: jennypavlova <dzheni.pavlova@elastic.co>
2025-02-20 11:21:49 -08:00
Kyle Pollich
46812bc00a
[Fleet] Add o365audit, gcp-pubsup, and azure-eventhub as disallowed agentles inputs (#211262)
Closes https://github.com/elastic/kibana/issues/211092

## Summary

Disallows unsupported input types for security integrations adopting
agentless.

### Checklist

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

cc @jamiehynds @qcorporation @kcreddy
2025-02-20 19:51:13 +01:00
Søren Louv-Jansen
c4826bdfbf
[Obs AI Assistant] Remove TokenCountEvent (#209549)
Closes https://github.com/elastic/kibana/issues/205479

This filters out the `ChatCompletionTokenCountEvent` from the inference
plugin. This greatly simplifies handling ChatCompletion events in the
Obs AI Assistant.
2025-02-20 18:59:19 +01:00
Umberto Pepato
0abbd173b1
[ResponseOps][Security][Rules] Fix fields missing from Cases action in Security Solution rule form (#210547)
## Summary

Correctly forwards the selected rule type id to the actions form section
in the Security Solution rule creation/update flow.
Adds a functional test case to cover the bug.

## To verify

1. Navigate to `Security > Rules > Detection rules > Create new rule`
2. Fill in the first 3 steps
3. In the Actions step, select the Cases action
4. Check that the `Group by alert field` dropdown shows the correct
alert fields
5. Create the rule, then repeat point 5 in the rule editing UI

## References

Fixes #210209
2025-02-20 18:36:39 +01:00
Julia Bardi
606022c12c
[Fleet] Auto upgrade improvements (#211907)
## Summary

Relates https://github.com/elastic/ingest-dev/issues/4731

Hiding warning icon in Agent policy details header if the failed upgrade
agents is not related to a target version present in the list of
required_versions.

<img width="1774" alt="image"
src="https://github.com/user-attachments/assets/634bde32-8b58-45ac-9092-56af4ce0e774"
/>

Also fixed a small bug in Agent version badge where the Upgrade failed
state was not displayed when the status is healthy and upgrade is
available.

<img width="1056" alt="image"
src="https://github.com/user-attachments/assets/9797cf73-eb95-4436-87af-2109514f100b"
/>
2025-02-20 18:36:12 +01:00
Konrad Szwarc
b12b089688
[EDR Workflows] Fix Insights.cy.ts test (#211904)
Closes https://github.com/elastic/kibana/issues/211895

Include `Elastic-Inference-Rainbow-Sprinkles` introduced with
https://github.com/elastic/kibana/pull/210953 as an exempt from delete
connectors task.
2025-02-20 18:23:05 +01:00
Marco Liberati
1e92ae8afb
[Lens][Embeddable] Make UI react faster to click actions like create or edit (#210810)
## Summary

This PR is based on the idea in #209361 and tries to improve perceived
performances for all the scenarios where the `editorFrame` is loaded.

On fast connections this is now perceived very fast:

![esql_fast](https://github.com/user-attachments/assets/efb26416-bf15-449e-912f-a689c689c593)

On Fast 4g is still fast

![esql_fast_4g](https://github.com/user-attachments/assets/acc199be-683d-4a4b-a53c-f37a9117c258)

On Slow 4g is acceptable


![esql_slow_4g](https://github.com/user-attachments/assets/6fed9ec4-dc3f-4557-976c-91d82bddc10f)

Even on 3G connection the feedback is much better now


![esql_3g](https://github.com/user-attachments/assets/27e96c01-9149-4dd1-8a6d-e005202149ff)

As a bonus extra tests have been added for the ES|QL creation flow.

cc @thomasneirynck @nreese 

### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

---------

Co-authored-by: Nick Partridge <nick.ryan.partridge@gmail.com>
2025-02-20 18:19:46 +01:00
christineweng
e2730f70db
[Security Solution] Fix flyout history flickering (#211662)
## Summary

This PR fixed a flickering issue in flyout history

**Before**
`Event details` is shown and then replaced by actual alert title


https://github.com/user-attachments/assets/edb1e6eb-c290-4cdc-a5f9-3f270a26a58b

**After**
Show a loading skeleton text while fetching rule name


![image](https://github.com/user-attachments/assets/eb20892d-7bbc-4687-bf11-a9cbc65288d3)


### 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
- [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-02-20 18:05:54 +01:00
Bailey Cash
258eef7e37
[Synthetics] modify use overview status hook to mimic use_monitor_list (#210936)
Resolves #197066

## Summary

Two methods explored:
- adding loading boolean to conditions that would execute quietAction to
account for renders without completed data loads
- modifying hook to mimic use_monitor_list
[here](https://github.com/baileycash-elastic/kibana/blob/main/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/monitors_page/hooks/use_monitor_list.ts)

<img width="1722" alt="Screenshot 2025-02-12 at 4 27 38 PM"
src="https://github.com/user-attachments/assets/4ca9638b-6fa6-4a1d-8818-af3232f1fdf5"
/>

## Risks
Debounce was introduced for an api call which may impact UX and data
availability in limited cases.
2025-02-20 11:50:08 -05:00
Kevin Delemme
875a42cf99
feat(slo): cleanup temp summary documents task (#210264) 2025-02-20 11:35:24 -05:00
Chris Cowan
8c90076d80
[Streams 🌊] Enable /api/streams/{id}/_group endpoints for GroupStreams (#210114)
## Summary

This PR implements 2 endpoints as a follow up to
https://github.com/elastic/kibana/pull/208126 for working directly with
the `group` object for `GroupStreamDefinition`:

- `PUT /api/streams/{id}/_group`
- `GET /api/streams/{id}/_group`

---------

Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2025-02-20 09:03:06 -07:00
Kibana Machine
d3ef4c7fd2 skip failing test suite (#211894) 2025-02-21 02:09:23 +11:00
Alberto Blázquez
596ced5b7e
Integrate Asset Inventory with backend (#208417)
## Summary

Fetch and render backend data upon opening the Asset Inventory page.

### Depends on

- https://github.com/elastic/security-team/issues/11270
- https://github.com/elastic/kibana/issues/201709
- https://github.com/elastic/kibana/issues/201710
- https://github.com/elastic/security-team/issues/11687

### Screenshots

<details><summary>No applied filters</summary>
<img width="1452" alt="Screenshot 2025-02-18 at 08 40 51"
src="https://github.com/user-attachments/assets/e8970f92-701f-4bcf-9c43-8c1ce3155ba2"
/>
</details>

<details><summary>Filtering through search bar with KQL</summary>
<img width="1448" alt="Screenshot 2025-02-18 at 08 40 38"
src="https://github.com/user-attachments/assets/fdffe535-bb76-44da-be43-096e3007e680"
/>
</details>

<details><summary>Filtering through filter dropdowns</summary>
<img width="1451" alt="Screenshot 2025-02-18 at 08 41 03"
src="https://github.com/user-attachments/assets/ec68d9e8-5b4f-4c70-ba90-9fb7e4ddf18b"
/>
</details>

<details><summary>Filtering through both search bar and filter dropdowns
- no results found in this case</summary>
<img width="1447" alt="Screenshot 2025-02-18 at 08 40 28"
src="https://github.com/user-attachments/assets/2b2347e1-86fe-4d67-b859-0f84108c58bc"
/>
</details>

<details><summary>Default empty state (no rows fetched)</summary>
<img width="1452" alt="Screenshot 2025-02-18 at 09 39 49"
src="https://github.com/user-attachments/assets/79876021-c09b-42a0-a776-5e5fde688994"
/>
</details>

### Definition of done

- [x] Asset Inventory page fetches data prepared by the data-view that
comes pre-installed with the "Cloud Asset Inventory" integration
  - [x] Search bar
  - [x] Filters
  - [x] Data Grid
  - [x] Empty state when number of fetched rows is zero

### How to test

1. Prepare cloud user
- Go to [users
page](https://keep-long-live-env-ess.kb.us-west2.gcp.elastic-cloud.com/app/management/security/users)
on Elastic Cloud
    - Create a new user with a custom username and password
    - Copy the same roles from the user called `paulo_remote_dev`
2. Start local env running these commands
- Run ES with `node scripts/es snapshot --license trial -E
path.data=../default -E
reindex.remote.whitelist=cb8e85476870428d8c796950e38a2eda.us-west2.gcp.elastic-cloud.com:443
-E xpack.security.authc.api_key.enabled=true`
    - Run Kibana with `yarn start --no-base-path`
3. Go to Integrations page, switch on the "*Display beta integrations*"
control, then add the **Cloud Asset Inventory** integration on your
local environment. Postpone Elastic Agent addition.
4. Go to Dev Tools page, click on the "config" tab and add the following
environment variables:
Use the dev tools config tab to save your  as follows:
- `${ES_REMOTE_HOST}`:
[https://cb8e85476870428d8c796950e38a2eda.us-west2.gcp.elastic-cloud.com:443](https://cb8e85476870428d8c796950e38a2eda.us-west2.gcp.elastic-cloud.com/)
- `${ES_REMOTE_USER}`: (the username you set for your user on step 0)
    - `${ES_REMOTE_PASS}`: (the pass you set for your user on step 0)
5. Run the following script:

<details><summary>Script</summary>

```
POST _reindex?wait_for_completion=false
{
  "conflicts": "proceed", 
  "source": {
    "remote": {
      "host": "${ES_REMOTE_HOST}",
      "username": "${ES_REMOTE_USER}",
      "password": "${ES_REMOTE_PASS}"
    },
    "index": "logs-cloud_asset_inventory*",
    "query": {
      "bool": {
        "must": [
          {
            "range": {
              "@timestamp": {
                "gte": "now-1d"
              }
            }
          }
        ]
      }
    }
  },
  "dest": {
    "op_type": "create",
    "index": "logs-cloud_asset_inventory.asset_inventory-default"
  },
  "script": {
    "source": """
      ctx._source['entity.category'] = ctx._source.asset.category;
      ctx._source['entity.name'] = ctx._source.asset.name;
      ctx._source['entity.type'] = ctx._source.asset.type;
      ctx._source['entity.sub_type'] = ctx._source.asset.sub_type;
      ctx._source['entity.sub_category'] = ctx._source.asset.sub_category;
    """
  }
}
```

</details> 

Finally, open Discover page and set the DataView filter on the top-right
corner to `logs-cloud_asset_inventory.asset_inventory-*`, as in the
screenshot below. If the grid is populated, you've got data and the
whole setup worked!

<details><summary>Discover page</summary>

![discover-page](https://github.com/user-attachments/assets/5e719e64-0b99-4f0a-9687-1821d70fb84e)
</details> 

### Checklist

- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] 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.
- [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)

### Identify risks

No risks at all.
2025-02-20 15:55:07 +01:00
Kerry Gallagher
670da35d41
[Streams] Small type changes for advanced mapping parameters (#211817)
## Summary

Switches to the `recursiveRecord` schema so we don't get these in
console:

```
[2025-02-19T15:47:07.556+01:00][WARN ][plugins.streams] Warning for PUT /api/streams/{name}: schema ZodUnknown at body.stream.ingest.wired.fields is not inspectable and could lead to runtime exceptions, convert it to a supported schema
[2025-02-19T15:47:07.557+01:00][WARN ][plugins.streams] Warning for POST /api/streams/{name}/schema/fields_simulation: schema ZodUnknown at body.field_definitions is not inspectable and could lead to runtime exceptions, convert it to a supported schema
[2025-02-19T15:47:07.557+01:00][WARN ][plugins.streams] Warning for POST /api/streams/{name}/processing/_simulate: schema ZodUnknown at body.detected_fields is not inspectable and could lead to runtime exceptions, convert it to a supported schema
```

I had to move the schema definition / types into another file otherwise
a circular dependency was introduced with the `fields/index.ts` file,
causing a `Cannot read properties of undefined (reading '_parse')`
error.

As far as I can see the `recursiveRecord` schema should handle / cover
the ES `MappingProperty` type fine.
2025-02-20 13:21:58 +00:00
Mark Hopkin
4f0702b1b6
[Entity Analytics][Flaky Test] Allow task status to be running when risk engine is enabled (#211867)
## Summary

closes #196319 

I think I got the intention of the test wrong in
https://github.com/elastic/kibana/pull/196172.

Looking at the test we enable the risk engine and check everything is
happy. When the risk engine is enabled, the task should be healthy, so I
believe that `running` is a valid status here.

Latest flaky failure: 

```

└- ✖ fail: Entity Analytics - Risk Engine @ess @serverless @serverlessQA init_and_status_apis status api should disable / enable risk engine
--
  | │      Error: expected [ 'idle', 'claiming' ] to contain 'running'
  | │       at Assertion.assert (expect.js💯11)
  | │       at Assertion.contain (expect.js:447:10)
  | │       at expectTaskIsNotRunning (init_and_status_apis.ts:15:32)
  | │       at Context.<anonymous> (init_and_status_apis.ts:781:9)
  | │       at processTicksAndRejections (node:internal/process/task_queues:95:5)
  | │       at Object.apply (wrap_function.js:74:16)
```

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-02-20 13:09:09 +00:00
Nikita Indik
10bec7fd50
[Security Solution] Change rule upgrade docs link (#211870)
**Resolves: https://github.com/elastic/kibana/issues/208203**

## Summary

Updates rule upgrade doc links for ECH and Serverless.

<img
src="https://private-user-images.githubusercontent.com/40713348/406468281-d3f82a32-c1c5-47a1-aee2-6a7c1db683a3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDAwNDMwNzgsIm5iZiI6MTc0MDA0Mjc3OCwicGF0aCI6Ii80MDcxMzM0OC80MDY0NjgyODEtZDNmODJhMzItYzFjNS00N2ExLWFlZTItNmE3YzFkYjY4M2EzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjIwVDA5MTI1OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc2YzhmNGU2YTAyNDcwZDM2OWI0Mzc4N2U1ODYwNjRhMTZjZDdkZmMxMjZjZjQwZTRhOWQyN2U1ZTFjYTdhOTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.wj6-S4aNoOYkqdfF53TwikuNI14OwZlP8MOCTJsskXQ"
/>
2025-02-20 12:41:28 +01:00
Yuliia Naumenko
ab4f043ca6
[Fix] Inference preconfigured connector for EIS missing key (#210953)
Bug in configuration of the connector definition.
2025-02-20 13:12:55 +02:00
Julia Bardi
c658658df7
[Fleet] allow unknown type in epm package info schema (#211689)
## Summary

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

Allow any type in `PackageInfoSchema` and `KibanaAssetReferenceSchema`
to allow new type of epm packages without change in kibana.
Covered with unit test.


### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-02-20 11:27:02 +01:00
Nikita Indik
994201ce87
[Security Solution] Update prebuilt rule customization UI copy (#210817)
**Resolves: https://github.com/elastic/security-docs/issues/6238**
**Deployed here:
[link](https://nikitaindik-pr-210817-prebuilt-rule-customization-update-ui.kbndev.co/app/security/rules/updates?rulesTable=(field:name,order:asc,searchTerm:'Shared%20Object%20Created%20or%20Changed%20by%20Previously%20Unknown%20Process')&sourcerer=(default:(id:security-solution-default,selectedPatterns:!()))&timerange=(global:(linkTo:!(timeline),timerange:(from:'2025-02-11T23:00:00.000Z',fromStr:now/d,kind:absolute,to:'2025-02-12T22:59:59.999Z',toStr:now/d)),timeline:(linkTo:!(global),timerange:(from:'2025-02-11T23:00:00.000Z',fromStr:now/d,kind:absolute,to:'2025-02-12T22:59:59.999Z',toStr:now/d)))&timeline=(activeTab:query,graphEventId:'',isOpen:!f))**

> ⚠️ CI fails are caused by an issue unrelated to this PR

## Summary

Changes in this PR:
- UI copy is updated in accordance with
[recommendations](https://docs.google.com/document/d/1Yl6DyN9pertqgB-iIKIEN3xdvlDM50oscJ00G-WwtyA/edit?tab=t.0)
(internal link) from Security Documentation team
- Text color for "No update" fields in upgrade flyout changed from green
to default.
- Fixed a minor bug with placeholder not displaying for "Setup guide"
and "Investigation guide" fields on Rule Creation/Editing page


<details>
<summary><strong>A few screenshots taken in Serverless</strong> (click
to expand)</summary>

<img width="523" alt="serverless_rep_tooltip"
src="https://github.com/user-attachments/assets/825e1514-a191-45c2-90ca-0f15a8c9da7b"
/>
  
<img width="836" alt="serverless_bulk_action_error"
src="https://github.com/user-attachments/assets/8aa38c77-5aaa-49cf-9b4e-8c992382a1d2"
/>
  
<img width="1102" alt="serverless_upgrade_callout"
src="https://github.com/user-attachments/assets/cf947c73-d52d-4c85-abd6-369f616b8421"
/>
  
<img width="1004" alt="no_update_white"
src="https://github.com/user-attachments/assets/f720f24c-0c97-432f-b2d5-7ff7e5919ba0"
/>



</details>

## Testing
You can use [this
deployment](https://nikitaindik-pr-210817-prebuilt-rule-customization-update-ui.kbndev.co)
(default credentials) test to changes on ESS Enterprise license.
Here's a couple rules that has field updates of different kinds:
 - Unusual User Privilege Enumeration via id
 - Shared Object Created or Changed by Previously Unknown Process

To test on Serverless or with other licenses, you'll need to run it
locally. Reach out to me if you need help with this.

Work started: 11-Feb-2025
2025-02-20 11:17:57 +01:00
Joe Reuter
1f35d7ac7f
🌊 LLM-powered parsing suggestions (#208777)
Depends on https://github.com/elastic/kibana/pull/209985

Add suggestions for grok processing:

<img width="594" alt="Screenshot 2025-02-05 at 10 31 27"
src="https://github.com/user-attachments/assets/4b717681-aa7d-4952-a4e0-9013d9b8aaf8"
/>

The logic for generating suggestions works like this:
* Take the current sample
* Split it into patterns based on a simple regex-based grouping
replacing runs of numbers with a placeholder, runs of regular numbers
with a placeholder, etc.
* For the top 5 found groups, pass a couple messages to the LLM in
parallel to come up with a grok pattern
* Check the grok patterns whether they actually match something and
don't break
* Report the patterns that have a positive match rate

For the `Generate patterns` button to show in the UI, make sure a
connector is configured and the license level is above basic (trial
license is easiest to test with).

I did some light refactoring on the processing routes, moving the
simulation bits into a separate file - no changes in this area though.

---------

Co-authored-by: Marco Antonio Ghiani <marcoantonio.ghiani01@gmail.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
2025-02-20 08:44:12 +01:00
Stratoula Kalafateli
f9193b5540
[ES|QL] Cleanup builtin and rename to operator (#211736)
## Summary

Cleanups the operators
2025-02-20 08:16:02 +01:00
Julia Bardi
ba2caf92c6
[Fleet] allow alpha, beta, rc suffixes in agent versions (#211787)
## Summary

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

Add agent flyout should show `9.0.0-beta1` now:
<img width="2540" alt="image"
src="https://github.com/user-attachments/assets/86259eea-5858-4d06-8989-8fadb3a57f96"
/>

When `9.0.0` comes out, that should show up as latest. For example,
`8.0.0` versions come back in this order:
<img width="462" alt="image"
src="https://github.com/user-attachments/assets/c5204806-3cf7-4c65-bb60-21d176f24f17"
/>



### 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
2025-02-19 21:37:28 +01:00
christineweng
afa67a9911
[Security Solution] Enable visualization in flyout advanced setting (#211319)
## Summary

Enable advanced setting by default

 ESS

![image](https://github.com/user-attachments/assets/1373da36-bb82-4f03-b76f-4030fc918a90)

 Serverless


![image](https://github.com/user-attachments/assets/7dc517b4-fd12-45f4-bf61-f43c379039cb)
2025-02-19 20:43:06 +01:00
christineweng
e3f166b70c
[Security Solution] Enable new flyout navigation flag (#211330)
## Summary

Changed `newExpandableFlyoutNavigationEnabled` to
`newExpandableFlyoutNavigationDisabled`. The flyout history and preview
navigation are now enabled by default.

Default (`newExpandableFlyoutNavigationDisabled` off)
- History icon show up in flyout
- Links in preview will open a new flyout



https://github.com/user-attachments/assets/10f558fa-3c4c-4718-9f7e-cce6a19ead8b



`newExpandableFlyoutNavigationDisabled` on
- No history shown
- Title links in preview disabled



https://github.com/user-attachments/assets/fcd6ab33-5c88-4c5b-b0c5-02cbcf14c40d




### 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
- [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>
2025-02-19 20:36:12 +01:00
Elena Stoeva
bc3fae5356
[Advanced Settings] Hide settings that are not applicable to current solution (#209136)
Closes https://github.com/elastic/kibana/issues/196659

## Summary

This PR adds a new setting schema field `solution` which is used in the
Advanced settings UI to decide whether to display the setting, depending
on the solution of the current space. If the `solution` is not set in
the setting definition, the setting will be displayed in all solutions.
Otherwise, the setting will only be displayed in the set solution.

The current agreement is that we want to display all settings in the
"Observability" settings category in the Oblt solution only and all
settings in the "Security Solution" settings category in the Security
solution only. Therefore, in this PR we set the `solution` field
accordingly in the corresponding setting definitions. Note: We decided
to add a new setting definition field `solution` rather than filtering
by the already existing `category` field so that this approach works in
the future if we want to hide other single settings outside of these two
categories.

**How to test:**
Verify that in the classic solution, you can see all settings, and that
the solution-related settings mentioned above are only displayed in the
corresponding solution.



https://github.com/user-attachments/assets/398ef3e6-973a-4283-ae20-229bf6139d60

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-02-19 20:20:06 +01:00
Nicolas Chaulet
ac63ee90b1
[Fleet] Fix wrong condition in status runtime (#211779) 2025-02-19 13:31:09 -05:00
Nicolas Chaulet
0ae316f39c
[Fleet] Use a scopped SO client in agent policies handler to avoid spaces divulgation (#211506) 2025-02-19 12:24:37 -05:00
Shahzad
5908bf4195
[Synthetics] Fix broken colors for status panels !! (#211422)
## Summary

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

Fix broken colors for status panels, i have also fixed broken metric viz
which had some styling issues with new theme by setting minimum width.

### After
<img width="1724" alt="image"
src="https://github.com/user-attachments/assets/aea9c9a1-0be1-4b82-82e8-721d61a0fd05"
/>
2025-02-19 18:15:28 +01:00
Saikat Sarkar
6945828b57
[Onboarding] Change logo for Elasticsearch (#210920)
This PR is related to changing the 'EnterpriseSearch' logo to
'Elasticsearch' logo in different places in the code-base.

<img width="643" alt="Screenshot 2025-02-12 at 4 03 35 PM"
src="https://github.com/user-attachments/assets/623abb76-07c8-4697-9cfe-d2fcba9f8297"
/>
<img width="669" alt="Screenshot 2025-02-12 at 4 03 42 PM"
src="https://github.com/user-attachments/assets/fe2d6ba8-656e-4172-881e-a4fe3c5f0aeb"
/>
<img width="972" alt="Screenshot 2025-02-12 at 4 03 53 PM"
src="https://github.com/user-attachments/assets/151cdb47-e9e8-49ad-ac70-11513789b009"
/>

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-02-19 09:43:03 -07:00
Alex Prozorov
b8176ea52f
unskip cis_gcp test (#211629)
## Summary

Unskip test https://github.com/elastic/kibana/issues/191027


### Checklist
- [x] [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-02-19 17:52:10 +02:00
Jacek Kolezynski
8159319d75
[Security Solution] Fix editing in KQL Query Bar (#208212)
**Partially resolves: #203523**

## Summary

Fixing the issue of KQL query bar edit component not showing properly
long multiline KQL queries.

The query now isn't fully visible, and it's not possible to navigate
with Up/Down keyboard keys. It's also not possible to scroll down, as
the component doesn't allow to insert new line symbols.

I am fixing the behavior by:
- setting the `bubbleSubmitEvent={true}` so that the key press can
propagate to higher components and be served properly. This fixes the
problem of not allowing to enter new lines.
- I am not touching the broken behavior of Up/Down arrow keys, which
intercepts the event and instead of moving the cursor, iterates items in
the Suggestions panel, which is counterintuitive. Separate issue will be
created for the Kibana Visualization team.
- I am modifying one css style in Kibana Visualization to set height to
and adding a class to set proper alignment of buttons.

# BEFORE
- Not possible to insert new lines. 
- Arrow DOWN takes focus to Suggestions Panel, then together with Arrow
UP it is used to iterate the suggestions
- When textarea grows it gets hidden below the parent's panel


https://github.com/user-attachments/assets/d97b81e3-7409-4089-865d-89ee702744f9

# AFTER 
- Possible to insert new lines
- Behavior of DOWN / UP Arrows stays the same 
- When textarea grows the whole panel resizes



https://github.com/user-attachments/assets/3a59923b-0fb1-49e7-b11d-55474f465ca2


https://github.com/user-attachments/assets/48efd325-1c66-43ca-9936-69ef37b4ee7a
2025-02-19 16:43:10 +01:00
Chris Cowan
a28e40069f
[Streams 🌊] Ensure the members array is unique for GroupStreamDefinitions (#210089)
## Summary

This PR ensures that the `definition.group.members` is a unique array of
strings. I introduced a new private function to the StreamsClient called
`parseDefinition` that will parse the definition being upserted with the
runtime schemas to ensure they are properly formatted. This is also a
good extension point for doing any transformations we need.
2025-02-19 08:37:56 -07:00
Marco Antonio Ghiani
95f4cbba80
[Streams 🌊] Revert route change that breaks navigation on refresh (#211741)
## 📓 Summary

Revert a route config change introduced in [[Streams 🌊] Enrichment
simulation behaviour
improvements](https://github.com/elastic/kibana/pull/209985) that bring
always to the overview page on refresh.
2025-02-19 14:54:10 +00:00
Bailey Cash
56c57c75b9
[Alerting] update colors for alert summary chart to euitheme (#211097)
## Summary

Resolves [#211010](https://github.com/elastic/kibana/issues/211010)
Old
<img width="2560" alt="Screenshot 2025-02-13 at 3 26 58 PM"
src="https://github.com/user-attachments/assets/3d44611a-331f-49a1-bf29-2a2975dd036f"
/>

New
<img width="2547" alt="Screenshot 2025-02-13 at 3 28 38 PM"
src="https://github.com/user-attachments/assets/1f9d317c-a3e3-44e6-bde3-3b6981ef1df5"
/>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-02-19 09:53:36 -05:00
Marius Iversen
b85919e6c2
[Genai Connectors] Add missing telemetryMetadata field definition (#211733)
As part of https://github.com/elastic/kibana/pull/208180 the
telemetryMetadata optional field was added to the schema for the AI
connectors, however it seems that one was missing, this PR simply adds
it in.

Similarly to the above PR, the feature cannot be used in the same week
as when it was added, to allow a grace period for serverless. The PR
simply adds the schema update itself.
2025-02-19 14:42:07 +01:00
Mykola Harmash
a015f7436a
[Obs Onboarding] Migrate API test to deployment agnostic framework (#211548)
Closes [206953](https://github.com/elastic/kibana/issues/206953)

This change migrates mosts of the Obs Onboarding API tests to the
deployment agnostic framework. A few tests has to be still left in the
deployment-specific setup because they require a custom roles which are
[not
supported](https://github.com/elastic/kibana/blob/main/packages/kbn-ftr-common-functional-services/services/saml_auth/serverless/auth_provider.ts#L28)
in the deployment agnostic setup for serverless-oblt.
2025-02-19 14:03:57 +01:00
Ash
98b565dd01
[SecuritySolution][Endpoint] Re enable scan response action e2e test (#210845)
## Summary

Re enables skipped test (which was flaky due to Vagrant not available on
CI).
closes https://github.com/elastic/kibana/issues/187932

### Flaky runner
-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7867
x 50 (1 fail)
-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7904
x 50 (all pass)

### 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/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
- [ ] 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)

### Identify risks

Does this PR introduce any risks? For example, consider risks like hard
to test bugs, performance regression, potential of data loss.

Describe the risk, its severity, and mitigation for each identified
risk. Invite stakeholders and evaluate how to proceed before merging.

- [ ] [See some risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
- [ ] ...
2025-02-19 13:52:30 +01:00
Georgiana-Andreea Onoleață
4d5801b8a2
[ResponseOps][SCREEN READER]Headings must be nested properly for SR usability (#209530)
Closes https://github.com/elastic/kibana/issues/195005
Closes https://github.com/elastic/kibana/issues/195004

## Summary

- issue 195005: 
    - tabs are now p instead of h2
<img width="1512" alt="Screenshot 2025-02-18 at 10 32 58"
src="https://github.com/user-attachments/assets/ae7eedc5-e18d-4eeb-9fe8-46469e45ba3e"
/>



- issue 195004: 
    - the headers in the Cases -> Settings page are now h2
<img width="2267" alt="Screenshot 2025-02-18 at 10 36 34"
src="https://github.com/user-attachments/assets/85d5276c-ed88-4ae0-8832-c0886577ed1a"
/>
2025-02-19 14:17:04 +02:00
Joe Reuter
cb9c5f21b2
Move storage adapter and traced ES client into dedicated package (#211578)
The storage adapter helper is a very generic package. This PR moves it
out of the observability server utils into a dedicated package to better
reflect this and to be able to use it from non-observability contexts.

The same applies to the observability es client. This PR moves it as
well and renames it to `TracedEsClient` in the same way.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-02-19 13:12:30 +01:00
Georgiana-Andreea Onoleață
fe49524863
[ResponseOps][Cases]Breadcrumb links should be aligned with information architecture: 0001 (#209520)
Closes https://github.com/elastic/kibana/issues/195036

## Summary

- removed 'Back to cases' link, not needed with the breadcrumb 


https://github.com/user-attachments/assets/ffef4163-1ebc-4962-be95-8cff156da316

- instead of clicking on the "Back to cases" button, we should click on
the middle breadcrumb called "Cases" to go back to all cases page
2025-02-19 13:09:22 +02:00
Marco Antonio Ghiani
c3fdb39dfb
[Streams 🌊] Enrichment simulation behaviour improvements (#209985)
## 📓 Summary

Part of https://github.com/elastic/streams-program/issues/127
Closes https://github.com/elastic/streams-program/issues/114

This update overhauls the internal logic of our processing simulation
endpoint. It now runs parallel simulations (pipeline and, conditionally,
ingest) to extract detailed document reports and processor metrics,
while also handling a host of edge cases.

The key improvements include:

- **Parallel Simulation Execution**  
Executes both pipeline and ingest simulations concurrently. The pipeline
simulation always runs to extract per-document reports and metrics. The
ingest simulation runs conditionally when detected fields are provided,
enabling fast failures on mapping mismatches.

- **Document Reporting & Metrics**  
Extracts granular differences between source and simulated documents.
Reports include:
- Field-level diffs indicating which processor added or updated fields.
- Detailed error messages (e.g., generic processor failure, generic
simulation failure, non-additive processor failure).
- Calculation of overall success and failure rates, as well as
per-processor metrics.

- **Sequential Processors & Field Overriding**  
Supports multiple sequential processors. In cases where later processors
override fields produced by earlier ones, the logic bypasses
non-additive checks to accept the new value.

- **Robust Handling of Partial & Failed Simulations**  
  Simulations now correctly mark documents as:
  - **Parsed** when all processors succeed.
  - **Partially parsed** when some processors fail.
- **Failed** when none of the processors processing the document
succeed.

- **Mapping Validation & Non-Additive Detection**  
The simulation verifies that the detected field mappings are compatible.
If a processor introduces non-additive changes—updating an existing
field rather than appending—the simulation flags the error and sets a
dedicated `is_non_additive_simulation` flag. Additionally, a failed
ingest simulation (e.g., due to incompatible mapping types) results in
an immediate failure.

The final returned API response adheres to the following TypeScript
type:

```typescript
interface SimulationResponse {
  detected_fields: DetectedField[];
  documents: SimulationDocReport[];
  processors_metrics: Record<string, ProcessorMetrics>;
  failure_rate: number;
  success_rate: number;
  is_non_additive_simulation: boolean;
}
```

## Updated tests
```
Processing Simulation
├── Successful simulations
│   ├── should simulate additive processing
│   ├── should simulate with detected fields
│   ├── should simulate multiple sequential processors
│   ├── should simulate partially parsed documents
│   ├── should return processor metrics
│   ├── should return accurate success/failure rates
│   ├── should allow overriding fields detected by previous simulation processors (skip non-additive check)
│   ├── should gracefully return the errors for each partially parsed or failed document
│   ├── should gracefully return failed simulation errors
│   ├── should gracefully return non-additive simulation errors
│   └── should return the is_non_additive_simulation simulation flag
└── Failed simulations
    └── should fail with incompatible detected field mappings
```

## 🚨 API Failure Conditions & Handler Corner Cases

The simulation API handles and reports the following corner cases:

- **Pipeline Simulation Failures** _(Gracefully reported)_
- Syntax errors in processor configurations (e.g., malformed grok
patterns) trigger a pipeline-level failure with detailed error
information (processor ID, error type, and message).

- **Non-Additive Processor Behavior**  _(Gracefully reported)_
- If a processor modifies fields already present in the source document
rather than strictly appending new fields, the simulation flags this as
a non-additive change.
- The error is recorded both at the document level (resulting in a
"partially_parsed" or "failed" status) and within per-processor metrics,
with the global flag `is_non_additive_simulation` set to true.
  
- **Partial Document Processing**  _(Gracefully reported)_
- In scenarios with sequential processors where the first processor
succeeds (e.g., a dissect processor) and the subsequent grok processor
fails, documents are marked as "partially_parsed."
- These cases are reflected in the overall success/failure rates and
detailed per-document error lists.

- **Field Overriding**  
- When a later processor intentionally overrides fields (for instance,
reassigning a previously calculated field), the simulation bypasses the
non-additive check, and detected fields are aggregated accordingly,
noting both the original and overridden values.

- **Mapping Inconsistencies**  _(API failure bad request)_
- When the ingest simulation detects incompatibility between the
provided detected field mappings (such as defining a field as a boolean
when it should be a date) and the source document, it immediately fails.
- The failure response includes an error message explaining the
incompatibility.

## 🔜 Follow-up Work

- **Integrate Schema Editor**  
Given the improved support for detected fields, a follow up PR will
introduced the Schema Editor and will allow mapping along the data
enrichment.
- **Granular filtering and report**
Having access to more granular details such as status, errors and
detected fields for each documents, we could enhance the table with
additional information and better filters. cc @LucaWintergerst @patpscal

## 🎥 Demo recordings


https://github.com/user-attachments/assets/29f804eb-6dd4-4452-a798-9d48786cbb7f

---------

Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-02-19 11:25:41 +01:00
Gerard Soldevila
69a87194d1
SKA: Fix kebab-case issues in security-threat-hunting packages (#211349)
## 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).

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

| Id | Target folder |
| -- | ------------- |
| `@kbn/securitysolution-data-table` |
`x-pack/solutions/security/packages/data-table` |
| `@kbn/ecs-data-quality-dashboard` |
`x-pack/solutions/security/packages/ecs-data-quality-dashboard` |
| `@kbn/security-solution-side-nav` |
`x-pack/solutions/security/packages/side-nav` |


<details >
<summary>Updated references</summary>

```
./.i18nrc.json
./package.json
./packages/kbn-ts-projects/config-paths.json
./src/platform/packages/private/kbn-repo-packages/package-map.json
./tsconfig.base.json
./tsconfig.base.type_check.json
./tsconfig.refs.json
./x-pack/solutions/security/packages/data-table/jest.config.js
./x-pack/solutions/security/packages/ecs-data-quality-dashboard/jest.config.js
./x-pack/solutions/security/packages/side-nav/jest.config.js
./yarn.lock
.github/CODEOWNERS
```

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

```
x-pack/solutions/security/packages/data-table/jest.config.js:11
x-pack/solutions/security/packages/data-table/tsconfig.json:2
x-pack/solutions/security/packages/ecs-data-quality-dashboard/jest.config.js:24
x-pack/solutions/security/packages/ecs-data-quality-dashboard/tsconfig.json:10
x-pack/solutions/security/packages/ecs-data-quality-dashboard/tsconfig.json:2
x-pack/solutions/security/packages/side-nav/jest.config.js:10
x-pack/solutions/security/packages/side-nav/tsconfig.json:2
```

</details>

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-02-19 11:21:45 +01:00
Meghan Murphy
70471c910f
[Search Connectors] Remove menu next to 'New Connector' (#211600)
## Summary

With the removal of agentless connectors, 9.0 won't have Elastic-managed
connectors, so there's no need for a menu drop down.

### Closes https://github.com/elastic/search-team/issues/9315

### 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/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
- [ ] 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)

### Identify risks

Does this PR introduce any risks? For example, consider risks like hard
to test bugs, performance regression, potential of data loss.

Describe the risk, its severity, and mitigation for each identified
risk. Invite stakeholders and evaluate how to proceed before merging.

- [ ] [See some risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
- [ ] ...

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-02-19 10:53:05 +01:00
Robert Jaszczurek
58cea843e9
[ML] Trained Models: Cannot deploy a model after a failed deployment (#211459)
After the recent changes in
https://github.com/elastic/kibana/pull/205699
If a deployment fails, the error will be handled correctly at a single
deployment level, however, the pipeline would break, thus further
deployments wouldn't be proceeded.
2025-02-19 10:45:54 +01:00
Miriam
5b96461ee7
[ObsUX][Profiling] Remove float numbers on samples (#211489)
Closes https://github.com/elastic/kibana/issues/181295

#### Summary

There should be no decimal / fraction in the number of samples (those
are integer values).

#### What was done

When the scale factor was a number with decimals, was changing the value
of the samples to a float number
Also, the background color for the `Normalized By` dropdown was fixed in
dark mode

Before

<img width="1335" alt="image"
src="https://github.com/user-attachments/assets/93b6c301-5b7f-41b6-857b-3551cf88b095"
/>

After

<img width="1335" alt="image"
src="https://github.com/user-attachments/assets/ebbe78ed-d8cb-4308-acf4-0d15221f986b"
/>
2025-02-19 08:39:03 +00:00
Julia
ae9971b8b2
[ResponseOps] Add Copy Id button for MW (#209135)
Resolve: https://github.com/elastic/kibana/issues/203569

Solution looks like:

https://github.com/user-attachments/assets/424c6518-289b-4119-b909-4e589a618069

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-02-19 09:07:38 +01:00
Davis McPhee
767451dd0b
[Discover] Fix failing tests due to log level badge colour changes in Borealis (#211329)
## Summary

This PR fixes functional tests that started failing due to changes to
log level badge colours in Borealis. I'm not sure why these started
failing or how the PR where it started passed CI, but based on the
timeline and test file changes, it looks like it's related to #210468.

cc @tkajtoch Maybe you have some idea what's going on here?

Resolves #211174.
Resolves #211215.

### 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
- [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.
- [x] [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)

Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2025-02-18 23:03:04 -04:00