**Public chatroom** - MISP Dev. Developer room. For developers and development related questions. For any non-development (e.g. support) related questions, please go to MISP/Support. General information sharing topics can be discussed in MISP/Sharing. Please contribute your new knowledge to https://github.com/MISP/misp-book/tree/master/faq
Rafiot on main
Explicit slowsearch parameter i… Merge pull request #16 from fuk… (compare)
hashes.csv
? How is that file used? My understanding is that it keeps a mapping between hash of each attribute and the event. What is the reason for that?
private function getOrDef($variable, $default) {
if (Configure::check($variable)) {
return Configure::read($variable);
}
return $default;
}
public function getSetting($setting_name)
{
$setting = $this->Server->getSettingData($setting_name);
if (!empty($setting["redacted"])) {
throw new MethodNotAllowedException(__('This setting is redacted.'));
}
if (Configure::check($setting_name)) {
$setting['value'] = Configure::read($setting_name);
}
return $this->RestResponse->viewData($setting);
}