Fixes
This commit is contained in:
1 parent
25376cfb75
commit
83571456df
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -74,4 +74,4 @@ const categories = {
|
||||
},
|
||||
};
|
||||
|
||||
exports.DETERMINE_CATEGORIES = (proto, dpt) => categories[proto]?.[dpt] || '14'; // Default: Port Scan
|
||||
exports.DETERMINE_CATEGORIES = ({ proto, dpt }) => categories[proto]?.[dpt] || '14'; // Default: Port Scan
|
||||
@@ -93,7 +93,7 @@ const processLogLine = async line => {
|
||||
return;
|
||||
}
|
||||
|
||||
const categories = config.DETERMINE_CATEGORIES(proto, dpt);
|
||||
const categories = config.DETERMINE_CATEGORIES(logData);
|
||||
const comment = config.REPORT_COMMENT(logData, line, SERVER_ID);
|
||||
|
||||
if (await reportToAbuseIPDb(logData, categories, comment)) {
|
||||
|
||||
Reference in new issue
Block a user