mirror of https://github.com/MISP/MISP
new: [API] Allow posting freetext data for ingestion via the event uuid instead of ID, fixes #4995
parent
60e68d1459
commit
50db8c9a45
|
@ -4003,6 +4003,7 @@ class EventsController extends AppController
|
|||
|
||||
public function __pushFreetext($attributes, $id, $distribution = false, $sg = false, $adhereToWarninglists = false)
|
||||
{
|
||||
$id = $this->Toolbox->findIdByUuid($this->Event, $id);
|
||||
if ($distribution === false) {
|
||||
if (Configure::read('MISP.default_attribute_distribution') != null) {
|
||||
if (Configure::read('MISP.default_attribute_distribution') == 'event') {
|
||||
|
|
Loading…
Reference in New Issue