MISP / MISP/PyMISP

Object dropped due to validation for Event

Open
#1,209 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I want to attach an object to an event using PyMISP 2.4.190 but I receive validation error:

Object dropped due to validation for Event 31 failed: -

Validation errors: {"meta-category":["stringNotEmpty"],"template_uuid":["Please provide a valid RFC 4122 UUID"]} Full Object: {"Object":{"name":"-","uuid":"866ff515-3ef9-4490-8599-306e305c61e7","Attribute":[{"uuid":"bde395c9-e67c-4697-b607-5645164782b9","object_relation":"md5","value":"14953f96f1bf142e3b6880dbd792f5de","type":"md5","disable_correlation":false,"to_ids":true,"category":"Payload delivery","AttributeTag":[]},{"uuid":"07b1570e-3885-4323-aa08-502e619f3ac4","object_relation":"sha1","value":"300a1d96c258fabac6c1afc64f9250b0d7ca72de","type":"sha1","disable_correlation":false,"to_ids":true,"category":"Payload delivery","AttributeTag":[]},{"uuid":"52af634f-839f-431d-853c-5a3518a1b9e6","object_relation":"sha256","value":"f49fece1d0547d2a66fc316bbbf3d0bdc48afafc053583c30de9ba77327264cc","type":"sha256","disable_correlation":false,"to_ids":true,"category":"Payload delivery","AttributeTag":[]},{"uuid":"798feee6-e3ba-4bce-adc8-89a0765aab5b","object_relation":"size-in-bytes","value":"104","type":"size-in-bytes","disable_correlation":false,"to_ids":false,"category":"Other","AttributeTag":[]}],"distribution":"5","sharing_group_id":"0","event_id":"31"}}

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

Reproduce the PyMISP 2.4.190 object attachment using the supplied Event 31 payload and inspect the validation path that reports meta-category and template_uuid errors. Compare the submitted Object fields with the API's expected object schema; done means the object is accepted without those validation errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.