|
|
@ -89,8 +89,6 @@ def output_to_markdown(detector_classes, filter_wiki): |
|
|
|
idx = idx + 1 |
|
|
|
idx = idx + 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def output_detectors_json(detector_classes): |
|
|
|
def output_detectors_json(detector_classes): |
|
|
|
detectors_list = [] |
|
|
|
detectors_list = [] |
|
|
|
for detector in detector_classes: |
|
|
|
for detector in detector_classes: |
|
|
@ -120,7 +118,7 @@ def output_detectors_json(detector_classes): |
|
|
|
'impact': classification_txt[impact], |
|
|
|
'impact': classification_txt[impact], |
|
|
|
'wiki_url': wiki_url, |
|
|
|
'wiki_url': wiki_url, |
|
|
|
'description': description, |
|
|
|
'description': description, |
|
|
|
'exploit_scenario':exploit, |
|
|
|
'exploit_scenario': exploit, |
|
|
|
'recommendation':recommendation}) |
|
|
|
'recommendation': recommendation}) |
|
|
|
idx = idx + 1 |
|
|
|
idx = idx + 1 |
|
|
|
return table |
|
|
|
return table |
|
|
|