-
Notifications
You must be signed in to change notification settings - Fork 279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug - Exported event schema validation fails #1124
Comments
@Rafiot - Can you please look into it. Thanks. |
The events generated by PyMISP work just fine on MISP, so it is probably more an issue with the schema itself. |
ok, update on that: PyMISP We could consider to add a method that casts the int/float to str, but the default will stay the same for backward compatibility reasons. What is your use-case? |
Thanks @Rafiot. Our requirement is to export the MISP event and ensure it passes the MISP standard schema before passing it on to the data pipeline for subsequent processing. At every stage of the pipeline, the very thing they do is schema validation again. |
Alright, I started to look at that:
|
|
It is a bug on MISP side, that should be handled as a boolean, and not 0/1. It will be fixed in MISP asap. |
FYI, the fix is now on develop and will go into the release later today. |
MISP v2.4.187 got an upstream fix for this. Now local values are represented as |
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:str
int
The text was updated successfully, but these errors were encountered: