Skip to content

[Security Solution] Move remaining timeline route schemas to /common/api#162857

Merged
marshallmain merged 7 commits intoelastic:mainfrom
marshallmain:remaining-timeline-route-schemas
Aug 9, 2023
Merged

[Security Solution] Move remaining timeline route schemas to /common/api#162857
marshallmain merged 7 commits intoelastic:mainfrom
marshallmain:remaining-timeline-route-schemas

Conversation

@marshallmain
Copy link
Contributor

@marshallmain marshallmain commented Aug 1, 2023

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 to public, as that increased the async chunk size by a full 840KB.

@marshallmain marshallmain added v8.10.0 release_note:skip Skip the PR/issue when compiling release notes labels Aug 1, 2023
@marshallmain marshallmain marked this pull request as ready for review August 2, 2023 18:27
@marshallmain marshallmain requested review from a team as code owners August 2, 2023 18:27
@marshallmain marshallmain added the Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. label Aug 3, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

@michaelolo24
Copy link
Contributor

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 dashboards folder or similar for the @elastic/security-threat-hunting-explore team

@kibana-ci
Copy link

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@semd semd requested review from a team and removed request for a team August 8, 2023 19:41
Copy link
Contributor

@semd semd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@marshallmain marshallmain merged commit db0996f into elastic:main Aug 9, 2023
@kibanamachine kibanamachine added the backport:skip This PR does not require backporting label Aug 9, 2023
bryce-b pushed a commit to bryce-b/kibana that referenced this pull request Aug 9, 2023
…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.
@marshallmain marshallmain deleted the remaining-timeline-route-schemas branch April 4, 2025 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. v8.10.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants