chg: [correlations] Skip correlations for float attribute type

pull/8572/head
Jakub Onderka 2022-09-08 09:35:20 +02:00
parent 1daab04ce2
commit fcd0447ec9
1 changed files with 3 additions and 2 deletions

View File

@ -107,18 +107,19 @@ class Attribute extends AppModel
const UPLOAD_DEFINITIONS = ['attachment'];
// skip Correlation for the following types
const NON_CORRELATING_TYPES = array(
const NON_CORRELATING_TYPES = [
'comment',
'http-method',
'aba-rtn',
'gender',
'counter',
'float',
'port',
'nationality',
'cortex',
'boolean',
'anonymised'
);
];
const PRIMARY_ONLY_CORRELATING_TYPES = array(
'ip-src|port',