Skip to content

Add pagination cursor to cyber threats response #202

Description

@SebastienMelki

Context

From PR #106 re-review (NEW-7): After applying filters and slicing to pageSize, the cyber handler returns pagination: undefined. Clients cannot implement "next page" semantics — there's no offset, cursor, or total count.

Combined with server-side filtering, clients have no way to know if more results exist.

Proposed Fix

Return a pagination object with at least totalCount and nextOffset so clients can paginate through filtered results.

Ref

PR #106 re-review: #106 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: APIBackend API, sidecar, keys

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions