Comments (2)
Confirmed, I'm investigating.
If you want a quick and dirty fix you can do that:
sg = misp.get_sharing_group(sharing_group=id, pythonify=True)
result = misp.update_sharing_group({"name": "blah"}, sg, pythonify=True)
But your code should work too, so it is a bug on our side.
EDIT: that was easier than expected.
Another fix is to do:
sg = misp.get_sharing_group(sharing_group=id, pythonify=True)
sg.pop('modified') # <== this key isn't properly ignored on MISP side
sg.name= sg.name+" MODIFIED"
sg.description = sg.description+" MODIFIED"
result = misp.update_sharing_group(sharing_group=sg, pythonify=True)
from pymisp.
Or you just wait for the next release for PyMISP (very probably today).
from pymisp.
Related Issues (20)
- The template (file) doesn't have the object_relation (mime-type) you're trying to add. HOT 1
- Unpublish does not work HOT 6
- URL Encode space to + (not %20) HOT 2
- PyMISP.search doesn't work on controller 'objects' with UUID HOT 4
- PyMISP.add_attribute() broken (literally) with screenshots HOT 11
- Bug / Deficiency: get_sharing_group by name does NOT function as intended with "name" searches instead of ID/UUID searches HOT 1
- add_event behaves really unexpected, returning a description(?) HOT 6
- event.add_attribute_tag doesn't change anything on the server HOT 3
- UnboundLocalError when invoking `values_in_warninglist([])` HOT 1
- assigning tags to attributes older than 'x' days HOT 1
- Adding mail flag to stats_report.py results in Unicode error HOT 1
- Complex Build Query TAG parameter not working
- EventSearch returns all events HOT 1
- PyMISP.search does not include events with 0 attributes HOT 3
- Bug: Could not add object due to incomplete attribute value "malware-sample" in FileObject HOT 1
- Return value does not respect the parameter `expanded=True` HOT 1
- Requirement of a new MISP object
- Bug: `update_event()` with `add_event_report()` doesn't add a report to existing Event HOT 5
- Enhancement: PyMISP API Custom HTTPS Adapters HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pymisp.