mirror of
https://github.com/mvt-project/mvt.git
synced 2026-09-30 21:19:41 +02:00
Improved logging around detection results
This commit is contained in:
1 parent
6e19d34700
commit
8d93ab66c9
1 file changed
+6
-2
@@ -167,10 +167,14 @@ def run_module(module):
|
|||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
module.check_indicators()
|
module.check_indicators()
|
||||||
if not module.detected:
|
|
||||||
module.log.info("No detection!")
|
|
||||||
except NotImplementedError:
|
except NotImplementedError:
|
||||||
|
module.log.info("The %s module does not support checking for indicators",
|
||||||
|
module.__class__.__name__)
|
||||||
pass
|
pass
|
||||||
|
else:
|
||||||
|
if module.indicators and not module.detected:
|
||||||
|
module.log.info("The %s module produced no detections!",
|
||||||
|
module.__class__.__name__)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
module.to_timeline()
|
module.to_timeline()
|
||||||
|
|||||||
Reference in new issue
Block a user