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

[Cases] Store file hashes when uploading a file to a case #171071

Closed
cnasikas opened this issue Nov 13, 2023 · 2 comments · Fixed by #171162
Closed

[Cases] Store file hashes when uploading a file to a case #171071

cnasikas opened this issue Nov 13, 2023 · 2 comments · Fixed by #171162
Assignees
Labels
Feature:Cases Cases feature Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)

Comments

@cnasikas
Copy link
Member

PR #171015 enabled to opt-in storing the hash of a file when it is being uploaded. We should opt-in for various hashing algorithms for when uploading a file to Cases.

@cnasikas cnasikas added Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) Feature:Cases Cases feature labels Nov 13, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops-cases (Feature:Cases)

@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

@adcoelho adcoelho self-assigned this Nov 13, 2023
adcoelho added a commit that referenced this issue Nov 15, 2023
Fixes #171071

## Summary

In this PR we opt in for `md5` and `sha256` hashes that will be computed
and stored automatically on `.upload()` calls to the files API.

At the moment we don't do anything else with the hashes but we can
confirm they are being generate in the Files Tab in the Cases Detail
View. The Files Client list API now returns hashes.

<details><summary>See here.</summary>
<img width="1728" alt="Screenshot 2023-11-14 at 10 47 07"
src="https://github.com/elastic/kibana/assets/1533137/08ef408f-3521-46ce-9131-67b161bd926c">
</details>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Cases Cases feature Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants