Skip to content
Snippets Groups Projects
Commit d37a7ecc authored by Gioacchino Vino's avatar Gioacchino Vino
Browse files

Excluding not relevant issues

parent 6888777f
No related branches found
No related tags found
1 merge request!118Debug paas ci
...@@ -237,14 +237,17 @@ class Task: ...@@ -237,14 +237,17 @@ class Task:
report['global'] = {'threat': glob_threat, 'severity': glob_severity} report['global'] = {'threat': glob_threat, 'severity': glob_severity}
return report return report
###########################################################################
###########################################################################
###########################################################################
###########################################################################
def get_report_info2(self) -> Dict: def get_report_info2(self) -> Dict:
report = dict() report = dict()
res = self.client.get_report(self.report_id, res = self.client.get_report(self.report_id,
report_format_id=ReportFormats.anonymous_xml, report_format_id=ReportFormats.anonymous_xml,
ignore_pagination=True, ignore_pagination=True,
details="1") details="1")
rrr = res.xpath('report/report/results/result/threat/text()') rrr = res.xpath('report/report/results/result/nvt/@oid')
#pretty_print(rrr) #pretty_print(rrr)
print(rrr) print(rrr)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment