8000 Filter events by timestamp · Issue #3397 · guardicore/monkey · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Filter events by timestamp #3397
Closed
@mssalvatore

Description

@mssalvatore

Description

Add the ability to filter events by timestamp. Queries should look like:
"/api/agent-events?timestamp=gt:1685640405"

Implement the following operators:

  • gt
  • lt

Note

The current filtering approach is a simple solution that covers many, but not all use cases. Consider switching to GraphQL for advanced searching instead of using one of many poorly-defined "REST" approaches.

Tasks

  • Modify the IAgentEventRepository to guaranteed events are returned in order of timestamp ascending (0.5d) - @shreyamalviya
    • Modify the MongoAgentEventRepository to fulfill the new guarantee.
  • Add the capability to filter events by timestamp (use python's bisect()) (0.5d) - @shreyamalviya

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0