Skip to content

Unable to filter on start/end date using filter_alerts function #5

Description

@Gee94

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions