Bug - Exported event schema validation fails
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 491
- Forks
- 290
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 3
Description
PyMISP exported event fails schema validation.
event.to_json() returned event is when passed through the standard MISP schema (https://github.com/MISP/MISP/blob/2.4/format/2.4/schema.json), the schema validation fails for:
- publish_timestamp - is expected to be
str - tags - Event and Attribute tag's local attribute type is expected to be
int
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with event.to_json() and reproduce the validation failure using the standard MISP schema linked in the issue. Inspect the exported publish_timestamp and Event and Attribute tag local attribute values, then validate the resulting event against schema.json. Done means the exported event passes schema validation for the reported fields.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100