chg: [localTools:MISP] Include user_id and reflected it
- So that the initiator cerebrate knows which user has to be enabledpull/59/head
parent
3b0c2d2dca
commit
014bfaf70a
|
@ -699,8 +699,9 @@ class MispConnector extends CommonConnectorTools
|
||||||
$params['sync_user'] = $this->createSyncUser($params);
|
$params['sync_user'] = $this->createSyncUser($params);
|
||||||
return [
|
return [
|
||||||
'email' => $params['sync_user']['email'],
|
'email' => $params['sync_user']['email'],
|
||||||
|
'user_id' => $params['sync_user']['id'],
|
||||||
'authkey' => $params['sync_user']['authkey'],
|
'authkey' => $params['sync_user']['authkey'],
|
||||||
'url' => $params['connection_settings']['url']
|
'url' => $params['connection_settings']['url'],
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -721,7 +722,8 @@ class MispConnector extends CommonConnectorTools
|
||||||
return [
|
return [
|
||||||
'email' => $params['sync_user']['email'],
|
'email' => $params['sync_user']['email'],
|
||||||
'authkey' => $params['sync_user']['authkey'],
|
'authkey' => $params['sync_user']['authkey'],
|
||||||
'url' => $params['connection_settings']['url']
|
'url' => $params['connection_settings']['url'],
|
||||||
|
'reflected_user_id' => $params['remote_tool_data']['user_id'] // request initiator Cerebrate to enable the MISP user
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue