-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[Fleet] Add proof-of-concept for Fleet settings framework #170539
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
💔 Build FailedFailed CI Steps
Test Failures
Metrics [docs]Module Count
Async chunks
History
To update your PR or re-run it, just comment with: cc @kpollich |
Closing in favor of #179795 |
juliaElastic
added a commit
that referenced
this pull request
Apr 9, 2024
## Summary Follow up on #170539 Related to elastic/ingest-dev#2471 (Phase 1) Dynamically creating settings fields from configuration. These settings are saved in the agent policy SO's `advanced_settings` field. In the current pr the agent policy read/create/update works including the UI. It still has to be extended to support a few more type of settings: e.g. dropdown values, settings consisting of multiple fields. <img width="2212" alt="image" src="https://github.com/elastic/kibana/assets/90178898/c2ee7187-41bf-42a4-8a22-f43ea8ccfb8c"> These settings are added to the full agent policy agents section: <img width="687" alt="image" src="https://github.com/elastic/kibana/assets/90178898/05e244f3-148c-4c88-9b9c-fd665fd0154c"> ## Old description: Add support for saved object mapping and api field name, ## Example API calls and full policy generation <img width="600" alt="Screenshot 2024-04-02 at 3 54 35 PM" src="https://github.com/elastic/kibana/assets/1336873/ee2ea087-3e02-4351-9138-c56ace1d5b34"> <img width="500" alt="Screenshot 2024-04-02 at 4 13 42 PM" src="https://github.com/elastic/kibana/assets/1336873/97514b2e-ef39-475e-8a88-1204ce2c0cda"> <img width="600" alt="Screenshot 2024-04-02 at 4 13 54 PM" src="https://github.com/elastic/kibana/assets/1336873/6553e133-ea07-48b5-b0ec-c45861b9b246"> <img width="600" alt="Screenshot 2024-04-02 at 5 42 27 PM" src="https://github.com/elastic/kibana/assets/1336873/faa560fd-7303-46f5-ae2e-034fc10dddfd"> ## Open questions/Issues ### Saved objects *I think we will still have to do some work to add a new model version when adding a new saved object field, I do not see an easy way to programatically generate that. In a first time it probably could be a manual action to add those migration ### API Open api generation, I think as a first iteration it could be a manual operation to update openAPI spec, but we should be able to programatically generate that with a script in the future --------- Co-authored-by: kibanamachine <[email protected]> Co-authored-by: Julia Bardi <[email protected]> Co-authored-by: Julia Bardi <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ref https://github.com/elastic/ingest-dev/issues/2471
Screen.Recording.2023-11-07.at.9.48.45.AM.mov