Skip to content

Commit

Permalink
Merge branch 'main' into fix/multiword-types
Browse files Browse the repository at this point in the history
  • Loading branch information
kowalczyk-krzysztof authored Oct 15, 2024
2 parents 9f7cafd + a63b939 commit a931256
Show file tree
Hide file tree
Showing 395 changed files with 10,127 additions and 2,790 deletions.
1 change: 0 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,6 @@ packages/kbn-sort-package-json @elastic/kibana-operations
packages/kbn-sort-predicates @elastic/kibana-visualizations
x-pack/plugins/spaces @elastic/kibana-security
x-pack/test/spaces_api_integration/common/plugins/spaces_test_plugin @elastic/kibana-security
packages/kbn-spec-to-console @elastic/kibana-management
packages/kbn-sse-utils @elastic/obs-knowledge-team
packages/kbn-sse-utils-client @elastic/obs-knowledge-team
packages/kbn-sse-utils-server @elastic/obs-knowledge-team
Expand Down
4 changes: 4 additions & 0 deletions config/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ xpack.index_management.enableTogglingDataRetention: false
# Disable project level rentention checks in DSL form from Index Management UI
xpack.index_management.enableProjectLevelRetentionChecks: false

# Disable Manage Processors UI in Ingest Pipelines
xpack.ingest_pipelines.enableManageProcessors: false

# Keep deeplinks visible so that they are shown in the sidenav
dev_tools.deeplinks.navLinkStatus: visible
management.deeplinks.navLinkStatus: visible
Expand Down Expand Up @@ -204,6 +207,7 @@ uiSettings:
labs:dashboard:deferBelowFold: false

# Task Manager
xpack.task_manager.claim_strategy: mget
xpack.task_manager.allow_reading_invalid_state: false
xpack.task_manager.request_timeouts.update_by_query: 60000
xpack.task_manager.metrics_reset_interval: 120000
Expand Down
39 changes: 39 additions & 0 deletions docs/CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

Review important information about the {kib} 8.x releases.

* <<release-notes-8.15.3>>
* <<release-notes-8.15.2>>
* <<release-notes-8.15.1>>
* <<release-notes-8.15.0>>
Expand Down Expand Up @@ -76,6 +77,44 @@ Review important information about the {kib} 8.x releases.

include::upgrade-notes.asciidoc[]

[[release-notes-8.15.3]]
== {kib} 8.15.3

The 8.15.3 release includes the following bug fixes.

