You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
frompymispimportPyMISPremote='http://misp-server:port'token='api key'verify_ssl=Falseclient=PyMISP(remote, token, verify_ssl)
# use existing event without a reportevent_uuid=1122misp_event=client.get_event(event_uuid, pythonify=True)
# update local MISPEvent() obj w/ reportmisp_event.add_event_report(name='test', content='test content')
# update eventresult=client.update_event(misp_event)
# Verify on MISP instance that Event still doesn't have a report
However, if I'm adding a brand new event, the above steps with result = client.add_event(misp_event) (instead of update_event) work just fine to create a new Event with the expected report.
The text was updated successfully, but these errors were encountered:
MISP version: 2.4.178
PyMISP version: 2.4.178
Steps to reproduce
However, if I'm adding a brand new event, the above steps with
result = client.add_event(misp_event)
(instead ofupdate_event
) work just fine to create a new Event with the expected report.The text was updated successfully, but these errors were encountered: