-
Notifications
You must be signed in to change notification settings - Fork 280
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
Support for pymisp.delete_object hard delete #666
Comments
A few possible concerns:
Thx again for helping me better understand. |
I see that the PyMISP's delete_object method does not accept a 'hard' parameter:
But I see in ObjectsController.php the delete method does accept a 'hard' parameter, and it defaults to false:
So maybe the extension to allow a hard delete option in PyMISP is trivial? I see that the PyMISP delete_attribute method has this code:
Is that enough? But I'm not confident the object controller delete method's $hard parameter will magically be populated by this. Might also need this chunk from the delete_attribute method in the delete_object method:
Please educate me, thanks. |
Yep, I think you're right, simply POSTing @mokaddem @JakubOnderka is just adding the snippet mentioned by @chrisinmtown enough? |
Should I open a MISP issue to request extension of the Object controller's delete function with those lines? |
It looks good for me, but I didn't test it. |
sure, go for it. |
@Rafiot it remains really unclear to me how the CIRCL teams coordinate their work, I'll go open that issue now. |
All good, thank you. It is generally easier to have a note in the repository where the work needs to be done. |
Thanks for implementing this feature. |
2.4.133
It appears
pymisp.delete_object
performs a soft delete. Is there any way to do a hard delete like what exists inpymisp.delete_attribute
?Thanks.
The text was updated successfully, but these errors were encountered: