Skip to content
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

[SIEM] Refactor Timeline.timelineType draft to Timeline.status draft #66864

Merged

Conversation

patrykkopycinski
Copy link
Contributor

Summary

The current solution for draft timeline by using TimelineType doesn't allow us to support draft timeline instance per TimelineType, so this PR refactor previously added in #65783 TimellineType.draft and instead introduces new status field, which currently will be either draft or active, but in the future may be used to support more sophisticated timeline flow, like e.x ability to archive the timeline when the case has been closed.

Checklist

@patrykkopycinski patrykkopycinski added Team:SIEM v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.8.0 labels May 17, 2020
@patrykkopycinski patrykkopycinski self-assigned this May 17, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/siem (Team:SIEM)

@patrykkopycinski patrykkopycinski marked this pull request as ready for review May 18, 2020 16:02
@patrykkopycinski patrykkopycinski requested review from a team as code owners May 18, 2020 16:02
Copy link
Contributor

@angorayc angorayc left a comment

Choose a reason for hiding this comment

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

Played around with it, all works well! Thank you @patrykkopycinski !!

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

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

@patrykkopycinski patrykkopycinski merged commit 19c625b into elastic:master May 20, 2020
@patrykkopycinski patrykkopycinski deleted the fix/timeline-draft-to-status branch May 20, 2020 05:20
patrykkopycinski added a commit to patrykkopycinski/kibana that referenced this pull request May 20, 2020
…lastic#66864)

# Conflicts:
#	x-pack/plugins/siem/public/timelines/store/timeline/defaults.ts
#	x-pack/plugins/siem/public/timelines/store/timeline/epic.ts
#	x-pack/plugins/siem/public/timelines/store/timeline/model.ts
patrykkopycinski added a commit to patrykkopycinski/kibana that referenced this pull request May 20, 2020
…lastic#66864)

# Conflicts:
#	x-pack/plugins/siem/public/alerts/components/signals/actions.test.tsx
#	x-pack/plugins/siem/public/common/mock/global_state.ts
#	x-pack/plugins/siem/public/common/mock/timeline_results.ts
#	x-pack/plugins/siem/public/timelines/components/open_timeline/helpers.test.ts
#	x-pack/plugins/siem/public/timelines/containers/api.ts
#	x-pack/plugins/siem/public/timelines/store/timeline/defaults.ts
#	x-pack/plugins/siem/public/timelines/store/timeline/epic.test.ts
#	x-pack/plugins/siem/public/timelines/store/timeline/epic.ts
#	x-pack/plugins/siem/public/timelines/store/timeline/model.ts
#	x-pack/plugins/siem/public/timelines/store/timeline/reducer.test.ts
gmmorris added a commit to gmmorris/kibana that referenced this pull request May 20, 2020
* master: (33 commits)
  [Saved Objects] adds support for including hidden types in saved objects client (elastic#66879)
  [Discover] Deangularize timechart header (elastic#66532)
  [Discover] Improve and unskip a11y context view test (elastic#66959)
  [SIEM] Refactor Timeline.timelineType draft to Timeline.status draft (elastic#66864)
  docs: update RUM documentation link (elastic#67042)
  [QA] fixup coverage ingestion tests. (elastic#66905)
  [Metrics UI] Add support for multiple groupings to Metrics Explorer (and Alerts) (elastic#66503)
  [Metrics UI] Add sorting for name and value to Inventory View (elastic#66644)
  [Metrics UI] Change Metric Threshold Alert charts to use bar charts (elastic#66672)
  [Uptime] Use React.lazy for alert type registration (elastic#66829)
  [Reporting] Consolidate API Integration Test configs (elastic#66637)
  Allow histogram fields in average and sum aggregations (elastic#66891)
  Fix saved object share link (elastic#66771)
  move role reset into the top level after clause (elastic#66971)
  Automate the labels for any PRs affecting files for the Ingest Management team (elastic#67022)
  [SIEMDPOINT] Move endpoint to siem (elastic#66907)
  server.uuid so is not used (elastic#66963)
  Revert "[ci/stats] fix git metadata collection (elastic#66840)"
  [Uptime] Unmount uptime app properly (elastic#66950)
  [Visualize] Bar chart: Show missing values on chart setting (elastic#66375)
  ...
jloleysens added a commit to jloleysens/kibana that referenced this pull request May 20, 2020
…ent/add-support-in-url-for-hidden-toggle

* 'master' of github.com:elastic/kibana: (49 commits)
  [Uptime] Improve responsiveness details page (elastic#67034)
  skip flaky suite (elastic#66669)
  Revert "Integration of a static filesystem for the node_modules (elastic#47998)" (elastic#67124)
  Support api_integration/kibana/stats against remote hosts (elastic#53000)
  chore(NA): add module name mapper for src plugins on x-pack (elastic#67103)
  Change the error message on TSVB in order to be more user friendly (elastic#67090)
  [kbn/optimizer] poll parent process to avoid zombie processes (elastic#67059)
  [Visualize] Lazy load default editor, fix duplicated styles (elastic#66732)
  Bump styled-component dependencies (elastic#66611)
  Bump react-markdown dependencies (elastic#66615)
  Fix Core docs links (elastic#66977)
  Timelion graph is not refreshing content after searching or filtering (elastic#67023)
  Remove `--xpack.endpoint.enabled=true` from README.md file (elastic#67053)
  Move apm tutorial from apm plugin into apm_oss plugin (elastic#66432)
  [Logs UI] Restore call to `UsageCollector.countLogs` (elastic#67051)
  Remove unused license check result from LP Security plugin (elastic#66966)
  [Saved Objects] adds support for including hidden types in saved objects client (elastic#66879)
  [Discover] Deangularize timechart header (elastic#66532)
  [Discover] Improve and unskip a11y context view test (elastic#66959)
  [SIEM] Refactor Timeline.timelineType draft to Timeline.status draft (elastic#66864)
  ...

# Conflicts:
#	x-pack/plugins/index_management/__jest__/client_integration/helpers/home.helpers.ts
@MindyRS MindyRS added the Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. label Sep 23, 2021
@elasticmachine
Copy link
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
release_note:skip Skip the PR/issue when compiling release notes 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.

5 participants