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 for last 7 days/ values for range= key. #2467

Open
cyber-urvesh opened this issue Jul 10, 2023 · 0 comments
Open

[Question] List cases for last 7 days/ values for range= key. #2467

cyber-urvesh opened this issue Jul 10, 2023 · 0 comments
Labels

Comments

@cyber-urvesh
Copy link

Request Type

Question

Work Environment

Question Answer
Virtualized Env. True
vCPU 32
TheHive version / git hash 4.x, hash of the commit
Package Type RPM, DEB, Docker, Binary, From source
Database Cassandra
Index type Lucene
Attachments storage Loca
Browser type & version If applicable

Question

So I am trying to the below API :
/api/case?range=all

Now here range=all returns list of all the cases.
Now I am not able to find a parameter or key-value that would give me cases in last 7 days. So if I want to make a time-based search, e..g list of cases in last 7 days. How would we do that?

I tried using range=last7days but it did not work.

What all values "range=" supports? Any way to list cases for 7 days only.

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