-
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
events/edit API readds deleted attributes already returned by a search #33
Comments
Just to make sure you use the same path I'd be using (pseudocode):
Never mind, this pseudo code should work (https://github.com/MISP/PyMISP/blob/master/pymisp/api.py#L379). How do you delete the attributes? |
I am deleting them with
|
I'll work on a fix asap. Expect it to be fixed early next year. |
Current master let you mark an attribute as deleted. This is the cleanest way to do it. Can you give a try and tell me if it is fine for you. |
Steps to reproduce:
=> the deleted attributes are recreated as they are still included in my_event
workaround:
set my_event['Event']['Attribute'] = [ ] before adding any new attributes.
possible fixes:
The text was updated successfully, but these errors were encountered: