Skip to content

[SIEM] Eliminate Superfluous Untitled Timelines#64341

Merged
patrykkopycinski merged 121 commits intoelastic:masterfrom
patrykkopycinski:feat/siem-untitled-timeline
May 6, 2020
Merged

[SIEM] Eliminate Superfluous Untitled Timelines#64341
patrykkopycinski merged 121 commits intoelastic:masterfrom
patrykkopycinski:feat/siem-untitled-timeline

Conversation

@patrykkopycinski
Copy link
Copy Markdown
Contributor

@patrykkopycinski patrykkopycinski commented Apr 23, 2020

Summary

This PR introduces a new type of timeline: draft, which will be used for temporary timeline investigations and is going to reduce amount of Untitled Timelines.

With these changes, if the user would like to keep the timeline investigation he has to put the title to the timeline, otherwise, he risks that the timeline data is going to be erased, as we are going to reuse the same draft timeline instance.

Changes in the PR:

  1. Added REST urls for retrieving and resetting draft timeline:
  • GET /api/timeline/_draft to retrieve the draft timeline
  • POST /api/timeline/_draf/clean to reset the draft timeline
  1. Updated import/export REST logic when importing/exporting draft timelines
  • when the draft timeline is exported the timelineType will be changed to default (as regular timelines)
  • when the draft timeline is imported the timelineType will be changed to default (as regular timelines)

Untitled_ May 6, 2020 2_27 PM (2)

Checklist

@XavierM
Copy link
Copy Markdown
Contributor

XavierM commented May 6, 2020

@elasticmachine merge upstream

@cnasikas
Copy link
Copy Markdown
Member

cnasikas commented May 6, 2020

@elasticmachine merge upstream

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

History

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

@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/siem (Team:SIEM)

@patrykkopycinski patrykkopycinski merged commit a06c02f into elastic:master May 6, 2020
@patrykkopycinski patrykkopycinski deleted the feat/siem-untitled-timeline branch May 6, 2020 12:56
patrykkopycinski added a commit to patrykkopycinski/kibana that referenced this pull request May 6, 2020
patrykkopycinski added a commit to patrykkopycinski/kibana that referenced this pull request May 6, 2020
spalger added a commit that referenced this pull request May 6, 2020
@kibanamachine
Copy link
Copy Markdown
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.

@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label May 8, 2020
@kibanamachine
Copy link
Copy Markdown
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.

@kibanamachine
Copy link
Copy Markdown
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 64341 or prevent reminders by adding the backport:skip label.

@patrykkopycinski patrykkopycinski added the backport:skip This PR does not require backporting label May 12, 2020
@kibanamachine kibanamachine removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label May 12, 2020
@MindyRS MindyRS added the Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. label Sep 23, 2021
@elasticmachine
Copy link
Copy Markdown
Contributor

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

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:enhancement Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:SIEM v7.8.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants