Skip to content
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

MISP event parsing error when it doesn't contain any attribute #25

Closed
To-om opened this issue Nov 22, 2016 · 0 comments
Closed

MISP event parsing error when it doesn't contain any attribute #25

To-om opened this issue Nov 22, 2016 · 0 comments
Assignees
Labels
Milestone

Comments

@To-om
Copy link
Contributor

To-om commented Nov 22, 2016

If MISP event doesn't have any attribute, MISP answers a json output with "attribute_count" set to null, instead of "0".
This break the parser as it expect a string.

@To-om To-om added the bug label Nov 22, 2016
@To-om To-om added this to the 2.9.1 milestone Nov 22, 2016
@To-om To-om self-assigned this Nov 22, 2016
To-om pushed a commit that referenced this issue Nov 22, 2016
Don't import MISP event if it doesn't contain attribute
@To-om To-om closed this as completed Nov 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant