mirror of https://github.com/MISP/MISP
chg: [correlations] reverted the division by 2 for the correlation counts
- there are legitimate cases where we get one way correlations - we use the value field to aggregate the count, which leads to it being incorrect when using advanced correlations (the reverse correlation will use the value of the remote side)pull/7377/head
parent
81c2d01bcd
commit
a0b1d0964e
|
@ -687,7 +687,7 @@ class Correlation extends AppModel
|
|||
$results[] = [
|
||||
'Correlation' => [
|
||||
'value' => $value,
|
||||
'count' => $count / 2,
|
||||
'count' => $count,
|
||||
'excluded' => $this->redis->sismember('misp:correlation_exclusions', $value)
|
||||
]
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue