iris-client icon indicating copy to clipboard operation
iris-client copied to clipboard

Unable to filter on start/end date using filter_alerts function

Open Gee94 opened this issue 1 year ago • 1 comments

I've been trying to retrieve alerts between two dates but the query always returns all results.

dfir-iris-client==2.0.1

session = ClientSession(apikey="<apikey>",
                                host='http://localhost:8000', ssl_verify=False)
alertInstance = Alert(session=session)
results = alertInstance.filter_alerts(alert_start_date="2023-09-01",alert_end_date="2023-09-02")

I appear to have the same issue when performing curl requests when using alert_start_date/alert_end_date.

source_start_date/source_end_date appear to be the correct API calls

Gee94 avatar Sep 15 '23 11:09 Gee94

I'm also having this issue.

bvirgilioamnh avatar Sep 19 '24 20:09 bvirgilioamnh