MISP / MISP/PyMISP

Extend events() method to accept page and limit parameters

Open
#743 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
491
Forks
290
Avg merge
2d 8h
Merged PRs (30d)
3

Description

Extend the PyMISP events() function to accept and send limit & page path parameters to match the behavior of the MISP web UI, which accepts URLs like this and adjusts the page accordingly:

https://misp.my-company.com/events/index/page:1/limit:5

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the PyMISP events() entry point and inspect how it currently builds event-list requests and handles path parameters. Add support for page and limit so requests can represent URLs such as events/index/page:1/limit:5, then verify that both values are sent to the MISP REST API as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.