[float]
[[fixes-v8.15.3]]
=== Bug fixes
Alerting::
* Fixes a storage configuration error that could prevent the Stack Management > Alerts page from loading correctly ({kibana-pull}194785[#194785]).
* Fixes a bug preventing certain alerts with Role visibility set to "Stack Rules" from being shown on the Stack Management page ({kibana-pull}194615[#194615]).
* Fixes an issue where rules created from Discover before version 8.11.0 could no longer be accessed after upgrading ({kibana-pull}192321[#192321]).
Dashboards::
* Fixes an issue where the `embed=true` parameter was missing when sharing a dashboard with the Embed code option ({kibana-pull}194366[#194366]).
Discover::
* Fixes an issue with the document viewer panel not opening in focus mode ({kibana-pull}191039[#191039]).
Elastic Observability solution::
* Fixes the OpenTelemetry guided onboarding for MacOS with x86_64 architectures ({kibana-pull}194915[#194915]).
* Fixes a bug where the SLO creation form was allowing multiple values for timestamp fields ({kibana-pull}194311[#194311]).
Elastic Search solution::
* Fixes a bug with the https://www.elastic.co/guide/en/enterprise-search/8.15/connectors-network-drive.html[Network Drive connector] where advanced configuration fields were not displayed for CSV file role mappings with `Drive Type: Linux` selected ({kibana-pull}195567[#195567]).
Elastic Security solution::
For the Elastic Security 8.15.3 release information, refer to {security-guide}/release-notes.html[_Elastic Security Solution Release Notes_].
Kibana security::
* Automatic Import no longer asks the LLM to map fields to reserved ECS fields ({kibana-pull}195168[#195168]).
* Automatic Import no longer returns an "Invalid ECS field" message when the ECS mapping slightly differs from the expected format. For example `date_format` instead of `date_formats` ({kibana-pull}195167[#195167]).
* Fixes an issue that was causing the Grok processor to return non-ECS compatible fields when processing structured or unstructured syslog samples in Automatic Import ({kibana-pull}194727[#194727]).
* Fixes the integrationName when uploading a new version of an existing integration using a ZIP upload ({kibana-pull}194298[#194298]).
* Fixes a bug that caused the Deploy step of Automatic Import to fail after a pipeline was edited and saved ({kibana-pull}194203[#194203]).
* Fixes an issue in the Kibana Management > Roles page where users could not sort the table by clicking the column headers ({kibana-pull}194196[#194196]).
Lens & Visualizations::
* Fixes an issue where the legend label truncation setting wasn't working properly for heat maps in Lens ({kibana-pull}195928[#195928]).
Machine Learning::
* Fixes an issue preventing Anomaly swim lane panels from updating on query changes ({kibana-pull}195090[#195090]).
* Fixes an issue that could cause the "rows per page" option to disappear from the Anomaly timeline view in the Anomaly Explorer ({kibana-pull}194531[#194531]).
* Fixes an issue causing screen flickering on the Results Explorer and Analytics Map pages when no jobs are available ({kibana-pull}193890[#193890]).


[[release-notes-8.15.2]]
== {kib} 8.15.2

Expand Down
6 changes: 6 additions & 0 deletions docs/api/osquery-manager.asciidoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
[[osquery-manager-api]]
== Osquery manager API

.New API Reference
[sidebar]
--
For the most up-to-date API details, refer to {api-kibana}/group/endpoint-security-osquery-api[Osquery APIs].
--

experimental[] Run live queries, manage packs and saved queries

Use the osquery manager APIs for managing packs and saved queries.
Expand Down
6 changes: 6 additions & 0 deletions docs/api/osquery-manager/live-queries/create.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
<titleabbrev>Create live query</titleabbrev>
++++

.New API Reference
[sidebar]
--
For the most up-to-date API details, refer to {api-kibana}/group/endpoint-security-osquery-api[Osquery APIs].
--

experimental[] Create live queries.


Expand Down
6 changes: 6 additions & 0 deletions docs/api/osquery-manager/live-queries/get-all.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
<titleabbrev>Get live queries</titleabbrev>
++++

.New API Reference
[sidebar]
--
For the most up-to-date API details, refer to {api-kibana}/group/endpoint-security-osquery-api[Osquery APIs].
--

experimental[] Get live queries.


Expand Down
6 changes: 6 additions & 0 deletions docs/api/osquery-manager/live-queries/get-results.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
<titleabbrev>Get live query results</titleabbrev>
++++

.New API Reference
[sidebar]
--
For the most up-to-date API details, refer to {api-kibana}/group/endpoint-security-osquery-api[Osquery APIs].
--

experimental[] Retrieve a single live query result by ID.


Expand Down
6 changes: 6 additions & 0 deletions docs/api/osquery-manager/live-queries/get.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
<titleabbrev>Get live query</titleabbrev>
++++

.New API Reference
[sidebar]
--
For the most up-to-date API details, refer to {api-kibana}/group/endpoint-security-osquery-api[Osquery APIs].
--

experimental[] Retrieves a single live query by ID.


Expand Down
6 changes: 6 additions & 0 deletions docs/api/osquery-manager/packs/create.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
<titleabbrev>Create pack</titleabbrev>
++++

.New API Reference
[sidebar]
--
For the most up-to-date API details, refer to {api-kibana}/group/endpoint-security-osquery-api[Osquery APIs].
--

experimental[] Create packs.


Expand Down
6 changes: 6 additions & 0 deletions docs/api/osquery-manager/packs/delete.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
<titleabbrev>Delete pack</titleabbrev>
++++

.New API Reference
[sidebar]
--
For the most up-to-date API details, refer to {api-kibana}/group/endpoint-security-osquery-api[Osquery APIs].
--

experimental[] Delete packs.

WARNING: Once you delete a pack, _it cannot be recovered_.
Expand Down
6 changes: 6 additions & 0 deletions docs/api/osquery-manager/packs/get-all.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
<titleabbrev>Get packs</titleabbrev>
++++

.New API Reference
[sidebar]
--
For the most up-to-date API details, refer to {api-kibana}/group/endpoint-security-osquery-api[Osquery APIs].
--

experimental[] Get packs.


Expand Down
6 changes: 6 additions & 0 deletions docs/api/osquery-manager/packs/get.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
<titleabbrev>Get pack</titleabbrev>
++++

.New API Reference
[sidebar]
--
For the most up-to-date API details, refer to {api-kibana}/group/endpoint-security-osquery-api[Osquery APIs].
--

experimental[] Retrieve a single pack by ID.


Expand Down
6 changes: 6 additions & 0 deletions docs/api/osquery-manager/packs/update.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
<titleabbrev>Update pack</titleabbrev>
++++

.New API Reference
[sidebar]
--
For the most up-to-date API details, refer to {api-kibana}/group/endpoint-security-osquery-api[Osquery APIs].
--

experimental[] Update packs.

WARNING: You are unable to update a prebuilt pack (`read_only = true`).
Expand Down
6 changes: 6 additions & 0 deletions docs/api/osquery-manager/saved-queries/create.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
<titleabbrev>Create saved query</titleabbrev>
++++

.New API Reference
[sidebar]
--
For the most up-to-date API details, refer to {api-kibana}/group/endpoint-security-osquery-api[Osquery APIs].
--

experimental[] Create saved queries.


Expand Down
6 changes: 6 additions & 0 deletions docs/api/osquery-manager/saved-queries/delete.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
<titleabbrev>Delete saved query</titleabbrev>
++++

.New API Reference
[sidebar]
--
For the most up-to-date API details, refer to {api-kibana}/group/endpoint-security-osquery-api[Osquery APIs].
--

experimental[] Delete saved queries.

WARNING: Once you delete a saved query, _it cannot be recovered_.
Expand Down
6 changes: 6 additions & 0 deletions docs/api/osquery-manager/saved-queries/get-all.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
<titleabbrev>Get saved-queries</titleabbrev>
++++

.New API Reference
[sidebar]
--
For the most up-to-date API details, refer to {api-kibana}/group/endpoint-security-osquery-api[Osquery APIs].
--

experimental[] Get saved queries.


Expand Down
6 changes: 6 additions & 0 deletions docs/api/osquery-manager/saved-queries/get.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
<titleabbrev>Get saved query</titleabbrev>
++++

.New API Reference
[sidebar]
--
For the most up-to-date API details, refer to {api-kibana}/group/endpoint-security-osquery-api[Osquery APIs].
--

experimental[] Retrieve a single saved query by ID.


Expand Down
6 changes: 6 additions & 0 deletions docs/api/osquery-manager/saved-queries/update.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
<titleabbrev>Update saved query</titleabbrev>
++++

.New API Reference
[sidebar]
--
For the most up-to-date API details, refer to {api-kibana}/group/endpoint-security-osquery-api[Osquery APIs].
--

experimental[] Update saved queries.

WARNING: You are unable to update a prebuilt saved query (`prebuilt = true`).
Expand Down
1 change: 0 additions & 1 deletion docs/developer/getting-started/monorepo-packages.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ yarn kbn watch
- @kbn/securitysolution-utils
- @kbn/server-http-tools
- @kbn/server-route-repository
- @kbn/spec-to-console
- @kbn/std
- @kbn/storybook
- @kbn/telemetry-utils
Expand Down
2 changes: 1 addition & 1 deletion docs/user/dashboard/view-dashboard-usage.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ image:images/view-details-dashboards-8.16.0.png[View details icon in the list of

These details include a graph showing the total number of views during the last 90 days.

image:images/dashboard-usage-count.png[Graph showing the number of views during the last 90 days]
image:images/dashboard-usage-count.png[Graph showing the number of views during the last 90 days, width="50%"]
1 change: 1 addition & 0 deletions oas_docs/output/kibana.serverless.staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48009,6 +48009,7 @@ components:
- started
- stopped
- updating
- error
type: string
Security_Entity_Analytics_API_Entity:
oneOf:
Expand Down
1 change: 1 addition & 0 deletions oas_docs/output/kibana.serverless.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48009,6 +48009,7 @@ components:
- started
- stopped
- updating
- error
type: string
Security_Entity_Analytics_API_Entity:
oneOf:
Expand Down
1 change: 1 addition & 0 deletions oas_docs/output/kibana.staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56775,6 +56775,7 @@ components:
- started
- stopped
- updating
- error
type: string
Security_Entity_Analytics_API_Entity:
oneOf:
Expand Down
1 change: 1 addition & 0 deletions oas_docs/output/kibana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56775,6 +56775,7 @@ components:
- started
- stopped
- updating
- error
type: string
Security_Entity_Analytics_API_Entity:
oneOf:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1292,6 +1292,7 @@
"xstate": "^4.38.2",
"xstate5": "npm:xstate@^5.18.1",
"xterm": "^5.1.0",
"yaml": "^2.5.1",
"yauzl": "^2.10.0",
"yazl": "^2.5.1",
"zod": "^3.22.3"
Expand Down Expand Up @@ -1475,7 +1476,6 @@
"@kbn/serverless-storybook-config": "link:packages/serverless/storybook/config",
"@kbn/some-dev-log": "link:packages/kbn-some-dev-log",
"@kbn/sort-package-json": "link:packages/kbn-sort-package-json",
"@kbn/spec-to-console": "link:packages/kbn-spec-to-console",
"@kbn/stdio-dev-helpers": "link:packages/kbn-stdio-dev-helpers",
"@kbn/storybook": "link:packages/kbn-storybook",
"@kbn/synthetics-e2e": "link:x-pack/plugins/observability_solution/synthetics/e2e",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ describe('registerRouteForBundle', () => {
options: {
access: 'public',
authRequired: false,
httpResource: true,
},
validate: expect.any(Object),
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export function registerRouteForBundle(
{
path: `${routePath}{path*}`,
options: {
httpResource: true,
authRequired: false,
access: 'public',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ describe('start', () => {
describe('breadcrumbs', () => {
it('updates/emits the current set of breadcrumbs', async () => {
const { chrome, service } = await start();
const promise = chrome.getBreadcrumbs$().pipe(toArray()).toPromise();
const promise = firstValueFrom(chrome.getBreadcrumbs$().pipe(toArray()));

chrome.setBreadcrumbs([{ text: 'foo' }, { text: 'bar' }]);
chrome.setBreadcrumbs([{ text: 'foo' }]);
Expand Down Expand Up @@ -425,6 +425,35 @@ describe('start', () => {
]
`);
});

it('allows the project breadcrumb to also be set', async () => {
const { chrome } = await start();

chrome.setBreadcrumbs([{ text: 'foo' }, { text: 'bar' }]); // only setting the classic breadcrumbs

{
const breadcrumbs = await firstValueFrom(chrome.project.getBreadcrumbs$());
expect(breadcrumbs.length).toBe(1);
expect(breadcrumbs[0]).toMatchObject({
'data-test-subj': 'deploymentCrumb',
});
}

chrome.setBreadcrumbs([{ text: 'foo' }, { text: 'bar' }], {
project: { value: [{ text: 'baz' }] }, // also setting the project breadcrumb
});

{
const breadcrumbs = await firstValueFrom(chrome.project.getBreadcrumbs$());
expect(breadcrumbs.length).toBe(2);
expect(breadcrumbs[0]).toMatchObject({
'data-test-subj': 'deploymentCrumb',
});
expect(breadcrumbs[1]).toEqual({
text: 'baz', // the project breadcrumb
});
}
});
});

describe('breadcrumbsAppendExtension$', () => {
Expand Down
Loading

0 comments on commit a931256

Please sign in to comment.