-
Notifications
You must be signed in to change notification settings - Fork 191
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
[DOCS] Execution summary is missing in the find rules API response #1759
Comments
@xcrzx is this executive summary different from this description: |
Hey @jmikell821, |
@xcrzx @jmikell821 I think we shouldn't document Rule execution data like statuses and metrics has never been documented before, although our endpoints have been returning them in the responses (in a different format). We introduced a breaking change to this part of our responses in one of the prior releases, and there is a chance we will need to do this again. There are some current plans to consolidate Alerting Framework rule statuses and Security Solution's statuses, as well as Framework and solution-specific execution metrics. This could be a large enough change to break something. You can check the internal RFC and elastic/kibana#112193 for more details. Let's keep this part undocumented until the work described in the above-mentioned RFC and ticket is complete, and we have a clear understanding of how we're going to be able to extend this data structure in the future (add new metrics etc). This will give us a chance to introduce a breaking change if we absolutely need to. |
@banderror thanks for the update! I will hold off on this for now; please keep me posted when it's appropriate to pick this back up again. Thanks! |
We will keep you posted @jmikell821, thank you for your understanding! This ticket will be in our backlog, we won't forget about it. Hope that in the next 2-3 releases we will have full confidence in our rule monitoring data structures and behavior, and will be aligned with Response Ops on the APIs and how they are going to evolve over time. Thank you 🙏 |
@banderror, I would strongly advise against introducing breaking changes to Get Rules and Find Rules APIs if that's possible. We've never documented the I created this issue after @cavokz had reached out to me asking for a substitution to the Given all the above and considering company-wide Make it Minor initiative, I think the best option would be to document the missing part of the response and limit possible breaking changes. That's said, I'm open to other opinions. @peluja1012, what do you think about that? |
@jmikell821 we had a chat on this and agreed that we could document |
@xcrzx We return CRUD endpoints:
Bulk CRUD endpoints (even if we're going to deprecate them):
Search endpoints:
Could you please double-check in case I missed something? |
Hey @xcrzx and @banderror I want to be clear on what's expected here for @banderror - we can add the
For the deprecated endpoints, we are just adding a note next to each bulk action that contains the deprecated endpoints? |
Hey @jmikell821, @xcrzx is off this week. I'll try to find time to work on this, otherwise, I'll move this ticket to 8.3. Thank you for the info regarding https://github.com/elastic/docs#beta-dev-and-preview-experimental, this is great! Is there a guideline on choosing the right label: beta vs dev vs preview? |
Good question @banderror. Here's some feedback:
That being said, I think |
Description
Find rules API and Get rule API response schemas do not include the
execution_summary
field, which was added in 8.1. We could add the following JSON to the examples in the docs to make them more complete.The text was updated successfully, but these errors were encountered: