add flags to give permissions to write to any dataset and namespace#157897
add flags to give permissions to write to any dataset and namespace#157897felixbarny merged 3 commits intoelastic:mainfrom
Conversation
|
Pinging @elastic/fleet (Team:Fleet) |
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
|
I have tested the behaviour with the custom logs integration (as an example of an input package) and with some sample nginx access logs being redirected to the I created the following custom pipeline curl --location --request PUT 'https://localhost:9200/_ingest/pipeline/logs-generic@custom' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic ZWxhc3RpYzpjaGFuZ2VtZQ==' \
--data '{
"description": "My optional pipeline description",
"processors": [
{
"set": {
"description": "My optional processor description",
"field": "my-long-field",
"value": 10
}
},
{
"reroute": {
"dataset": "test",
"namespace": "test"
}
}
]
}' |
|
Closes: #elastic/integrations#5989 |
|
Needs some tests, otherwise LGTM |
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]Page load bundle
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: cc @gsantoro |
|
@juliaElastic are the API keys expected to be automatically updated and propagated to the agent or do users need to re-install the integration? |
|
@felixbarny Do you mean if we introduce these changes in a package upgrade? I'm not sure, can we test it? |
|
I would expect that it should be applied automatically to agents when the integration policy is upgraded, after some delay as the change rolls out. |
|
I guess there are two cases:
|
…lastic#157897) Add flags to give permissions to reroute events from an input package to other datastreams with the same type but different dataset and namespace. ``` elasticsearch.dynamic_dataset: true elasticsearch.dynamic_namespace: true, ```
Summary
Add flags to give permissions to reroute events from an input package to other datastreams with the same type but different dataset and namespace.
Closes: #elastic/integrations#5989
Checklist
Delete any items that are not applicable to this PR.