TheHive
TheHive copied to clipboard
[Question] List cases for last 7 days/ values for range= key.
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.