Skip to content

Commit

Permalink
Merge branch 'main' into adhoc_views_in_sourcerer
Browse files Browse the repository at this point in the history
  • Loading branch information
lgestc authored Feb 5, 2025
2 parents 7733265 + 70989af commit 648e6a5
Show file tree
Hide file tree
Showing 683 changed files with 50,486 additions and 10,602 deletions.
1 change: 0 additions & 1 deletion .buildkite/scripts/steps/checks/quick_checks.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
.buildkite/scripts/steps/checks/packages.sh
.buildkite/scripts/steps/checks/bazel_packages.sh
.buildkite/scripts/steps/checks/verify_notice.sh
.buildkite/scripts/steps/checks/plugin_list_docs.sh
.buildkite/scripts/steps/checks/event_log.sh
.buildkite/scripts/steps/checks/telemetry.sh
.buildkite/scripts/steps/checks/jest_configs.sh
Expand Down
2 changes: 1 addition & 1 deletion .buildkite/scripts/steps/console_definitions_sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ main () {
git config --global user.name "$KIBANA_MACHINE_USERNAME"
git config --global user.email '42973632+kibanamachine@users.noreply.github.com'

PR_TITLE="[Console] Update console definitions (${branch_name})"
PR_TITLE="[Console] Update console definitions (${BUILDKITE_BRANCH})"
PR_BODY='This PR updates the console definitions to match the latest ones from the @elastic/elasticsearch-specification repo.'

# Check if a PR already exists
Expand Down
3 changes: 2 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,6 @@ src/platform/packages/private/kbn-transpose-utils @elastic/kibana-visualizations
src/platform/packages/private/kbn-ui-shared-deps-npm @elastic/kibana-operations
src/platform/packages/private/kbn-ui-shared-deps-src @elastic/kibana-operations
src/platform/packages/private/kbn-unsaved-changes-badge @elastic/kibana-data-discovery
src/platform/packages/private/serverless/project_switcher @elastic/appex-sharedux
src/platform/packages/private/serverless/settings/common @elastic/appex-sharedux @elastic/kibana-management
src/platform/packages/private/serverless/types @elastic/appex-sharedux
src/platform/packages/private/shared-ux/page/analytics_no_data/impl @elastic/appex-sharedux
Expand Down Expand Up @@ -800,6 +799,7 @@ x-pack/platform/packages/private/security/ui_components @elastic/kibana-security
x-pack/platform/packages/shared/ai-assistant/common @elastic/search-kibana
x-pack/platform/packages/shared/ai-assistant/icon @elastic/appex-sharedux
x-pack/platform/packages/shared/ai-infra/inference-common @elastic/appex-ai-infra
x-pack/platform/packages/shared/ai-infra/inference-langchain @elastic/appex-ai-infra
x-pack/platform/packages/shared/ai-infra/product-doc-common @elastic/appex-ai-infra
x-pack/platform/packages/shared/file-upload-common @elastic/ml-ui
x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared @elastic/kibana-management
Expand Down Expand Up @@ -2216,6 +2216,7 @@ x-pack/test/security_solution_api_integration/test_suites/sources @elastic/secur
/x-pack/test/security_solution_cypress/* @elastic/security-engineering-productivity
/x-pack/test/security_solution_cypress/cypress/* @elastic/security-engineering-productivity
/x-pack/test/security_solution_cypress/cypress/tasks/login.ts @elastic/security-engineering-productivity
/x-pack/test/security_solution_cypress/cypress/tasks/api_calls/common.ts @elastic/security-engineering-productivity
/x-pack/test/security_solution_cypress/es_archives @elastic/security-engineering-productivity
/x-pack/test/security_solution_playwright @elastic/security-engineering-productivity
/x-pack/solutions/security/plugins/security_solution/scripts/run_cypress @MadameSheema @patrykkopycinski @maximpn @banderror
Expand Down
8 changes: 4 additions & 4 deletions api_docs/kbn_streams_schema.devdocs.json
Original file line number Diff line number Diff line change
Expand Up @@ -1593,10 +1593,10 @@
},
{
"parentPluginId": "@kbn/streams-schema",
"id": "def-common.isUnWiredStreamGetResponse",
"id": "def-common.isUnwiredStreamGetResponse",
"type": "Function",
"tags": [],
"label": "isUnWiredStreamGetResponse",
"label": "isUnwiredStreamGetResponse",
"description": [],
"signature": [
"<TValue extends ",
Expand Down Expand Up @@ -1624,7 +1624,7 @@
"children": [
{
"parentPluginId": "@kbn/streams-schema",
"id": "def-common.isUnWiredStreamGetResponse.$1",
"id": "def-common.isUnwiredStreamGetResponse.$1",
"type": "Uncategorized",
"tags": [],
"label": "value",
Expand Down Expand Up @@ -5016,4 +5016,4 @@
}
]
}
}
}
3 changes: 0 additions & 3 deletions config/serverless.es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,6 @@ xpack.serverless.search.enabled: true
## Set the home route
uiSettings.overrides.defaultRoute: /app/elasticsearch

## Set the dev project switcher current type
xpack.serverless.plugin.developer.projectSwitcher.currentType: 'search'

# Specify in telemetry the project type
telemetry.labels.serverless: search

Expand Down
3 changes: 0 additions & 3 deletions config/serverless.oblt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,6 @@ uiSettings.overrides.defaultRoute: /app/observability/landing
# Customize empty page state for analytics apps
no_data_page.analyticsNoDataPageFlavor: 'serverless_observability'

## Set the dev project switch current type
xpack.serverless.plugin.developer.projectSwitcher.currentType: 'observability'

## Disable adding the component template `.fleet_agent_id_verification-1` to every index template for each datastream for each integration
xpack.fleet.agentIdVerificationEnabled: false

Expand Down
3 changes: 0 additions & 3 deletions config/serverless.security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,6 @@ newsfeed.enabled: true
## Set the home route
uiSettings.overrides.defaultRoute: /app/security/get_started

## Set the dev project switcher current type
xpack.serverless.plugin.developer.projectSwitcher.currentType: 'security'

# Specify in telemetry the project type
telemetry.labels.serverless: security

Expand Down
17 changes: 17 additions & 0 deletions dev_docs/key_concepts/api_authorization.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,23 @@ router.get({
}, handler);
```

### Naming conventions for privileges
1. **Privilege should start with a valid `ApiOperation`**:
- **Valid operations**: `manage`, `read`, `update`, `delete`, `create`.
- Use the corresponding methods from the `ApiPrivileges` utility class: `ApiPrivileges.manage`, `ApiPrivileges.read`, etc.
2. **Use `_` as the separator** between the operation and the subject.

**Examples**:
Incorrect privilege names ❌
- `read-entity-a`: Uses `-` instead of `_`.
- `delete_entity-a`: Mixes `_` and `-`.
- `entity_manage`: Places the subject name before the operation.

Correct privilege names ✅
- `read_entity_a`
- `delete_entity_a`
- `manage_entity`

### Configuring operator and superuser privileges
We have two special predefined privilege sets that can be used in security configuration:
1. Operator
Expand Down
8 changes: 5 additions & 3 deletions docs/api/upgrade-assistant/batch_reindexing.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@

experimental["The underlying Upgrade Assistant concepts are stable, but the APIs for managing Upgrade Assistant are experimental."]

Start or resume multiple <<start-resume-reindex, reindexing>> tasks in one request. Additionally, reindexing tasks started or resumed
via the batch endpoint will be placed on a queue and executed one-by-one, which ensures that minimal cluster resources
are consumed over time.
Start or resume upgrading multiple indices in one request. Additionally, <<start-resume-reindex, reindexing>> tasks for upgrading
indices that are started or resumed via the batch endpoint will be placed on a queue and executed one-by-one. This ensures that
minimal cluster resources are consumed over time.

NOTE: This API does not support data streams.

[[batch-start-resume-reindex-request]]
==== Request
Expand Down
2 changes: 1 addition & 1 deletion fleet_packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
{
"name": "endpoint",
"version": "8.15.1"
"version": "8.18.0"
},
{
"name": "fleet_server",
Expand Down
Loading

0 comments on commit 648e6a5

Please sign in to comment.