Skip to content

Commit

Permalink
Merge branch '8.x' into logs-ui-robust-log-view-resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
weltenwort authored Feb 11, 2025
2 parents 0d16030 + 32a3b22 commit d1f1450
Show file tree
Hide file tree
Showing 1,018 changed files with 12,397 additions and 12,260 deletions.
19 changes: 19 additions & 0 deletions .buildkite/pipelines/on_merge_unsupported_ftrs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,22 @@ steps:
limit: 3
- exit_status: '*'
limit: 1

- command: .buildkite/scripts/steps/functional/scout_ui_tests.sh
label: 'Scout UI Tests'
agents:
image: family/kibana-ubuntu-2004
imageProject: elastic-images-prod
provider: gcp
machineType: n2-standard-8
preemptible: true
depends_on: build
env:
PING_SLACK_TEAM: "@appex-qa-team"
timeout_in_minutes: 60
retry:
automatic:
- exit_status: '-1'
limit: 2
- exit_status: '*'
limit: 1
4 changes: 2 additions & 2 deletions .buildkite/scripts/pipelines/pull_request/pipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ const getPipeline = (filename: string, removeSteps = true) => {
/^x-pack\/solutions\/security\/plugins\/security_solution_ess/,
/^x-pack\/solutions\/security\/plugins\/security_solution_serverless/,
/^x-pack\/platform\/plugins\/shared\/task_manager/,
/^x-pack\/solutions\/security\/plugins\/timelines/,
/^x-pack\/platform\/plugins\/shared\/timelines/,
/^x-pack\/platform\/plugins\/shared\/triggers_actions_ui\/public\/application\/sections\/action_connector_form/,
/^x-pack\/platform\/plugins\/shared\/triggers_actions_ui\/public\/application\/context\/actions_connectors_context\.tsx/,
/^x-pack\/platform\/plugins\/shared\/triggers_actions_ui\/server\/connector_types\/openai/,
Expand Down Expand Up @@ -359,7 +359,7 @@ const getPipeline = (filename: string, removeSteps = true) => {
/^x-pack\/solutions\/security\/plugins\/security_solution_serverless/,
/^x-pack\/platform\/plugins\/shared\/task_manager/,
/^x-pack\/solutions\/security\/plugins\/threat_intelligence/,
/^x-pack\/solutions\/security\/plugins\/timelines/,
/^x-pack\/platform\/plugins\/shared\/timelines/,
/^x-pack\/platform\/plugins\/shared\/triggers_actions_ui/,
/^x-pack\/platform\/plugins\/shared\/usage_collection\/public/,
/^x-pack\/test\/functional\/es_archives\/security_solution/,
Expand Down
18 changes: 9 additions & 9 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -1118,8 +1118,8 @@ module.exports = {
'x-pack/solutions/security/plugins/security_solution/common/**/*.{js,mjs,ts,tsx}',
'x-pack/solutions/security/plugins/security_solution_ess/common/**/*.{js,mjs,ts,tsx}',
'x-pack/solutions/security/plugins/security_solution_serverless/common/**/*.{js,mjs,ts,tsx}',
'x-pack/solutions/security/plugins/timelines/public/**/*.{js,mjs,ts,tsx}',
'x-pack/solutions/security/plugins/timelines/common/**/*.{js,mjs,ts,tsx}',
'x-pack/platform/plugins/shared/timelines/public/**/*.{js,mjs,ts,tsx}',
'x-pack/platform/plugins/shared/timelines/common/**/*.{js,mjs,ts,tsx}',
'x-pack/platform/plugins/shared/cases/public/**/*.{js,mjs,ts,tsx}',
'x-pack/platform/plugins/shared/cases/common/**/*.{js,mjs,ts,tsx}',
'src/platform/packages/shared/kbn-cell-actions/**/*.{js,mjs,ts,tsx}',
Expand Down Expand Up @@ -1153,7 +1153,7 @@ module.exports = {
'x-pack/solutions/security/plugins/security_solution/**/*.{ts,tsx}',
'x-pack/solutions/security/plugins/security_solution_ess/**/*.{ts,tsx}',
'x-pack/solutions/security/plugins/security_solution_serverless/**/*.{ts,tsx}',
'x-pack/solutions/security/plugins/timelines/**/*.{ts,tsx}',
'x-pack/platform/plugins/shared/timelines/**/*.{ts,tsx}',
'x-pack/platform/plugins/shared/cases/**/*.{ts,tsx}',
'src/platform/packages/shared/kbn-cell-actions/**/*.{js,mjs,ts,tsx}',
],
Expand All @@ -1168,7 +1168,7 @@ module.exports = {
'x-pack/solutions/security/plugins/security_solution/**/*.{test,mock,test_helper}.{ts,tsx}',
'x-pack/solutions/security/plugins/security_solution_ess/**/*.{test,mock,test_helper}.{ts,tsx}',
'x-pack/solutions/security/plugins/security_solution_serverless/**/*.{test,mock,test_helper}.{ts,tsx}',
'x-pack/solutions/security/plugins/timelines/**/*.{test,mock,test_helper}.{ts,tsx}',
'x-pack/platform/plugins/shared/timelines/**/*.{test,mock,test_helper}.{ts,tsx}',
'x-pack/platform/plugins/shared/cases/**/*.{test,mock,test_helper}.{ts,tsx}',
'src/platform/packages/shared/kbn-cell-actions/**/*.{test,mock,test_helper}.{ts,tsx}',
],
Expand All @@ -1189,7 +1189,7 @@ module.exports = {
'x-pack/solutions/security/plugins/security_solution/**/*.{ts,tsx}',
'x-pack/solutions/security/plugins/security_solution_ess/**/*.{ts,tsx}',
'x-pack/solutions/security/plugins/security_solution_serverless/**/*.{ts,tsx}',
'x-pack/solutions/security/plugins/timelines/**/*.{ts,tsx}',
'x-pack/platform/plugins/shared/timelines/**/*.{ts,tsx}',
'x-pack/platform/plugins/shared/cases/**/*.{ts,tsx}',
'src/platform/packages/shared/kbn-cell-actions/**/*.{ts,tsx}',
],
Expand Down Expand Up @@ -1223,7 +1223,7 @@ module.exports = {
'x-pack/solutions/security/plugins/security_solution/**/*.{js,mjs,ts,tsx}',
'x-pack/solutions/security/plugins/security_solution_ess/**/*.{js,mjs,ts,tsx}',
'x-pack/solutions/security/plugins/security_solution_serverless/**/*.{js,mjs,ts,tsx}',
'x-pack/solutions/security/plugins/timelines/**/*.{js,mjs,ts,tsx}',
'x-pack/platform/plugins/shared/timelines/**/*.{js,mjs,ts,tsx}',
'x-pack/platform/plugins/shared/cases/**/*.{js,mjs,ts,tsx}',
'x-pack/solutions/security/packages/data-stream-adapter/**/*.{js,mjs,ts,tsx}',
'src/platform/packages/shared/kbn-cell-actions/**/*.{js,mjs,ts,tsx}',
Expand Down Expand Up @@ -2034,10 +2034,10 @@ module.exports = {
'src/cli_setup/**', // is importing "@kbn/interactive-setup-plugin" (platform/private)
'src/dev/build/tasks/install_chromium.ts', // is importing "@kbn/screenshotting-plugin" (platform/private)

// FIXME @kbn/osquery-plugin has dependencies on:
// - @kbn/timelines-plugin (security/private) https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/osquery/public/types.ts#L20
// - @kbn/security-solution-plugin (security/private) this one is “less critical” as it is cypress depending on cypress
// FIXME tomsonpl @kbn/osquery-plugin depends on @kbn/security-solution-plugin (security/private) (cypress code => cypress code)
'x-pack/platform/plugins/shared/osquery/**',
// FIXME PhilippeOberti @kbn/timelines-plugin depends on security-solution-plugin (security/private) (timelines is going to disappear)
'x-pack/platform/plugins/shared/timelines/**',

// For now, we keep the exception to let tests depend on anythying.
// Ideally, we need to classify the solution specific ones to reduce CI times
Expand Down
6 changes: 3 additions & 3 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ x-pack/platform/packages/shared/kbn-alerting-comparators @elastic/response-ops
x-pack/examples/alerting_example @elastic/response-ops
x-pack/test/functional_with_es_ssl/plugins/alerts @elastic/response-ops
x-pack/platform/plugins/shared/alerting @elastic/response-ops
x-pack/platform/packages/shared/alerting_rule_utils @elastic/obs-ux-management-team
x-pack/platform/packages/private/kbn-alerting-state-types @elastic/response-ops
src/platform/packages/shared/kbn-alerting-types @elastic/response-ops
src/platform/packages/shared/kbn-alerts-as-data-utils @elastic/response-ops
Expand Down Expand Up @@ -599,6 +600,7 @@ src/platform/packages/shared/kbn-logging @elastic/kibana-core
src/platform/packages/shared/kbn-logging-mocks @elastic/kibana-core
x-pack/platform/plugins/shared/logs_data_access @elastic/obs-ux-logs-team
x-pack/solutions/observability/plugins/logs_explorer @elastic/obs-ux-logs-team
x-pack/platform/packages/shared/logs_overview @elastic/obs-ux-logs-team
x-pack/platform/plugins/shared/logs_shared @elastic/obs-ux-logs-team
x-pack/platform/plugins/private/logstash @elastic/logstash
src/platform/packages/private/kbn-managed-content-badge @elastic/kibana-visualizations
Expand Down Expand Up @@ -677,12 +679,10 @@ x-pack/platform/plugins/shared/observability_ai_assistant @elastic/obs-ai-assist
x-pack/solutions/observability/packages/observability_ai/observability_ai_common @elastic/obs-ai-assistant
x-pack/solutions/observability/packages/observability_ai/observability_ai_server @elastic/obs-ai-assistant
x-pack/solutions/observability/packages/alert_details @elastic/obs-ux-management-team
x-pack/platform/packages/shared/observability/alerting_rule_utils @elastic/obs-ux-management-team
x-pack/solutions/observability/packages/alerting_test_data @elastic/obs-ux-management-team
x-pack/test/cases_api_integration/common/plugins/observability @elastic/response-ops
x-pack/solutions/observability/packages/get_padded_alert_time_range_util @elastic/obs-ux-management-team
x-pack/solutions/observability/plugins/observability_logs_explorer @elastic/obs-ux-logs-team
x-pack/platform/packages/shared/observability/logs_overview @elastic/obs-ux-logs-team
x-pack/solutions/observability/plugins/observability_onboarding/e2e @elastic/obs-ux-logs-team
x-pack/solutions/observability/plugins/observability_onboarding @elastic/obs-ux-logs-team
x-pack/solutions/observability/plugins/observability @elastic/obs-ux-management-team
Expand Down Expand Up @@ -981,7 +981,7 @@ x-pack/examples/testing_embedded_lens @elastic/kibana-visualizations
x-pack/examples/third_party_lens_navigation_prompt @elastic/kibana-visualizations
x-pack/examples/third_party_vis_lens_example @elastic/kibana-visualizations
x-pack/solutions/security/plugins/threat_intelligence @elastic/security-threat-hunting-investigations
x-pack/solutions/security/plugins/timelines @elastic/security-threat-hunting-investigations
x-pack/platform/plugins/shared/timelines @elastic/security-threat-hunting-investigations
src/platform/packages/private/kbn-timelion-grammar @elastic/kibana-visualizations
src/platform/packages/shared/kbn-timerange @elastic/obs-ux-logs-team
src/platform/packages/private/kbn-tinymath @elastic/kibana-visualizations
Expand Down
49 changes: 49 additions & 0 deletions docs/CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@

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

* <<release-notes-8.17.2>>
* <<release-notes-8.17.1>>
* <<release-notes-8.17.0>>
* <<release-notes-8.16.4>>
* <<release-notes-8.16.3>>
* <<release-notes-8.16.2>>
* <<release-notes-8.16.1>>
Expand Down Expand Up @@ -85,6 +87,19 @@ Review important information about the {kib} 8.x releases.

include::upgrade-notes.asciidoc[]

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

The 8.17.2 release includes the following bug fixes.

[float]
[[fixes-v8.17.2]]
=== Bug fixes
Discover::
* Fixes an issue where `KEEP` columns are not applied after {es} error ({kibana-pull}205833[#205833]).
Elastic Observability solution::
* Fixes monitor status rule for empty KQL query results ({kibana-pull}208922[#208922]).
* Fixes knowledge base installation state ({kibana-pull}206130[#206130]).

[[release-notes-8.17.1]]
== {kib} 8.17.1
Expand Down Expand Up @@ -274,6 +289,40 @@ Machine Learning::
Kibana platform::
* Fixes an issue with the global search field that could open the wrong page when pressing "Enter" while results were not yet fully loaded ({kibana-pull}197750[#197750]).

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

The 8.16.4 release includes the following bug fixes.

[float]
[[fixes-v8.16.4]]
=== Bug fixes
Dashboards and visualizations::
* Fixes an issue with all embeddables getting rebuilt on refresh ({kibana-pull}209677[#209677]).
* Sets options list control to fetch a maximum of 1,000 terms upon scrolling ({kibana-pull}207901[#207901]).
* Fixes scroll-jumping when interacting with the Lens editor flyout ({kibana-pull}207429[#207429]).
* Fixes an issue with Kibana Chrome appearing in generated reports ({kibana-pull}206988[#206988]).
* Fixes missing highlight theme for HJSON in *Vega* ({kibana-pull}208858[#208858]).
* Adds an accessible label to range slider in *Lens* ({kibana-pull}205308[#205308]).
Discover::
* Fixes document comparison table padding ({kibana-pull}205984[#205984]).
Osquery::
* Increases maximum Osquery timeout to 24 hours ({kibana-pull}207276[#207276]).
Elastic Observability solution::
* Displays `No Data` in Threshold breached component ({kibana-pull}209561[#209561]).
* Fixes the preview chart in the Custom threshold rule creation form when the field name has slashes ({kibana-pull}209263[#209263]).
* Fixes multiple AI assistant flyouts ({kibana-pull}209158[#209158]).
* Fixes using data view runtime fields during rule execution for the custom threshold rule ({kibana-pull}209133[#209133]).
* Fixes an issue with running processes missing from the processes table ({kibana-pull}209076[#209076]).
* Fixes heatmap regression when Inspect flag is turned off ({kibana-pull}208726[#208726]).
* Fixes missing exception stack trace ({kibana-pull}208577[#208577]).
* Fixes leading wildcard issue on the Custom threshold alert details page ({kibana-pull}206615[#206615]).
Elastic Security solution::
For the Elastic Security 8.16.4 release information, refer to {security-guide}/release-notes.html[_Elastic Security Solution Release Notes_].
Kibana security::
* Fixes breaks in YAML parsing by using single quotes in Structured log template ({kibana-pull}209736[#209736]).
* Adds missing fields to input manifest templates ({kibana-pull}208768[#208768]).
* Adds missing fields into AWS S3 manifest ({kibana-pull}208080[#208080]).
[[release-notes-8.16.3]]
== {kib} 8.16.3

Expand Down
2 changes: 1 addition & 1 deletion docs/developer/plugin-list.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -947,7 +947,7 @@ in their infrastructure.
|Elastic Threat Intelligence makes it easy to analyze and investigate potential security threats by aggregating data from multiple sources in one place. You’ll be able to view data from all activated threat intelligence feeds and take action.
|{kib-repo}blob/{branch}/x-pack/solutions/security/plugins/timelines/README.md[timelines]
|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/timelines/README.md[timelines]
|Timelines is a plugin that provides a grid component with accompanying server side apis to help users identify events of interest and perform root cause analysis within Kibana.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export function AddButton({ pageApi, uiActions }: { pageApi: unknown; uiActions:
return (
<EuiContextMenuItem
key={action.id}
icon="share"
icon={action?.getIconType(actionContext) ?? ''}
onClick={() => {
action.execute(actionContext);
setIsPopoverOpen(false);
Expand Down
6 changes: 4 additions & 2 deletions examples/feature_control_examples/server/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,10 @@ export class FeatureControlsPluginExample
{
path: '/internal/my_plugin/sensitive_action',
validate: false,
options: {
tags: ['access:my_closed_example_api'],
security: {
authz: {
requiredPrivileges: ['my_closed_example_api'],
},
},
},
async (context, request, response) => {
Expand Down
6 changes: 5 additions & 1 deletion examples/user_profile_examples/server/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ export class UserProfilesPlugin implements Plugin<void, void, SetupDeps, StartDe
/**
* Important: You must restrict access to this endpoint using access `tags`.
*/
options: { tags: ['access:suggestUserProfiles'] },
security: {
authz: {
requiredPrivileges: ['suggestUserProfiles'],
},
},
},
async (context, request, response) => {
const [, pluginDeps] = await core.getStartServices();
Expand Down
73 changes: 48 additions & 25 deletions oas_docs/output/kibana.serverless.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47205,7 +47205,22 @@ components:
required:
- parameters
Security_Endpoint_Management_API_GetProcessesRouteRequestBody:
$ref: '#/components/schemas/Security_Endpoint_Management_API_NoParametersRequestSchema'
type: object
properties:
agent_type:
$ref: '#/components/schemas/Security_Endpoint_Management_API_AgentTypes'
alert_ids:
$ref: '#/components/schemas/Security_Endpoint_Management_API_AlertIds'
case_ids:
$ref: '#/components/schemas/Security_Endpoint_Management_API_CaseIds'
comment:
$ref: '#/components/schemas/Security_Endpoint_Management_API_Comment'
endpoint_ids:
$ref: '#/components/schemas/Security_Endpoint_Management_API_EndpointIds'
parameters:
$ref: '#/components/schemas/Security_Endpoint_Management_API_Parameters'
required:
- endpoint_ids
Security_Endpoint_Management_API_HostPathScriptParameters:
type: object
properties:
Expand All @@ -47224,7 +47239,22 @@ components:
required:
- hostPath
Security_Endpoint_Management_API_IsolateRouteRequestBody:
$ref: '#/components/schemas/Security_Endpoint_Management_API_NoParametersRequestSchema'
type: object
properties:
agent_type:
$ref: '#/components/schemas/Security_Endpoint_Management_API_AgentTypes'
alert_ids:
$ref: '#/components/schemas/Security_Endpoint_Management_API_AlertIds'
case_ids:
$ref: '#/components/schemas/Security_Endpoint_Management_API_CaseIds'
comment:
$ref: '#/components/schemas/Security_Endpoint_Management_API_Comment'
endpoint_ids:
$ref: '#/components/schemas/Security_Endpoint_Management_API_EndpointIds'
parameters:
$ref: '#/components/schemas/Security_Endpoint_Management_API_Parameters'
required:
- endpoint_ids
Security_Endpoint_Management_API_KillProcessRouteRequestBody:
allOf:
- type: object
Expand Down Expand Up @@ -47309,28 +47339,6 @@ components:
minLength: 1
pattern: ^(?! *$).+$
type: string
Security_Endpoint_Management_API_NoParametersRequestSchema:
type: object
properties:
body:
type: object
properties:
agent_type:
$ref: '#/components/schemas/Security_Endpoint_Management_API_AgentTypes'
alert_ids:
$ref: '#/components/schemas/Security_Endpoint_Management_API_AlertIds'
case_ids:
$ref: '#/components/schemas/Security_Endpoint_Management_API_CaseIds'
comment:
$ref: '#/components/schemas/Security_Endpoint_Management_API_Comment'
endpoint_ids:
$ref: '#/components/schemas/Security_Endpoint_Management_API_EndpointIds'
parameters:
$ref: '#/components/schemas/Security_Endpoint_Management_API_Parameters'
required:
- endpoint_ids
required:
- body
Security_Endpoint_Management_API_Page:
default: 1
description: Page number
Expand Down Expand Up @@ -47483,7 +47491,22 @@ components:
minLength: 1
type: array
Security_Endpoint_Management_API_UnisolateRouteRequestBody:
$ref: '#/components/schemas/Security_Endpoint_Management_API_NoParametersRequestSchema'
type: object
properties:
agent_type:
$ref: '#/components/schemas/Security_Endpoint_Management_API_AgentTypes'
alert_ids:
$ref: '#/components/schemas/Security_Endpoint_Management_API_AlertIds'
case_ids:
$ref: '#/components/schemas/Security_Endpoint_Management_API_CaseIds'
comment:
$ref: '#/components/schemas/Security_Endpoint_Management_API_Comment'
endpoint_ids:
$ref: '#/components/schemas/Security_Endpoint_Management_API_EndpointIds'
parameters:
$ref: '#/components/schemas/Security_Endpoint_Management_API_Parameters'
required:
- endpoint_ids
Security_Endpoint_Management_API_UploadRouteRequestBody:
allOf:
- type: object
Expand Down
Loading

0 comments on commit d1f1450

Please sign in to comment.