-
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] Move remaining timeline route schemas to /common/api #162857
[Security Solution] Move remaining timeline route schemas to /common/api #162857
Conversation
Pinging @elastic/security-solution (Team: SecuritySolution) |
Hey @marshallmain - thanks for doing this, but I wouldn't necessarily consider these api's as part of timeline. If anything I would suggest a |
💚 Build Succeeded
Metrics [docs]
History
To update your PR or re-run it, just comment with: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…api (elastic#162857) Closes elastic/security-team#7099 Follow up to elastic#162314 I mislabeled 3 timeline-related internal APIs as detection engine APIs on [this spreadsheet](https://docs.google.com/spreadsheets/d/1VCoJ74EkyGuj59VwWj_3v2ecB84pNCpzGqkYnS0SUKw/edit?pli=1#gid=1102015677) (create_tags, get_tags_by_name, get_dashboards_by_tags). The APIs are now correctly categorized on the spreadsheet and this PR establishes schemas for them in `/common/api`. I also converted these 3 small schemas to io-ts to make it easier to avoid pulling in `@kbn/config-schema` to `public`, as that increased the async chunk size by a full 840KB.
Closes https://github.com/elastic/security-team/issues/7099
Follow up to #162314
I mislabeled 3 timeline-related internal APIs as detection engine APIs on this spreadsheet (create_tags, get_tags_by_name, get_dashboards_by_tags). The APIs are now correctly categorized on the spreadsheet and this PR establishes schemas for them in
/common/api
.I also converted these 3 small schemas to io-ts to make it easier to avoid pulling in
@kbn/config-schema
topublic
, as that increased the async chunk size by a full 840KB.