-
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
[Security Solution][DQD][API] Change /results route to support new api design (Phase 1) #182868
Comments
Pinging @elastic/security-threat-hunting-explore (Team:Threat Hunting:Explore) |
Pinging @elastic/security-threat-hunting (Team:Threat Hunting) |
update: since current |
…nstead of query params - Changed the `RESULTS_API_ROUTE` to `RESULTS_INDICES_LATEST_ROUTE` with path parameter `{pattern}`. - Updated `getStorageResults` function to use the new route. - Modified tests to reflect the new route and parameter usage. - Updated server route validation to use path parameters instead of query parameters. closes elastic#182868
…n place of query params (#183696) - Changed the `RESULTS_API_ROUTE` to `RESULTS_INDICES_LATEST_ROUTE` with path parameter `{pattern}`. - Updated `getStorageResults` function to use the new route. - Modified tests to reflect the new route and parameter usage. - Updated server route validation to use path parameters instead of query parameters. closes #182868 **This is an internal route api change, so no breaking changes** **Before** ![image](https://github.com/elastic/kibana/assets/1625373/248e07e0-2a10-4658-8541-24330e2dc2ad) **After:** ![image](https://github.com/elastic/kibana/assets/1625373/d0469b33-d240-4de0-9a39-4ab510aa342b)
This route has been further updated and simplified as part of #184297 |
This is a follow up ticket to #181945 with a new consensus
/results
api design.GET /results/indices_latest/:pattern
- get latest index resultsreturns
Acceptance criteria:
/results
in DQD implementation on both server and client to support the new suggested api design above. Rename/results
to/results/indices_latest/:pattern
.The text was updated successfully, but these errors were encountered: