Skip to content

Taxonomy not updating when the version number is not an increase of 1 #183

Open
@Malwarebinary

Description

Hey MISP crew,

I encountered this issue while trying to update an internal taxonomy. We used to increase the taxonomy version number by 0.1. For instance, my last version was 2.5 and my new version 2.6. When uploading the taxonomy (machinetag.json) file in the server -> update taxonomies from the UI, the taxonomy was not updated. I validate the taxonomy json file using the script machinetag.py but everything was fine. Later, I realize that the taxonomy number is rounded up when looking at the taxonomy description from the UI.

image

image

Then, I changed the version number to 4, updated the taxonomies again and boom it worked ! It seems that MISP is performing a round operation on the version number so I was getting version 3 for 2.5 and 2.6. Because the version number was the same, the taxonomy was not updated. Maybe adding a note about that in the project would help or simply accept decimal number for the version number.

Thanks !

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    T: bugType: bug report: This issue describes unexpected behaviourhelp wantedThis is an issue that community can help with

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions