Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
1892a97
[Fleet] Add <namespace>@custom component templates to package index t…
jillguyonnet Apr 13, 2026
a8be4ae
Implement namespace isolation
jillguyonnet Apr 15, 2026
2f0ca3d
Changes from make api-docs
kibanamachine Apr 15, 2026
13a0881
Fetch fresh installation
jillguyonnet Apr 15, 2026
7d1cd58
Add concurrency to template creation/deletion
jillguyonnet Apr 15, 2026
7af578d
Derive assetsToAdd from updatedIndexTemplates
jillguyonnet Apr 15, 2026
440a71e
Fix test and correctly propagate space id
jillguyonnet Apr 15, 2026
63593a8
Add new setting in tests
jillguyonnet Apr 16, 2026
b5789a9
Merge branch 'main' into fleet/245181-integration-namespace-custom
elasticmachine Apr 16, 2026
207427a
Fixes
jillguyonnet Apr 16, 2026
099648e
Feedback
jillguyonnet Apr 16, 2026
88cfc01
Fix KQL filter for default namespace
jillguyonnet Apr 16, 2026
39cd9ce
Add escaping to KQL filter
jillguyonnet Apr 16, 2026
482df7c
Add missing maxSize to settings schema
jillguyonnet Apr 17, 2026
25679a4
Changes from make api-docs
kibanamachine Apr 17, 2026
4c6f6e2
Move to async task
jillguyonnet Apr 17, 2026
87d8b95
Changes from make api-docs
kibanamachine Apr 17, 2026
6697971
Add description
jillguyonnet Apr 21, 2026
5fc43ee
Merge branch 'main' into fleet/245181-integration-namespace-custom
jillguyonnet Apr 21, 2026
016a70e
Changes from make api-docs
kibanamachine Apr 21, 2026
6e5b4c6
Use abortController
jillguyonnet Apr 22, 2026
ef4ce18
Handle namespace customization in Installation
jillguyonnet Apr 24, 2026
7e6d0a9
Use getTaskManagerStart() helper
jillguyonnet Apr 24, 2026
4dc7c1a
Gate opting behind allowed namespace prefixes for space
jillguyonnet Apr 27, 2026
3422be2
Merge branch 'main' into fleet/245181-integration-namespace-custom
jillguyonnet Apr 27, 2026
f4727a6
Changes from node scripts/jest_integration -u src/core/server/integra…
kibanamachine Apr 27, 2026
d2e2ad4
Changes from make api-docs
kibanamachine Apr 27, 2026
774b083
Feedback
jillguyonnet Apr 28, 2026
bf12e6e
Fix mappings
jillguyonnet Apr 28, 2026
a4dfb49
OTel fix
jillguyonnet Apr 28, 2026
fd28e3e
Changes from node scripts/jest_integration -u src/core/server/integra…
kibanamachine Apr 28, 2026
d5fb1f7
Fix oas
jillguyonnet Apr 29, 2026
442dacf
Changes from make api-docs
kibanamachine Apr 29, 2026
5f64617
Merge branch 'main' into fleet/245181-integration-namespace-custom
jillguyonnet Apr 29, 2026
3907c4b
Remove spurious change
jillguyonnet Apr 29, 2026
f40880f
Fixes
jillguyonnet Apr 29, 2026
92631c4
Feedback
jillguyonnet Apr 29, 2026
cea4bfc
Changes from node scripts/eslint_all_files --no-cache --fix
kibanamachine Apr 29, 2026
03a8eb2
Task feedback
jillguyonnet Apr 30, 2026
70eae60
Merge branch 'main' into fleet/245181-integration-namespace-custom
jillguyonnet May 1, 2026
359ae04
Changes from node scripts/jest_integration -u src/core/server/integra…
kibanamachine May 1, 2026
c8779d3
Merge branch 'main' into fleet/245181-integration-namespace-custom
kpollich May 4, 2026
0bcf6be
Merge branch 'main' into fleet/245181-integration-namespace-custom
elasticmachine May 5, 2026
b0e1163
Update epm description
criamico May 5, 2026
015b5f3
Update put_update_package.yaml
criamico May 5, 2026
ed34175
Changes from make api-docs
kibanamachine May 5, 2026
cb3a2fe
Add maxSize to BulkNamespaceCustomizationResponseSchema
criamico May 5, 2026
20af739
Changes from make api-docs
kibanamachine May 5, 2026
26cc8e2
Merge branch 'main' into fleet/245181-integration-namespace-custom
elasticmachine May 6, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
165 changes: 161 additions & 4 deletions oas_docs/output/kibana.serverless.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44039,6 +44039,143 @@ paths:
x-metaTags:
- content: Kibana, Elastic Cloud Serverless
name: product_name
/api/fleet/epm/packages/_bulk_namespace_customization:
post:
description: |-
**Spaces method and path for this operation:**

