-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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 a preconfiguration reset API #121887
Comments
Pinging @elastic/fleet (Team:Fleet) |
I think we should make the path for this API to use the
|
@nchaulet We'd like to get this in for 7.17 to help with supportability of 7.x. Do you have capacity to work on this? |
Sure I can find some time for that before 7.17 feature freeze :) |
Test instructions:
|
Hi @joshdover Then we ran the API call. Please let us know if this is the required outcome. |
Looks great, thanks! |
Scoped down version of #118214
Adding this API would help support in fixing issues that are coming up frequently in the 7.x release series. Having an API over manual workaround steps allows us to have a consistent remediation that is not vulnerable to human mistake.
Proposal
This API will delete all the saved objects related to the default policies:
Then we should clean all .fleet-* internal for these policies
.fleet-enrollment-tokens
- we should try to invalidate the related API key when deleting a document from here..fleet-policies
Then this should call the setup to restore the preconfigured policies (within the same API call, not a separate step that a support engineer would have to run).
The text was updated successfully, but these errors were encountered: