-
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
[Files] File service bulk delete #154286
Comments
Pinging @elastic/response-ops-cases (Feature:Cases) |
Pinging @elastic/appex-sharedux (Team:SharedUX) |
@sixstringcode - Let's get more detail about what the ask is. Clarify scope of delete (does it tie to a specific case, or is it a global delete request etc.) |
@jonathan-buttner just to clarify, once a case is deleted, you would like to also delete all the files associated with it. So, Kibana server receives a case deletion request and it wants to initiate file deletion from the server-side, right now there is ability to delete one file at-a-time, but your request is to provide also an ability for a bulk delete? |
Basically, right now there is a
|
Yep, that's correct. Are you thinking that the bulk delete would be for a single file kind or would it not need the file kind at all? Cases has a bulk deletion of cases and technically a user could delete an observability case and a security case at the same time which would result in bulk deleting multiple file kinds. This is unlikely though as the cases UI only allows bulk deletion within a single plugin.
All those items sound great! |
## Summary Closes elastic#154286 ### Checklist Delete any items that are not applicable to this PR. - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios ### For maintainers - [x] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) --------- Co-authored-by: kibanamachine <[email protected]>
Cases adding a feature to allow users to attach files to a case. A user will be able to delete files individually or delete an entire case and all files associated with it. Currently, the file service does not provide a bulk deletion API per file kind. The file service does provide a bulk deletion for admin users that have the file management role but a cases user may not have this configured.
Would it be possible to have a bulk deletion api that accepts an array of file kinds? If that's not feasible having a bulk deletion api per file kind would also help.
The text was updated successfully, but these errors were encountered: