From 4d1aeb78452dfc7d477ef3ef43da33ce484238ba Mon Sep 17 00:00:00 2001 From: Thanasis Naskos Date: Tue, 23 Nov 2021 14:15:48 +0200 Subject: [PATCH] Adding ip 10.0.2.15 as a source and as a target to the syslog reports --- MLTD/src/ReportSyslog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MLTD/src/ReportSyslog.py b/MLTD/src/ReportSyslog.py index 5bdc4da..8e45f88 100644 --- a/MLTD/src/ReportSyslog.py +++ b/MLTD/src/ReportSyslog.py @@ -10,6 +10,6 @@ def report(asset_id, risk, timeframe): formatter = logging.Formatter(' %(message)s') handler.setFormatter(formatter) my_logger.addHandler(handler) - my_logger.critical(f'asset: {asset_id} risk: {risk} timeframe: {timeframe}') + my_logger.critical(f'source_ip: 10.0.2.15 target_ip: 10.0.2.15 asset: {asset_id} risk: {risk} timeframe: {timeframe}') -- 2.2.2