From 0eaad9999f3de31d7bfba94d231331e5e6a20ca4 Mon Sep 17 00:00:00 2001 From: Aranya Dan Date: Thu, 25 Aug 2022 03:02:22 +0200 Subject: [PATCH] Added reference URLs to JSON output Added relevant URL links to the wiki page in the JSON output for each detector triggered. --- slither/detectors/abstract_detector.py | 1 + 1 file changed, 1 insertion(+) diff --git a/slither/detectors/abstract_detector.py b/slither/detectors/abstract_detector.py index 528981c92..114b46278 100644 --- a/slither/detectors/abstract_detector.py +++ b/slither/detectors/abstract_detector.py @@ -231,6 +231,7 @@ class AbstractDetector(metaclass=abc.ABCMeta): output.data["check"] = self.ARGUMENT output.data["impact"] = classification_txt[self.IMPACT] output.data["confidence"] = classification_txt[self.CONFIDENCE] + output.data["reference"] = f"{self.WIKI}" return output