use of org.zaproxy.zap.extension.XmlReporterExtension in project zaproxy by zaproxy.
the class ReportLastScan method getExtensionsXML.
public StringBuilder getExtensionsXML(SiteNode site) {
StringBuilder extensionXml = new StringBuilder();
ExtensionLoader loader = Control.getSingleton().getExtensionLoader();
int extensionCount = loader.getExtensionCount();
for (int i = 0; i < extensionCount; i++) {
Extension extension = loader.getExtension(i);
if (extension instanceof XmlReporterExtension) {
extensionXml.append(((XmlReporterExtension) extension).getXml(site));
}
}
return extensionXml;
}
Aggregations