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

[Question] List cases by Organizations via API #2480

Open
zekicker opened this issue Jan 30, 2024 · 0 comments
Open

[Question] List cases by Organizations via API #2480

zekicker opened this issue Jan 30, 2024 · 0 comments
Labels

Comments

@zekicker
Copy link

zekicker commented Jan 30, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant