[Question] List cases by Organizations via API
zekicker opened this issue · 0 comments
zekicker commented
Request Type
Question
Work Environment
Question | Answer |
---|---|
OS version (server) | Debian |
OS version (client) | Windows 11 |
Virtualized Env. | True |
Dedicated RAM | 8 GB |
vCPU | 8 |
TheHive version / git hash | 4.1.3-1 |
Package Type | Docker |
Database | BerlkelyDB |
Index type | Lucene |
Attachments storage | Local |
Question
Hello,
I want to query cases of 2 organizations via the API to generate a CSV file and create few statistics.
My query uses headers with "X-organisation" tag to target organizations. But I have issues with shared tasks, Concerned cases appear 2 times : within the owning organization and withing the orgnization with shared tasks.
Is it possible to filter cases via API with owning organization and viewing organization or another efficient way ?
Thanks.