[backend/frontend] massive delete operations for public dashboard and workspaces (#6509)
Proposed changes
- Massive delete for public dashboards
- Massive delete for custom dashboards
- Massive delete for investigations
Related issues
- #6509
Checklist
- [x] I consider the submitted work as finished
- [x] I tested the code for its functionality
- [ ] I wrote test cases for the relevant uses case (coverage and e2e)
- [ ] I added/update the relevant documentation (either on github or on notion)
- [x] Where necessary I refactored code to improve the overall quality
Codecov Report
Attention: Patch coverage is 51.53374% with 79 lines in your changes missing coverage. Please review.
Project coverage is 66.74%. Comparing base (
c8dbedf) to head (b328dc5). Report is 10 commits behind head on master.
Additional details and impacted files
@@ Coverage Diff @@
## master #8158 +/- ##
==========================================
+ Coverage 66.06% 66.74% +0.68%
==========================================
Files 597 597
Lines 59732 60027 +295
Branches 6080 6796 +716
==========================================
+ Hits 39460 40065 +605
+ Misses 20272 19962 -310
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
We have a known issue on duplicating/deleting workspaces and currently looking for a fix EDIT : has been fixed ✅
Filters not correctly displayed when launching a background task on public dashboards.
- Select all the public dashboard
- Click on delete in the toolbar
- the pop-up opens and the entity type public dashboard is not translated
Background task on custom dashboard also delete public dashboards : is it normal?
Select all the custom dashboards and delete them. Public dashboards are also deleted.
@lndrtrbn answer: Yes it is. Deleting a dashboard also delete its associated public dashboards.
Missing translations also for entity_type_Workspace
Export not working for Investigations
Select all the Investigations.
Export in stix. The export is working and the bundle is empty.
Export in Csv. An error occurs :
Open the export panel of Custom dashboards. You also see the exports that have been done for Investigations.
@marieflorescontact @Archidoit remarks have been resolved
Public dashboard scope not translated in the Background tasks list
In the background tasks list, try to delete a background task you previously do on Public Dashboard. An error occurs :