<div><span class="operation-verb post">post</span>&nbsp;<span class="operation-path">/s/{space_id}/api/fleet/epm/packages/_bulk_namespace_customization</span></div>

Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

Enable or disable namespace-level index template customization for a list of packages in one call. Use this for IaC-style declarative flows.<br/><br/>[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.
operationId: post-fleet-epm-packages-bulk-namespace-customization
parameters:
- description: A required header to protect against CSRF attacks
in: header
name: kbn-xsrf
required: true
schema:
example: 'true'
type: string
requestBody:
content:
application/json:
examples:
bulkNamespaceCustomizationRequest:
value:
disable:
- dev
enable:
- production
- staging
packages:
- system
- nginx
schema:
additionalProperties: false
type: object
properties:
disable:
description: Namespaces to disable namespace-level customization for on each package.
items:
type: string
maxItems: 100
type: array
enable:
description: Namespaces to enable namespace-level customization for on each package.
items:
type: string
maxItems: 100
type: array
packages:
description: Package names to apply the customization changes to.
items:
type: string
maxItems: 1000
minItems: 1
type: array
required:
- packages
responses:
'200':
content:
application/json:
examples:
successResponse:
value:
items:
- name: system
namespace_customization_enabled_for:
- production
- staging
success: true
- error: Package nginx is not installed
name: nginx
success: false
schema:
additionalProperties: false
type: object
properties:
items:
items:
additionalProperties: false
type: object
properties:
error:
type: string
name:
type: string
namespace_customization_enabled_for:
description: 'The opt-in list on the package. Returned whenever the package is installed: the new list on success, or the unchanged list when the request is rejected (for example, because of a namespace-prefix restriction).'
items:
type: string
maxItems: 100
type: array
success:
type: boolean
required:
- name
- success
maxItems: 1000
type: array
required:
- items
description: 'OK: A successful request.'
'400':
content:
application/json:
examples:
badRequestResponse:
value:
error: Bad Request
message: 'Namespaces must not appear in both enable and disable: production'
statusCode: 400
schema:
additionalProperties: false
description: Generic Error
type: object
properties:
attributes:
nullable: true
error:
type: string
errorType:
type: string
message:
type: string
statusCode:
type: number
required:
- message
- attributes
description: A bad request.
summary: Bulk enable/disable namespace-level customization for packages
tags:
- Elastic Package Manager (EPM)
x-metaTags:
- content: Kibana, Elastic Cloud Serverless
name: product_name
/api/fleet/epm/packages/_bulk_rollback:
post:
description: |-
Expand Down Expand Up @@ -45669,6 +45806,12 @@ paths:
content:
application/json:
examples:
putUpdatePackageNamespaceCustomizationExample:
description: Enable namespace-level customization for the `production` and `staging` namespaces
value:
namespace_customization_enabled_for:
- production
- staging
putUpdatePackageRequestExample:
description: Update keep_policies_up_to_date setting for a package
value:
Expand All @@ -45679,8 +45822,12 @@ paths:
properties:
keepPoliciesUpToDate:
type: boolean
required:
- keepPoliciesUpToDate
namespace_customization_enabled_for:
description: Namespaces for which namespace-level customization is enabled on this package.
items:
type: string
maxItems: 100
type: array
responses:
'200':
content:
Expand Down Expand Up @@ -47300,6 +47447,12 @@ paths:
content:
application/json:
examples:
putUpdatePackageNamespaceCustomizationExample:
description: Enable namespace-level customization for the `production` and `staging` namespaces
value:
namespace_customization_enabled_for:
- production
- staging
putUpdatePackageRequestExample:
description: Update keep_policies_up_to_date setting for a package
value:
Expand All @@ -47310,8 +47463,12 @@ paths:
properties:
keepPoliciesUpToDate:
type: boolean
required:
- keepPoliciesUpToDate
namespace_customization_enabled_for:
description: Namespaces for which namespace-level customization is enabled on this package.
items:
type: string
maxItems: 100
type: array
responses:
'200':
content:
Expand Down
165 changes: 161 additions & 4 deletions oas_docs/output/kibana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47168,6 +47168,143 @@ paths:
x-metaTags:
- content: Kibana
name: product_name
/api/fleet/epm/packages/_bulk_namespace_customization:
post:
description: |-
**Spaces method and path for this operation:**

<div><span class="operation-verb post">post</span>&nbsp;<span class="operation-path">/s/{space_id}/api/fleet/epm/packages/_bulk_namespace_customization</span></div>

Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

Enable or disable namespace-level index template customization for a list of packages in one call. Use this for IaC-style declarative flows.<br/><br/>[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.
operationId: post-fleet-epm-packages-bulk-namespace-customization
parameters:
- description: A required header to protect against CSRF attacks
in: header
name: kbn-xsrf
required: true
schema:
example: 'true'
type: string
requestBody:
content:
application/json:
examples:
bulkNamespaceCustomizationRequest:
value:
disable:
- dev
enable:
- production
- staging
packages:
- system
- nginx
schema:
additionalProperties: false
type: object
properties:
disable:
description: Namespaces to disable namespace-level customization for on each package.
items:
type: string
maxItems: 100
type: array
enable:
description: Namespaces to enable namespace-level customization for on each package.
items:
type: string
maxItems: 100
type: array
packages:
description: Package names to apply the customization changes to.
items:
type: string
maxItems: 1000
minItems: 1
type: array
required:
- packages
responses:
'200':
content:
application/json:
examples:
successResponse:
value:
items:
- name: system
namespace_customization_enabled_for:
- production
- staging
success: true
- error: Package nginx is not installed
name: nginx
success: false
schema:
additionalProperties: false
type: object
properties:
items:
items:
additionalProperties: false
type: object
properties:
error:
type: string
name:
type: string
namespace_customization_enabled_for:
description: 'The opt-in list on the package. Returned whenever the package is installed: the new list on success, or the unchanged list when the request is rejected (for example, because of a namespace-prefix restriction).'
items:
type: string
maxItems: 100
type: array
success:
type: boolean
required:
- name
- success
maxItems: 1000
type: array
required:
- items
description: 'OK: A successful request.'
'400':
content:
application/json:
examples:
badRequestResponse:
value:
error: Bad Request
message: 'Namespaces must not appear in both enable and disable: production'
statusCode: 400
schema:
additionalProperties: false
description: Generic Error
type: object
properties:
attributes:
nullable: true
error:
type: string
errorType:
type: string
message:
type: string
statusCode:
type: number
required:
- message
- attributes
description: A bad request.
summary: Bulk enable/disable namespace-level customization for packages
tags:
- Elastic Package Manager (EPM)
x-metaTags:
- content: Kibana
name: product_name
/api/fleet/epm/packages/_bulk_rollback:
post:
description: |-
Expand Down Expand Up @@ -48798,6 +48935,12 @@ paths:
content:
application/json:
examples:
putUpdatePackageNamespaceCustomizationExample:
description: Enable namespace-level customization for the `production` and `staging` namespaces
value:
namespace_customization_enabled_for:
- production
- staging
putUpdatePackageRequestExample:
description: Update keep_policies_up_to_date setting for a package
value:
Expand All @@ -48808,8 +48951,12 @@ paths:
properties:
keepPoliciesUpToDate:
type: boolean
required:
- keepPoliciesUpToDate
namespace_customization_enabled_for:
description: Namespaces for which namespace-level customization is enabled on this package.
items:
type: string
maxItems: 100
type: array
responses:
'200':
content:
Expand Down Expand Up @@ -50429,6 +50576,12 @@ paths:
content:
application/json:
examples:
putUpdatePackageNamespaceCustomizationExample:
description: Enable namespace-level customization for the `production` and `staging` namespaces
value:
namespace_customization_enabled_for:
- production
- staging
putUpdatePackageRequestExample:
description: Update keep_policies_up_to_date setting for a package
value:
Expand All @@ -50439,8 +50592,12 @@ paths:
properties:
keepPoliciesUpToDate:
type: boolean
required:
- keepPoliciesUpToDate
namespace_customization_enabled_for:
description: Namespaces for which namespace-level customization is enabled on this package.
items:
type: string
maxItems: 100
type: array
responses:
'200':
content:
Expand Down
Loading
Loading