Added reference URLs to JSON output

Added relevant URL links to the wiki page in the JSON output for each
detector triggered.
pull/1360/head
Aranya Dan 2 years ago
parent 719e4e98d8
commit 0eaad9999f
  1. 1
      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

Loading…
Cancel
Save