This commit is contained in:
Sefinek committed 2024-12-25 01:10:11 +01:00
1 parent 25376cfb75
commit 83571456df
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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
+1 -1
View File
@@ -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)) {