Skip to content
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

Automation: How to update Event (edit) #147

Open
esellier opened this issue Feb 20, 2019 · 0 comments
Open

Automation: How to update Event (edit) #147

esellier opened this issue Feb 20, 2019 · 0 comments
Labels
API This issue involves the MISP API help wanted This is an issue that community can help with T: enhancement Type: enhancement. This issue seeks an improvement of an existing feature

Comments

@esellier
Copy link

esellier commented Feb 20, 2019

The Automation document does not describe how to update (EDIT) an event through the API

Should be added (from what I found in the PHP code):
POST https://localhost/events/EVENTID
The request body must include the timestamp which should be greater than the Event timestamp in DB.
And all the Event data to update.
UUID remains unchanged.
'analysis', 'threat_level_id', 'info', 'distribution', 'date' remain unchanged if not set in the request body, as well as objects and/or attributes.

@enjeck enjeck added API This issue involves the MISP API help wanted This is an issue that community can help with T: enhancement Type: enhancement. This issue seeks an improvement of an existing feature labels Nov 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API This issue involves the MISP API help wanted This is an issue that community can help with T: enhancement Type: enhancement. This issue seeks an improvement of an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants