Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flags to allow for routing to dynamic datasets and namespaces #327

Merged
merged 10 commits into from
Nov 17, 2022
3 changes: 3 additions & 0 deletions spec/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
- description: Allow to include a sample event in input packages
type: enhancement
link: https://github.com/elastic/package-spec/pull/447
- description: Add "elasticsearch.dynamic_dataset" and "elasticsearch.dynamic_namespace" to data stream manifest
type: enhancement
link: https://github.com/elastic/package-spec/pull/327
- version: 2.1.0
changes:
- description: Allowing multiple services included as part of custom-agent-deployer
Expand Down
6 changes: 6 additions & 0 deletions spec/integration/data_stream/manifest.spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -252,5 +252,11 @@ spec:
- "synthetic"
examples:
- "synthetic"
dynamic_dataset:
description: When set to true, agents running this integration are granted data stream privileges for all datasets of its type
type: boolean
dynamic_namespace:
description: When set to true, agents running this integration are granted data stream privileges for all namespaces of its type
type: boolean
required:
- title
2 changes: 2 additions & 0 deletions test/packages/good/data_stream/foo/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@ elasticsearch.index_template.mappings:
b: 1
elasticsearch.index_template.ingest_pipeline.name: foobar
elasticsearch.privileges.indices: [auto_configure, create_doc, monitor]
elasticsearch.dynamic_dataset: true
elasticsearch.dynamic_namespace: true