Commit graph

84671 commits

Author SHA1 Message Date
Shahzad
82a6be9016
[SLOs] Fix path for slo e2e test scope !! (#214137)
## Summary

Since observability plugins have been moved, needed to fix the path to
scope tests !!
2025-03-12 16:52:42 +01:00
jennypavlova
ded1b15b87
[APM][OTel] Add EDOT support in the Synthtrace OTel client (#214141)
Closes #212564 

## Summary

This PR adds EDOT data and scenarios to the OTel synthtrace client. The
previous OTel class now lives in `otel_native` folder and the EDOT one
in `otel_edot`. It updates the otel native service name and the old
tests and adds a simple test for EDOT.
⚠️ Currently the edot service doesn't have an error document (on the
[otel demo env](https://otel.demo.elastic.co) I couldn't find any) so
there won't be any errors for the `adservice-edot-synth` - same as in
[the
demo](https://otel.demo.elastic.co/app/apm/services/adservice/errors?comparisonEnabled=true&environment=ENVIRONMENT_ALL&kuery=&latencyAggregationType=avg&offset=1d&rangeFrom=2025-03-12T12:49:15.506Z&rangeTo=2025-03-12T13:04:19.779Z&serviceGroup=&transactionType=request)

## Testing
Run: 
- ```node scripts/synthtrace otel_edot_simple_trace.ts ```
- and ```node scripts/synthtrace otel_simple_trace.ts```

Go to APM service inventory
- Both services should be visible
  

![image](https://github.com/user-attachments/assets/b698cc14-d40a-4925-861f-4da0d9707f48)

- Service overview and other tabs should be visible 
  - Otel native case: 
  

![image](https://github.com/user-attachments/assets/4c423ff0-2dee-4eb4-b69b-057bad3a4747)

![image](https://github.com/user-attachments/assets/407907bd-212e-486e-bc2a-0e2370f21be5)

  - EDOT case
 

![image](https://github.com/user-attachments/assets/3766e1e2-a8d7-45d4-887d-b67533a1b3eb)

![image](https://github.com/user-attachments/assets/aff544fa-72b5-4826-963f-2b4c44d517bb)
2025-03-12 16:50:51 +01:00
Gergő Ábrahám
ad3b7fce11
[EDR Workflows] Update description on data reduction advanced options (#213970)
## Summary

- refines description for
- 9 `(win|mac|linux).advanced.events.hash.(md5|sha1|sha256)`:
9e7bbcf767
> Compute and include (MD5|SHA-1|SHA-256) hashes for processes and
libraries in events? This will increase CPU usage and event sizes. If
any user event filter or trustlists reference this hash type, Endpoint
will ignore this setting and automatically enable this hash type.
- 6 `(win|mac|linux).advanced.alerts.hash.(md5|sha1)`:
8fc0f51ab4
> Compute and include (MD5|SHA-1) hashes for processes and libraries in
alerts? This will increase CPU usage and alert sizes. If any user
exceptionlist, trustlist, or blocklists reference this hash type,
Endpoint will ignore this setting and automatically enable this hash
type.
- provides a 'history' for default behavior changes (e.g. `<=8.17
default: true, >=8.18 default: false`) for
- 12 `(win|mac|linux).advanced.(events|alerts).hash.(md5|sha1)`:
05b0ebe8ea
  (note that events sha256 is not changed)
    >  <=8.17 default: true, >=8.18 default: false
- 3 `(win|mac|linux).advanced.events.aggregate_process`:
5984d8e90a
    > <=8.17 default: false, >=8.18 default: true
- 3 `(win|mac|linux).advanced.events.set_extended_host_information`:
5da25a3592
    >  <=8.17 default: true, >=8.18 default: false

> [!IMPORTANT]
> The plan is to backport this PR to all open branches:
> - `8.18`/`8.x`/`9.0`/`main` will contain all modifications,
> - but `8.16`/`8.17` manual backports will only contain the description
refinement

### 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)
2025-03-12 16:42:27 +01:00
Bailey Cash
256817b281
chore/slo: add cursor based pagination fields to slo schema, show slo definition api (#213835)
## Summary

Resolves #213238 

- Adds SLO definition API doc
- Adds fields for cursor based pagination to Find SLO docs


[bundled.json](https://github.com/user-attachments/files/19186322/bundled.json)

---------

Co-authored-by: Kevin Delemme <kdelemme@gmail.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-03-12 11:18:23 -04:00
Davis Plumlee
0485578022
[Security Solution] Adds check for license level for rule editing callout message (#213995)
## Summary

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

Adds gating logic to only display the rule upgrade related warning
callout on the rule editing page if the user has the appropriate license
level, otherwise the message is irrelevant as the user wouldn't be able
to edit a prebuilt rule in the way the message refers to

### Testing

**Steps to reproduce:**

1. Use a Platinum license or any tier that does not allow prebuilt rule
updates.
2. Navigate to the Rule Management page and select a prebuilt rule with
an available update.
3. Open Rule Details page -> Edit rule settings
4. Observe the callout message is not displayed at the top of the page

NOTE: When using the enterprise license, the callout should still be
displayed
2025-03-12 16:03:38 +01:00
Sergi Massaneda
065790e20a
[Security Solution] Siem migrations copy changes in the upload flyout (#213975)
## Summary

## Summary

2/3 of https://github.com/elastic/security-team/issues/11696

**Done**
- UI changes in the onboarding cards
- UI changes in the upload form

**Pending**
- UI changes in the translated rules page

### Screenshots


![rules](https://github.com/user-attachments/assets/d6db959c-914c-461f-a590-f5d26cf9e0f2)


![macros](https://github.com/user-attachments/assets/5d7b0682-60eb-413e-a902-ab77f86dfea4)


![lookups](https://github.com/user-attachments/assets/95958728-e969-422e-9403-43da5355a1d6)

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-03-12 15:58:33 +01:00
Vadim Kibana
dd9b5bb1b7
[ES|QL] Adds parsing support for CHANGE_POINT command (#213982)
## Summary

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

- Implements parser support for `CHANGE_POINT` command.
- Introduces `ESQLAstChangePointCommand` interface for `CHANGE_POINT`
commands AST nodes.
- Parses command arguments into `args` array as well as more structural
fields `value`, `key?`, `target?`.

### 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-03-12 15:43:09 +01:00
Thomas Neirynck
bac2f0c6bd
[Chore] Remove unused module (#214018)
## Summary

Remove unused module.

I noticed this doing some investigations, and thought to tidy this up.

### 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]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [x] This 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
- [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-03-12 10:25:36 -04:00
Riccardo Magliocchetti
70b49b2084
Add working default metrics dashboard for Python OTel (#213599)
## Summary

Create a custom metrics dashboard for OpenTelemetry Python since the
current one displays two empty charts by default. I've tested this with
some data ingested from the otel native path.

This is how it is rendered:
 
![Schermata del 2025-03-10
14-26-21](https://github.com/user-attachments/assets/766eef8a-def8-45f8-8df1-d601b235fd47)

While working on this I noticed something strange, sometimes the first
element of the triplet that is the data format is `otel_native` and
sometime it is `classic_apm` and in practice an entry with `otel_native`
is required to be present in `
existingDashboardFileNames` but the entry with `classic_apm` is used in
`loadDashboardFile`.

Added some console.log to the function:

![Schermata del 2025-03-10
14-26-57](https://github.com/user-attachments/assets/1236495e-9f56-4a90-b095-f92171cd351c)

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

I don't think this introduces any risk since there are no functioning dashboard at the moment.
2025-03-12 15:03:17 +01:00
Jatin Kathuria
bbc91a2691
[Siem Migrations] Add Translated Rules Empty Page (#213438)
## Summary

This PR adds empty state for Translated Rules Page.



https://github.com/user-attachments/assets/b8222151-526c-435e-b9bb-403e1097c056





### 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] [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-03-12 14:59:12 +01:00
Jason Rhodes
2cc629b4fc
Adding changes to the overrides section of CODEOWNERS (#213563)
Replaces #213441 

## Summary

@smith and I have agreed that it makes sense for the infra services team
to own the observability overview page within the obs plugin.

First PR didn't add the changes to the correct "overrides" section of
the CODEOWNERS file.

Co-authored-by: Maryam Saeidi <maryam.saeidi@elastic.co>
2025-03-12 14:58:38 +01:00
Steph Milovic
ddacda5a4c
[Security solution] Fix assistant apiConfig set by Security getting started page (#213964) 2025-03-12 07:57:02 -06:00
Sid
f918fd59af
Update platform security modules (main) (#213903)
Copied from the Renovate PR

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[@types/lodash](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lodash)
([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash))
| devDependencies | patch | [`^4.17.14` ->
`^4.17.16`](https://renovatebot.com/diffs/npm/@types%2flodash/4.17.14/4.17.16)
|
|
[dependency-cruiser](https://redirect.github.com/sverweij/dependency-cruiser)
| devDependencies | minor | [`^16.8.0` ->
`^16.10.0`](https://renovatebot.com/diffs/npm/dependency-cruiser/16.9.0/16.10.0)
|
|
[require-in-the-middle](https://redirect.github.com/nodejs/require-in-the-middle)
| dependencies | minor | [`^7.4.0` ->
`^7.5.2`](https://renovatebot.com/diffs/npm/require-in-the-middle/7.4.0/7.5.2)
|
| [tough-cookie](https://redirect.github.com/salesforce/tough-cookie) |
devDependencies | minor | [`^5.0.0` ->
`^5.1.2`](https://renovatebot.com/diffs/npm/tough-cookie/5.0.0/5.1.2) |
| [uuid](https://redirect.github.com/uuidjs/uuid) | dependencies | major
| [`10.0.0` ->
`11.1.0`](https://renovatebot.com/diffs/npm/uuid/10.0.0/11.1.0) |

---

### Release Notes

<details>
<summary>sverweij/dependency-cruiser (dependency-cruiser)</summary>

###
[`v16.10.0`](https://redirect.github.com/sverweij/dependency-cruiser/releases/tag/v16.10.0)

[Compare
Source](https://redirect.github.com/sverweij/dependency-cruiser/compare/v16.9.0...v16.10.0)

####  features

-
[`3b06cbb`](3b06cbbb)
feat(extract): improves detection of protocol-only built-ins (node &
bun)
([#&#8203;983](https://redirect.github.com/sverweij/dependency-cruiser/issues/983))
-
[`0ebae97`](0ebae974)
feat(cli): adds init option for bun
([#&#8203;984](https://redirect.github.com/sverweij/dependency-cruiser/issues/984))

#### 👷 maintenance

##### ♻️ life cycle management

-
[`4f25389`](4f253893)
build(npm): updates external dependencies

##### 🧹  chores

-
[`eea753a`](eea753a3)
chore(stale bot): bumps stale period to better align with maintainer
availability
-
[`ff8aa28`](ff8aa287)
chore(progress): updates copy
-
[`f82135e`](f82135ea)
refactor(schema|report): fixes small lint issues

</details>

<details>
<summary>nodejs/require-in-the-middle (require-in-the-middle)</summary>

###
[`v7.5.2`](https://redirect.github.com/nodejs/require-in-the-middle/blob/HEAD/CHANGELOG.md#752-2025-02-21)

[Compare
Source](https://redirect.github.com/nodejs/require-in-the-middle/compare/require-in-the-middle-v7.5.1...require-in-the-middle-v7.5.2)

##### Bug Fixes

- Remove side effect to fix pnpm + vite issue
([#&#8203;111](https://redirect.github.com/nodejs/require-in-the-middle/issues/111))
([8039296](80392968f5))

###
[`v7.5.1`](https://redirect.github.com/nodejs/require-in-the-middle/blob/HEAD/CHANGELOG.md#751-2025-02-06)

[Compare
Source](https://redirect.github.com/nodejs/require-in-the-middle/compare/v7.5.0...require-in-the-middle-v7.5.1)

##### Bug Fixes

- Runtime exception in Node SEA mode
([#&#8203;106](https://redirect.github.com/nodejs/require-in-the-middle/issues/106))
([d99df4b](d99df4b20a))

###
[`v7.5.0`](https://redirect.github.com/nodejs/require-in-the-middle/blob/HEAD/CHANGELOG.md#v750)

[Compare
Source](https://redirect.github.com/nodejs/require-in-the-middle/compare/v7.4.0...v7.5.0)

- Use Node.js core `require.resolve()`, rather than
`require('resolve').sync()`, when available.
This can be a performance
improvemen[https://github.com/nodejs/require-in-the-middle/pull/96](https://redirect.github.com/nodejs/require-in-the-middle/pull/96)/pull/96)

</details>

<details>
<summary>salesforce/tough-cookie (tough-cookie)</summary>

###
[`v5.1.2`](https://redirect.github.com/salesforce/tough-cookie/releases/tag/v5.1.2)

[Compare
Source](https://redirect.github.com/salesforce/tough-cookie/compare/v5.1.1...v5.1.2)

#### What's Changed

- Fix regression bug in `domainMatch` by
[@&#8203;colincasey](https://redirect.github.com/colincasey) in
[https://github.com/salesforce/tough-cookie/pull/500](https://redirect.github.com/salesforce/tough-cookie/pull/500)
- Prepare v5.1.2 by
[@&#8203;colincasey](https://redirect.github.com/colincasey) in
[https://github.com/salesforce/tough-cookie/pull/501](https://redirect.github.com/salesforce/tough-cookie/pull/501)

**Full Changelog**:
https://github.com/salesforce/tough-cookie/compare/v5.1.1...v5.1.2

###
[`v5.1.1`](https://redirect.github.com/salesforce/tough-cookie/releases/tag/v5.1.1)

[Compare
Source](https://redirect.github.com/salesforce/tough-cookie/compare/v5.1.0...v5.1.1)

#### What's Changed

- chore: avoid nodejs modules by
[@&#8203;wjhsf](https://redirect.github.com/wjhsf) in
[https://github.com/salesforce/tough-cookie/pull/487](https://redirect.github.com/salesforce/tough-cookie/pull/487)
- Bump the dev-dependencies group with 7 updates by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/salesforce/tough-cookie/pull/490](https://redirect.github.com/salesforce/tough-cookie/pull/490)
- Bump tldts from 6.1.71 to 6.1.76 in the production-dependencies group
by [@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/salesforce/tough-cookie/pull/489](https://redirect.github.com/salesforce/tough-cookie/pull/489)
- Bump eslint-config-prettier from 9.1.0 to 10.0.1 by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/salesforce/tough-cookie/pull/491](https://redirect.github.com/salesforce/tough-cookie/pull/491)
- isolated modules and almost isolated declarations by
[@&#8203;wjhsf](https://redirect.github.com/wjhsf) in
[https://github.com/salesforce/tough-cookie/pull/486](https://redirect.github.com/salesforce/tough-cookie/pull/486)
- chore: auto-close spam PRs by
[@&#8203;wjhsf](https://redirect.github.com/wjhsf) in
[https://github.com/salesforce/tough-cookie/pull/493](https://redirect.github.com/salesforce/tough-cookie/pull/493)

**Full Changelog**:
https://github.com/salesforce/tough-cookie/compare/v5.1.0...v5.1.1

###
[`v5.1.0`](https://redirect.github.com/salesforce/tough-cookie/releases/tag/v5.1.0)

[Compare
Source](https://redirect.github.com/salesforce/tough-cookie/compare/v5.0.0...v5.1.0)

#### What's Changed

- Scheduled integration test with jsdom by
[@&#8203;colincasey](https://redirect.github.com/colincasey) in
[https://github.com/salesforce/tough-cookie/pull/450](https://redirect.github.com/salesforce/tough-cookie/pull/450)
- Update README.md by
[@&#8203;colincasey](https://redirect.github.com/colincasey) in
[https://github.com/salesforce/tough-cookie/pull/454](https://redirect.github.com/salesforce/tough-cookie/pull/454)
- fix: remove cookies that expire at epoch time of `0` by
[@&#8203;colincasey](https://redirect.github.com/colincasey) in
[https://github.com/salesforce/tough-cookie/pull/457](https://redirect.github.com/salesforce/tough-cookie/pull/457)
- Restore missing `expiryDate` method by
[@&#8203;colincasey](https://redirect.github.com/colincasey) in
[https://github.com/salesforce/tough-cookie/pull/459](https://redirect.github.com/salesforce/tough-cookie/pull/459)
- Bump tldts from 6.1.41 to 6.1.48 in the production-dependencies group
by [@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/salesforce/tough-cookie/pull/461](https://redirect.github.com/salesforce/tough-cookie/pull/461)
- Bump the dev-dependencies group with 7 updates by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/salesforce/tough-cookie/pull/462](https://redirect.github.com/salesforce/tough-cookie/pull/462)
- fix(path-match): avoid parsing path as regex by
[@&#8203;wjhsf](https://redirect.github.com/wjhsf) in
[https://github.com/salesforce/tough-cookie/pull/465](https://redirect.github.com/salesforce/tough-cookie/pull/465)
- Bump tldts from 6.1.48 to 6.1.57 in the production-dependencies group
by [@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/salesforce/tough-cookie/pull/466](https://redirect.github.com/salesforce/tough-cookie/pull/466)
- Bump the dev-dependencies group with 8 updates by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/salesforce/tough-cookie/pull/467](https://redirect.github.com/salesforce/tough-cookie/pull/467)
- Bump tldts from 6.1.57 to 6.1.65 in the production-dependencies group
by [@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/salesforce/tough-cookie/pull/468](https://redirect.github.com/salesforce/tough-cookie/pull/468)
- Bump the dev-dependencies group across 1 directory with 8 updates by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/salesforce/tough-cookie/pull/471](https://redirect.github.com/salesforce/tough-cookie/pull/471)
- chore: streamline package publishing by
[@&#8203;wjhsf](https://redirect.github.com/wjhsf) in
[https://github.com/salesforce/tough-cookie/pull/453](https://redirect.github.com/salesforce/tough-cookie/pull/453)
- Bump the dev-dependencies group across 1 directory with 8 updates by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/salesforce/tough-cookie/pull/476](https://redirect.github.com/salesforce/tough-cookie/pull/476)
- Bump tldts from 6.1.65 to 6.1.71 in the production-dependencies group
across 1 directory by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/salesforce/tough-cookie/pull/478](https://redirect.github.com/salesforce/tough-cookie/pull/478)
- Fix npm token config for publish by
[@&#8203;colincasey](https://redirect.github.com/colincasey) in
[https://github.com/salesforce/tough-cookie/pull/482](https://redirect.github.com/salesforce/tough-cookie/pull/482)
- Give permissions for provenance generation by
[@&#8203;colincasey](https://redirect.github.com/colincasey) in
[https://github.com/salesforce/tough-cookie/pull/483](https://redirect.github.com/salesforce/tough-cookie/pull/483)
- revert: use runtime-agnostic `domainToASCII` by
[@&#8203;wjhsf](https://redirect.github.com/wjhsf) in
[https://github.com/salesforce/tough-cookie/pull/480](https://redirect.github.com/salesforce/tough-cookie/pull/480)
- Prepare release v5.1.0 by
[@&#8203;colincasey](https://redirect.github.com/colincasey) in
[https://github.com/salesforce/tough-cookie/pull/484](https://redirect.github.com/salesforce/tough-cookie/pull/484)

**Full Changelog**:
https://github.com/salesforce/tough-cookie/compare/v5.0.0...v5.1.0

</details>

<details>
<summary>uuidjs/uuid (uuid)</summary>

###
[`v11.1.0`](https://redirect.github.com/uuidjs/uuid/blob/HEAD/CHANGELOG.md#1110-2025-02-19)

[Compare
Source](https://redirect.github.com/uuidjs/uuid/compare/v11.0.5...v11.1.0)

##### Features

- update TS types to allow`Uint8Array` subtypes for `buffer` option
([#&#8203;865](https://redirect.github.com/uuidjs/uuid/issues/865))
([a5231e7](a5231e7e1b))

###
[`v11.0.5`](https://redirect.github.com/uuidjs/uuid/blob/HEAD/CHANGELOG.md#1105-2025-01-09)

[Compare
Source](https://redirect.github.com/uuidjs/uuid/compare/v11.0.4...v11.0.5)

##### Bug Fixes

- add TS unit test, pin to typescript@5.0.4
([#&#8203;860](https://redirect.github.com/uuidjs/uuid/issues/860))
([24ac2fd](24ac2fd067))

###
[`v11.0.4`](https://redirect.github.com/uuidjs/uuid/blob/HEAD/CHANGELOG.md#1104-2025-01-05)

[Compare
Source](https://redirect.github.com/uuidjs/uuid/compare/v11.0.3...v11.0.4)

##### Bug Fixes

- **docs:** insure -> ensure
([#&#8203;843](https://redirect.github.com/uuidjs/uuid/issues/843))
([d2a61e1](d2a61e154d))
- exclude tests from published package
([#&#8203;840](https://redirect.github.com/uuidjs/uuid/issues/840))
([f992ff4](f992ff4780))
- Test for invalid byte array sizes and ranges in `v1()`, `v4()`, and
`v7()`
([#&#8203;845](https://redirect.github.com/uuidjs/uuid/issues/845))
([e0ee900](e0ee90051e))

###
[`v11.0.3`](https://redirect.github.com/uuidjs/uuid/blob/HEAD/CHANGELOG.md#1103-2024-11-04)

[Compare
Source](https://redirect.github.com/uuidjs/uuid/compare/v11.0.2...v11.0.3)

##### Bug Fixes

- apply stricter typing to the v\* signatures
([#&#8203;831](https://redirect.github.com/uuidjs/uuid/issues/831))
([c2d3fed](c2d3fed22c))
- export internal uuid types
([#&#8203;833](https://redirect.github.com/uuidjs/uuid/issues/833))
([341edf4](341edf444c))
- remove sourcemaps
([#&#8203;827](https://redirect.github.com/uuidjs/uuid/issues/827))
([b93ea10](b93ea101af))
- revert "simplify type for v3 and v5"
([#&#8203;835](https://redirect.github.com/uuidjs/uuid/issues/835))
([e2dee69](e2dee691e9))

###
[`v11.0.2`](https://redirect.github.com/uuidjs/uuid/blob/HEAD/CHANGELOG.md#1102-2024-10-28)

[Compare
Source](https://redirect.github.com/uuidjs/uuid/compare/v11.0.1...v11.0.2)

##### Bug Fixes

- remove wrapper.mjs
([#&#8203;822](https://redirect.github.com/uuidjs/uuid/issues/822))
([6683ad3](6683ad38b0))

###
[`v11.0.1`](https://redirect.github.com/uuidjs/uuid/blob/HEAD/CHANGELOG.md#1101-2024-10-27)

[Compare
Source](https://redirect.github.com/uuidjs/uuid/compare/v11.0.0...v11.0.1)

##### Bug Fixes

- restore package.json#browser field
([#&#8203;817](https://redirect.github.com/uuidjs/uuid/issues/817))
([ae8f386](ae8f38657b))

###
[`v11.0.0`](https://redirect.github.com/uuidjs/uuid/blob/HEAD/CHANGELOG.md#1100-2024-10-26)

[Compare
Source](https://redirect.github.com/uuidjs/uuid/compare/v10.0.0...v11.0.0)

##### ⚠ BREAKING CHANGES

- refactor v1 internal state and options logic
([#&#8203;780](https://redirect.github.com/uuidjs/uuid/issues/780))
- refactor v7 internal state and options logic, fixes
[#&#8203;764](https://redirect.github.com/uuidjs/uuid/issues/764)
([#&#8203;779](https://redirect.github.com/uuidjs/uuid/issues/779))
- Port to TypeScript, closes
[#&#8203;762](https://redirect.github.com/uuidjs/uuid/issues/762)
([#&#8203;763](https://redirect.github.com/uuidjs/uuid/issues/763))
- update node support matrix (only support node 16-20)
([#&#8203;750](https://redirect.github.com/uuidjs/uuid/issues/750))

##### Features

- Port to TypeScript, closes
[#&#8203;762](https://redirect.github.com/uuidjs/uuid/issues/762)
([#&#8203;763](https://redirect.github.com/uuidjs/uuid/issues/763))
([1e0f987](1e0f9870db))
- update node support matrix (only support node 16-20)
([#&#8203;750](https://redirect.github.com/uuidjs/uuid/issues/750))
([883b163](883b163b9a))

##### Bug Fixes

- missing v7 expectations in browser spec
([#&#8203;751](https://redirect.github.com/uuidjs/uuid/issues/751))
([f54a866](f54a866ced))
- refactor v1 internal state and options logic
([#&#8203;780](https://redirect.github.com/uuidjs/uuid/issues/780))
([031b3d3](031b3d3d73))
- refactor v7 internal state and options logic, fixes
[#&#8203;764](https://redirect.github.com/uuidjs/uuid/issues/764)
([#&#8203;779](https://redirect.github.com/uuidjs/uuid/issues/779))
([9dbd1cd](9dbd1cd417))
- remove v4 options default assignment preventing native.randomUUID from
being used
([#&#8203;786](https://redirect.github.com/uuidjs/uuid/issues/786))
([afe6232](afe62323c4)),
closes [#&#8203;763](https://redirect.github.com/uuidjs/uuid/issues/763)
- seq_hi shift for byte 6
([#&#8203;775](https://redirect.github.com/uuidjs/uuid/issues/775))
([1d532ca](1d532ca374))
- tsconfig module type
([#&#8203;778](https://redirect.github.com/uuidjs/uuid/issues/778))
([7eff835](7eff835cba))

</details>
2025-03-12 14:44:25 +01:00
Sander Philipse
4fed0eff45
[ES3] Enable inference action type (#214085)
## Summary

This enables the inference action connector type on ES3.
2025-03-12 13:43:57 +00:00
Elena Shostak
fcb15aca84
[Authz]: added reason for authorization opt-out for search routes (#213879)
## Summary

Added justification for opting out of authorization for search routes.


### 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)
2025-03-12 14:40:47 +01:00
Nathan Reese
dce80083c2
unskip Failing test: X-Pack Saved Object Tagging Functional Tests.x-pack/test/saved_object_tagging/functional/tests/dashboard_integration·ts (#213977)
closes https://github.com/elastic/kibana/issues/160583

flaky test runner with 25 runs
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/8018
flaky test runner with 100 runs
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/8019

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-03-12 07:37:56 -06:00
Georgiana-Andreea Onoleață
6f07d18265
[ResponseOps] consistent-type-imports linting rule for RO packages/plugins - PR2 (#212366)
- Enabled @typescript-eslint/consistent-type-imports eslint rule for
ResponseOps packages and plugins:
- this rule ensures that imports used only for type declarations are
consistently written using import type syntax
    
- fixed eslint errors for:
    - `x-pack/platform/plugins/shared/actions`
    - `x-pack/platform/plugins/shared/stack_alerts`
    - `x-pack/platform/plugins/shared/stack_connectors`
    - `x-pack/platform/plugins/shared/triggers_actions_ui`

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-03-12 14:29:44 +01:00
Shahzad
58fc183151
[Synthetics] Use package latest version 1.4.0 in tests !! (#213776)
## Summary

Use package latest version 1.4.0 in tests !!

fixes https://github.com/elastic/kibana/issues/213576
2025-03-12 14:28:26 +01:00
elastic-renovate-prod[bot]
c9144ad60e
Update dependency @redocly/cli to ^1.33.0 (main) (#214105)
This PR contains the following updates:

| Package | Type | Update | Change | Pending |
|---|---|---|---|---|
| [@redocly/cli](https://redirect.github.com/Redocly/redocly-cli) |
devDependencies | patch | [`^1.32.2` ->
`^1.33.0`](https://renovatebot.com/diffs/npm/@redocly%2fcli/1.33.0/1.33.0)
| `1.33.1` |
| [@redocly/cli](https://redirect.github.com/Redocly/redocly-cli) |
dependencies | patch | [`^1.32.2` ->
`^1.33.0`](https://renovatebot.com/diffs/npm/@redocly%2fcli/1.33.0/1.33.0)
| `1.33.1` |

---

### 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 these
updates again.

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMDcuMCIsInVwZGF0ZWRJblZlciI6IjM5LjEwNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOkNvcmUiLCJiYWNrcG9ydDpwcmV2LW1pbm9yIiwicmVsZWFzZV9ub3RlOnNraXAiXX0=-->

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
2025-03-12 14:28:00 +01:00
Francesco Fagnani
1b8fcd21e3
[Synthetics] Fix UI issue on Last test run panel and changed breadcrumb string when creating a monitor (#213874)
This PR fixes #200921.

This is the final result, where the step details button is correctly
shown.
<img width="511" alt="Screenshot 2025-03-11 at 09 57 33"
src="https://github.com/user-attachments/assets/c6017848-635a-4af5-aebc-68979ae115f9"
/>

This PR also fixes #212246.
<img width="1143" alt="Screenshot 2025-03-11 at 11 09 55"
src="https://github.com/user-attachments/assets/20b75ba4-ce99-4cc9-a827-11e5cb03a6da"
/>
2025-03-12 14:21:06 +01:00
Kevin Qualters
887f82ebed
[SIEM migrations] Make lookup indices space aware (#213458)
## Summary

Changes how we use lookup indices so that they are now space aware, in
the form
```
`${LOOKUPS_INDEX_PREFIX}${this.spaceId}_${lookupName}`
```

### 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
2025-03-12 14:18:47 +01:00
Maxim Palenov
6b87869dc0
[Security Solution] Fix inconsistent rule's modified status after applying bulk actions (#214115)
## Summary

Fixes a problem [`Bulk adding tags to rules marks some rules as customized and doesn't mark other rules as customized. It looks like it depends on the existence of the base version.`](https://github.com/elastic/kibana/pull/212761#pullrequestreview-2675994950) discovered while smoke testing after enabling Prebuilt Rules Customization FF.

## Details

The problems manifests as some rules have `Modified` badge missing after modifying tags via bulk actions.

The root cause is that current bulk actions implementation expects unmodified rule's data in `paramsModifier()` callback. But Alerting Framework's Rules Client invokes `paramsModifier()` providing already modified rule. Alerting Framework managed fields like `rule.tags` have modified values.

The fix makes sure rule customizartion state is calculated by using unmodified rule data.

## Screenshots

Before:

https://github.com/user-attachments/assets/eeb65b18-c51f-4c5e-b0e6-6552e442994e

After:

https://github.com/user-attachments/assets/d18d8765-4f40-4513-95a1-2cd84ac2a0a9
2025-03-12 14:10:38 +01:00
Dzmitry Lemechko
36c3409a67
[ci] remove diskSize definition in scout_tests.yml (#214122)
## Summary

Trying to fix pipeline failure due to not enough disk space:

```

  | 2025-03-12 10:47:33 UTC | Copying cached snapshots from /opt/buildkite-agent/.es-snapshot-cache/cache to .es/cache
  | 2025-03-12 10:47:48 UTC | cp: error writing '.es/cache/elasticsearch-9.0.0-SNAPSHOT-linux-x86_64.tar.gz': No space left on device
  | 2025-03-12 10:47:48 UTC | cp: error writing '.es/cache/elasticsearch-9.0.0-SNAPSHOT-linux-x86_64.tar.gz.meta': No space left on device
  | 2025-03-12 10:47:48 UTC | cp: error writing '.es/cache/elasticsearch-9.1.0-SNAPSHOT-linux-x86_64.tar.gz': No space left on device
  | 2025-03-12 10:47:48 UTC | cp: error writing '.es/cache/elasticsearch-9.1.0-SNAPSHOT-linux-x86_64.tar.gz.meta': No space left on device
```
2025-03-12 13:53:01 +01:00
Achyut Jhunjhunwala
591c5b73c0
[Discover] Added context aware logic for logs view in discover to show Load More… (#211176)
## Summary

Closes - https://github.com/elastic/kibana/issues/166679

## What's included ?

- The PR adds a feature in Logs View of Observability (to start with) to
hide the regular pagination toolbar from the footer and show Load More
only when the user has scrolled to the bottom of the page.
- The table would always load the items in batches of default set 500 
- This PR also add 2 helper functions `useThrottleFn` and
`useDebounceFn`. Current React help library which KIbana uses called
-`react-use` does not have these and we cannot use Lodash variant of
these. We need such hooks which are React safe. Hence added these 2


## What's pending ?

- [x] Unit tests for the 2 new helper React hooks
- [x] Unit tests for data table footer component
- [x] Unit tests for Profile Resolution
- [x] Functional Serverless Tests
- [x] Functional Stateful Tests


![Feb-14-2025
15-25-18](https://github.com/user-attachments/assets/fa66de6e-b3bd-46b4-a0ed-e30c4209a695)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Davis McPhee <davismcphee@hotmail.com>
Co-authored-by: Felix Stürmer <weltenwort@users.noreply.github.com>
Co-authored-by: Davis McPhee <davis.mcphee@elastic.co>
2025-03-12 13:39:27 +01:00
Kurt
1666df767a
[FIPS] Skip test for FIPS pipeline since the feature will always be enabled due to platinum license/security override (#213989)
## Summary

Skipping new tests since it is expecting the functionality not to be
there due to basic/essentials tier license, but the FIPS pipeline runs
with a platinum override and security enabled.
2025-03-12 07:59:45 -04:00
Carlos Crespo
4502a930d5
[APM] Storybook support for the new service map API response (#213980)
closes [213126](https://github.com/elastic/kibana/issues/213126)

## Summary

Add support for the new API response to the Service Map storybook



![storybook](https://github.com/user-attachments/assets/3e5fbf96-ccee-43a7-b64f-b5a81fd52998)
2025-03-12 12:38:11 +01:00
Marta Bondyra
84ae9c98c2
[Lens] fix drag and drop ghost after Chrome update to 134 (#213928)
## Summary
Fixes https://github.com/elastic/kibana/issues/213708

Fixes the ghost display. As @nickofthyme pointed out
[here](https://github.com/elastic/kibana/issues/213708#issuecomment-2712076212),
the reason was using inset-inline-start: -10000px for the keyboard
handler that is one of the children of the draggable component. The
quick fix is to just move it outside of the html element that is
dragged. @markov00 please assesswhere it should be merged 🙏🏼

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-03-12 12:30:51 +01:00
Paulina Shakirova
e10f16ae69
[WIP] Home plugin js-ts migration (Part 1) (#208375)
## Summary

- Moving last Home plugin components from `js` to `tsx`
- Adding TS support
- Styling changes/ clean up
- Fixing bugs that were unnoticed without ts support
- Creating or updating unit tests
         -  shifting from `enzyme` to `testing-library/react`
         - removing snapshots in favor of selectors
2025-03-12 12:05:37 +01:00
Alex Szabo
0172dd99cf
[deps] Upgrade axios to 1.8.2 (#213901)
## Summary
Upgades axios to 1.8.2, including in transitive dependencies
2025-03-12 12:05:02 +01:00
David Sánchez
87e2edd599
[Security Solution] [Defend Workflows] Enables skipped tests in 9.0 (#213399)
## Summary

Enables skipped tests in 9.0 and previous stack versions.

closes: https://github.com/elastic/kibana/issues/180401
closes: https://github.com/elastic/kibana/issues/203894
closes: https://github.com/elastic/kibana/issues/205141
closes: https://github.com/elastic/kibana/issues/206204
closes: https://github.com/elastic/kibana/issues/209056
closes: https://github.com/elastic/kibana/issues/209064
closes: https://github.com/elastic/kibana/issues/209063
closes: https://github.com/elastic/kibana/issues/209066
closes: https://github.com/elastic/kibana/issues/209065

This one will be tracked in a follow up pr:
https://github.com/elastic/kibana/issues/203916

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-03-12 11:43:40 +01:00
elastic-renovate-prod[bot]
2c883c1018
Update dependency rxjs to ^7.8.2 (main) (#212184)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [rxjs](https://rxjs.dev)
([source](https://redirect.github.com/reactivex/rxjs)) | dependencies |
patch | [`^7.8.1` ->
`^7.8.2`](https://renovatebot.com/diffs/npm/rxjs/7.8.1/7.8.2) |

---

### Release Notes

<details>
<summary>reactivex/rxjs (rxjs)</summary>

###
[`v7.8.2`](https://redirect.github.com/reactivex/rxjs/compare/7.8.1...e5351d02e225e275ac0e497c7b66eaa5f0c88791)

[Compare
Source](https://redirect.github.com/reactivex/rxjs/compare/7.8.1...e5351d02e225e275ac0e497c7b66eaa5f0c88791)

</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://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMDcuMCIsInVwZGF0ZWRJblZlciI6IjM5LjEwNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOkNvcmUiLCJiYWNrcG9ydDpwcmV2LW1pbm9yIiwicmVsZWFzZV9ub3RlOnNraXAiXX0=-->

---------

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>
Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
2025-03-12 11:25:35 +01:00
Shahzad
9100170e29
[Synthetics] Refactor: Create monitor configs repository !! (#202325)
## Summary

Create monitor configs repository around monitor saved object to make
sure all operations are performed from same class.

This will be helpful when we create a new saved object to support
multiple-spaces !!

### Testing
All unit tests, api tests passing should be more than enough !!

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-03-12 10:43:25 +01:00
Marco Liberati
b0ef1e6365
[Maps][Choropleth Map] Mark fields as required (#213923)
## Summary

Fixes #197904

Configure both dimensions in the choropleth map as required.

<img width="330" alt="Screenshot 2025-03-11 at 14 51 46"
src="https://github.com/user-attachments/assets/65a7d3a4-2850-474c-a4e1-db0aca4307d3"
/>
<img width="371" alt="Screenshot 2025-03-11 at 14 51 28"
src="https://github.com/user-attachments/assets/ad6e3aea-6c94-4dec-bd76-d5cc75c07744"
/>
2025-03-12 10:36:05 +01:00
Søren Louv-Jansen
5c5b6ebc8a
[Obs AI Assistant] Ensure semantic query contribute to score (#213870)
Closes https://github.com/elastic/kibana/issues/213869

Regression introduced in 8.17
(https://github.com/elastic/kibana/pull/200184/)

#### **Fix**  
Semantic queries were incorrectly wrapped in a `filter` context,
preventing them from contributing to scoring. This PR removes the
`filter` wrapper so that semantic queries run in query context and
influence ranking.

This also replaces the `semantic` query with a `match` query. This is
necessary because `fieldCaps` api no longer returns `semantic_text` when
filtering with `GET
animals_kb/_field_caps?fields=*&types=semantic_text`. Instead we need to
retrieve text fields and perform the search against all of them.
2025-03-12 10:35:39 +01:00
Jesus Wahrman
68b2bde0b0
Zdt retry on common failures (#213979)
## Summary

resolves https://github.com/elastic/kibana/issues/207096

Added a new handler to `readWithPit`, `pickupUpdatedMappings` and
`checkForUnknownDocs`. This handler retries when it receives an error
response including `type: search_phase_execution_exception`.


### 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
- [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-03-12 10:10:47 +01:00
Marco Liberati
14b0c611b1
[Lens][Embeddable] Fix unnecessary rerender on view mode change (#213902)
## Summary

Fixes #203020 

Improve drill down check before triggering a rerender.

### 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-03-12 10:09:33 +01:00
Cristina Amico
382630ecd1
[Fleet] Add ssl fields to agent binary source settings (#213211)
closes https://github.com/elastic/kibana/issues/207324
follow up of https://github.com/elastic/kibana/issues/207322

## Summary
Add ssl fields to agent binary source settings. The new fields allow
users to set a TLS connection to the agent binary source uri.
- The cert key will be stored either as an encrypted SO or a secret
(latter option will be available once fleet server will have this
functionality: https://github.com/elastic/fleet-server/issues/4470).
- The secret field is only available when the feature flag
`enableSSLSecrets` is enabled, otherwise the cert key is saved as an
encrypted SO.

<details>
  <summary>Screenshots</summary>
<img width="809" alt="Screenshot 2025-03-11 at 14 53 44"
src="https://github.com/user-attachments/assets/e93a04cf-c699-4e13-8cb6-870986197f92"
/>
<img width="804" alt="Screenshot 2025-03-11 at 14 53 34"
src="https://github.com/user-attachments/assets/c2c13c8f-e65c-4843-a538-d317e1359bf0"
/>



Generated policy:
<img width="797" alt="Screenshot 2025-03-06 at 17 43 02"
src="https://github.com/user-attachments/assets/12411fea-9a8b-4ee9-aa7c-123c6aefea4a"
/>

</details>

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

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-03-12 09:50:32 +01:00
Pierre Gayvallet
ed7178674c
Use inferenceChatModel for playground (#210756)
## Summary

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

Wire the new `InferenceChatModel` into playground. Please refer to
https://github.com/elastic/kibana/pull/210756 for the reasons behind
that change.

### testing

Tested with all 4 supported connectors:

<img width="1673" alt="Screenshot 2025-02-12 at 10 32 43"
src="https://github.com/user-attachments/assets/45d76fc1-79c5-4e17-bc4d-4f7aa173f892"
/>

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-03-12 09:18:18 +01:00
Ido Cohen
f4c9a700d5
Agentless Telemetry 2025-03-12 09:17:31 +02:00
Elena Shostak
78fb6883f1
[Authz]: added authorization opt-out reason for monitoring routes (#213884)
## Summary

 Added authorization opt-out reason for monitoring routes.


### 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)
2025-03-12 07:31:45 +01:00
Kibana Machine
727313938b
[api-docs] 2025-03-12 Daily api_docs build (#214044)
Generated by
https://buildkite.com/elastic/kibana-api-docs-daily/builds/1009
2025-03-12 07:09:30 +01:00
Shahzad
40dd061823
[Synthetics] Fix service name usage from project monitors !! (#212229)
## Summary

In support of https://github.com/elastic/synthetics/pull/974

Fix service name usage from project monitors !!

<img width="1728" alt="image"
src="https://github.com/user-attachments/assets/cb88cb9c-f4a2-41e9-a869-96c25d14ec67"
/>
2025-03-12 05:45:11 +01:00
Paulo Silva
5f05349930
[Asset Inventory] Onboarding No Data Found component (#213506)
## Summary

It closes #210715

This PR introduces the No Data Found onboarding screen, which displays
the Asset Inventory Enabled success callout and the Integrations Card
Grid component from Security Onboarding.

Success Callout visibility is stored in local storage for persisting
visibility dismissal, also, the callout is only enabled for the user who
initiated the enablement.

This PR also includes:
- Moving the renderWithTestProvider into a reusable function
- Moving some onboarding test subj to the constants file
- Added the missing test file for the navigation onboarding screen.

**Note:** Customization of the Integrations Card Grid component for
asset inventory will be done in a separate task.

## Recording


https://github.com/user-attachments/assets/e8f4b363-7d31-4bd8-a2d3-d234f4a0b34b
2025-03-11 19:52:17 -07:00
Patryk Kopyciński
0b9cceb574
[Attack discovery] Fix error handling in LM studio (#213855)
## Summary

Error were not properly propagated to the user and instead of meaningful
message we were displaying just `API Error`.

<img width="1813" alt="Zrzut ekranu 2025-03-11 o 03 47 59"
src="https://github.com/user-attachments/assets/8d059159-f020-4944-a463-b10799e7fa46"
/>
 
 
 

Steps to reproduce, Thank you @andrew-goldstein 🙇 

**Desk testing**

To reproduce:

1. In LM Studio, download the `MLX` variant (optimized for Mac) of
`Llama-3.2-3B-Instruct-4bit`:

```
mlx-community/Llama-3.2-3B-Instruct-4bit
```

2. Configure the model to have a context length of `131072` tokens, as
illustrated by the screenshot below:


![context_length](https://github.com/user-attachments/assets/505f64af-6d03-4f66-a485-7b25ebc4cae2)

3. Serve ONLY the model above in LM Studio. (Ensure no other models are
running in LM Studio), as illustrated by the screenshot below:


![one_model_running](https://github.com/user-attachments/assets/af29bea5-4cc3-401c-87d8-4b5778acdfe6)

4. Configure a connector via the details in
<https://www.elastic.co/guide/en/security/current/connect-to-byo-llm.html>

but change:

```
local-model
```

to the name of the model when configuring the connector:

```
llama-3.2-3b-instruct
```

as illustrated by the screenshot below:


![connector](https://github.com/user-attachments/assets/5c2bcba3-6cc0-4066-833b-fe68d4c64569)

5. Generate Attack discoveries

**Expected results**

- Generation does NOT fail with the error described in the later steps
below.
- Progress on generating discoveries is visible in Langsmith, as
illustrated by the screenshot below:


![langsmith](https://github.com/user-attachments/assets/ac2f36f4-35de-4cc9-b9aa-8b9e09d32569)

Note: `Llama-3.2-3B-Instruct-4bit` may not reliably generate Attack
discoveries, so generation may still fail after `10` generation /
refinement steps.

6. In LM studio, serve a _second_ model, as illustrated by the
screenshot below:


![llm_studio_2nd_model](https://github.com/user-attachments/assets/93eda24c-c016-4f81-919c-0cbf5ffb63b0)

7. Once again, generate Attack discoveries

**Expected results**

- Generation does NOT fail with the errors below
- Progress on generating discoveries is visible in Langsmith, though as
noted above, generation may still fail after `10` attempts if the model
does not produce output that conforms to the expected schema

**Actual results**

- Generation fails with an error similar to:

```
generate node is unable to parse (openai) response from attempt 0; (this may be an incomplete response from the model): Status code: 400. Message: API Error:
Bad Request: ActionsClientLlm: action result status is error: an error occurred while running the action - Status code: 400. Message: API Error: Bad Request,
```

or

```
generate node is unable to parse (openai) response from attempt 0; (this may be an incomplete response from the model): Status code: 404. Message: API Error: Not Found - Model "llama-3.2-3b-instruct" not found. Please specify a valid model.
```

as illustrated by the following screenshot:


![error](https://github.com/user-attachments/assets/8d059159-f020-4944-a463-b10799e7fa46)
2025-03-12 03:06:48 +01:00
Dzmitry Lemechko
2eb9dcdd68
[ci] use default worker in on-merge-unsupported-ftrs scout step (#213993)
## Summary

related to https://github.com/elastic/kibana/pull/211797

Fixing bootstrap failure in
https://buildkite.com/elastic/kibana-on-merge-unsupported-ftrs/builds/34167

```
yarn install and bootstrap, attempt 2
2025-03-11 18:13:27 UTC	yarn run v1.22.22
2025-03-11 18:13:27 UTC	$ node scripts/kbn bootstrap --force-install
2025-03-11 18:13:27 UTC	Kibana should not be run as root.  Use --allow-root to continue.
2025-03-11 18:13:27 UTC	error Command failed with exit code 1.
2025-03-11 18:13:27 UTC	info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2025-03-11 18:13:28 UTC	🚨 Error: The command exited with status 1
```
2025-03-12 01:24:08 +01:00
Lisa Cawley
86ddd8cf3a
[DOCS] Add APM rule parameter descriptions (#213186) 2025-03-12 00:55:21 +01:00
Ryan Keairns
82eea41ddf
Update login graphics (#213639)
## Summary

The Kibana login page has been using outdated brand graphics for some
time. This PR updates the SVGs to match those used on the Cloud login
page in addition to a couple of style tweaks that bring further
consistency.

_Note_: Moving the Elastic logo up to the left - and using the version
with 'elastic' - is potentially disruptive as we allow customers to set
a custom logo which presumes the centered layout. Something to consider
changing later.

**Before**
 
![CleanShot 2025-03-07 at 14 51
43@2x](https://github.com/user-attachments/assets/56cb9359-8a9c-4ab5-915a-68f260696b56)

**After**

![CleanShot 2025-03-07 at 14 52
26@2x](https://github.com/user-attachments/assets/7f3e4da3-723a-491e-825b-94e6b29c7ecb)

--------

**Cloud (for reference)**

![CleanShot 2025-03-07 at 14 52
56@2x](https://github.com/user-attachments/assets/86e913c7-39ce-494b-9149-d7edd27971da)

**elastic.co (for reference)**

![CleanShot 2025-03-07 at 15 10
15@2x](https://github.com/user-attachments/assets/e5741368-8ae7-4c52-88ae-bf9c7bc97892)


### 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-03-11 16:42:02 -07:00
Kibana Machine
2995f2677d skip failing test suite (#214029) 2025-03-12 10:36:29 +11:00
Rodney Norris
59bf352f0a
[Search] refactor(search_playground): use routes for playground views (#213976)
## Summary

Updated playground rendering to utilize routes for when to render query
vs preview and search vs chat instead of maintain state for both of
these. The page mode was controled by both a route and state, but now
it's always read from a route parameter instead of using state.

This is to cleanup how we decide what to render in the playground
overview component and make it easier to reason about what is being
shown.

### Checklist

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/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
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-03-12 00:26:16 +01:00
Lisa Cawley
b27f9aa5f0
Add minimal user session management API docs (#212576) 2025-03-11 23:47:07 +01:00