Provide logs and/or server output (if relevant):
This is from the kibana logs. Seems like the same message that is returned with the agent_policies 404 response.
...
"message": "500 Server Error",
"error": {
"message": "Saved object [ingest-package-policies/noid] not found"
},
...
Kibana version: 8.13.4 Elasticsearch version: 8.13.4 Server OS version: Elastic Cloud Browser version: N/A Browser OS version: N/A Original install method (e.g. download page, yum, from source, etc.): N/A
Describe the bug: The package_policies API returns 500 on a PUT request with unknown ID.
Steps to reproduce:
Expected behavior: I expect the API to return a 404, just like the agent_policies endpoint:
Provide logs and/or server output (if relevant): This is from the kibana logs. Seems like the same message that is returned with the agent_policies 404 response.