mirror of https://github.com/MISP/MISP
fix: [evnet view] excluding correlations should also exclude over_correlated attributes, fixes #9366
parent
4f2638b687
commit
6f2e162fd8
|
@ -5006,6 +5006,9 @@ class Event extends AppModel
|
|||
$include = $include && ($filterType['correlation'] == 1);
|
||||
} else { // `exclude`
|
||||
$include = $include && ($filterType['correlation'] == 2);
|
||||
if (!empty($attribute['over_correlation'])) {
|
||||
$include = false;
|
||||
}
|
||||
}
|
||||
|
||||
if ($filterType['correlationId'] && $include) {
|
||||
|
|
Loading…
Reference in New Issue