Skip to content

Commit 1773857

Browse files
author
Grzegorz Siewruk
committed
adjusting to gmp 20
1 parent 3b7ac78 commit 1773857

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main/java/pl/orange/bst/mixer/openvas/OpenVasClient.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,10 @@ public String taskStatus(RestRequestBody body) throws JAXBException, SAXExceptio
6464
return getTaskStatusResponse(body.getUser(), body.getParams());
6565
}
6666
public ReportXml getReport(RestRequestBody body) throws JAXBException, SAXException, IOException, ParserConfigurationException {
67-
return getReportResponse(body.getUser(), body.getParams());
67+
List<Vuln> vulns = new ArrayList<>();
68+
int start =0;
69+
vulns = loadVulns(body.getUser(), body.getParams(), start, vulns);
70+
return new ReportXml(vulns);
6871
}
6972

7073

0 commit comments

Comments
 (0)