Closed kpollich closed 1 week ago
Pinging @elastic/fleet (Team:Fleet)
Not sure if it should be part of this ticket, but we also have some deprecations in fleet/server/config
: https://github.com/elastic/kibana/blob/d9c1f9702b5dd426f19d2faf877fe183c0e93859/x-pack/plugins/fleet/server/config.ts#L52
We also have an older ticket where we tracked some of the API deprecations: https://github.com/elastic/kibana/issues/121485
I don't see some of them (like the output_id
property inpackage_policies
) listed here so we should to take a look at it as well.
The list should be accurate now based on all deprecated notices in https://github.com/elastic/kibana/blob/main/x-pack/plugins/fleet/common/openapi/bundled.yaml
This is going to require a new API version for serverless.
Reopening since the private breaking change committee issue will be closed at some point to indicate the changes are approved.
@criamico I have a question regarding removing sortField
it seems it's not marked as deprecated in the schema generated open API, and it's used by our UI, do we have a better option for that property? or should we skip that removal?
I think we can close this one, all API removal PRs have been merged, except for:
policy_id
has not been removed has that change is really recent and it's still used in some of our tools (terraform plugin, observability-perf) I created follow up issues
These are breaking changes for 9.0
The following API operations, request parameters, and response properties are deprecated, and should be removed in 9.0
Endpoints to remove
POST /service-tokens
POST /service_tokens
(underscore)/agent-status
GET /agent_status
(underscore)PUT /agents/:agentid/reassign
PUT
verb deprecated in favor ofPOST
GET/POST/DELETE /epm/packages/:pkgkey
/epm/packages/:pkgname/:pkgversion
endpoints (slash delimiter for name/version)GET/POST/DELETE /enrollment-api-keys/*
/enrollment_api_keys
(underscores)Query parameters to remove
GET /epm/categories
?experimental
GET /epm/packages/
?experimental
GET /agent_status
?kuery
?sort_field
Request/response properties to remove
DELETE /epm/packages/:pkgname/:pkgversion
POST /health_check
host
in request + responseGET /epm/packages/:pkgname/:pkgversion
savedObject
+release
in responseGET /agent_status
total
in responseGET /enrollment_api_keys/
list
in responsePOST /settings
fleet_server_hosts
in responsePOST /epm/bulk_assets
GET /epm/categories
response
in responseGET /epm/packages
response
in responseGET /epm/packages
saved_object
in responseGET /agents
list
in responsePOST/PUT /packages_policies
policy_id
in responseGET/POST/PUT /settings/outputs
topics
in response