Skip to content

Commit e93a0b0

Browse files
update the BenchmarkScore.java to include the CheckmarxIASTReader.java
1 parent f6a1929 commit e93a0b0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/main/java/org/owasp/benchmark/score/BenchmarkScore.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ else if ( line2.startsWith( "<analysisResult") || line2.startsWith( "<analysisRe
760760
Node root = doc.getDocumentElement();
761761
String nodeName = root.getNodeName();
762762

763-
if ( nodeName.equals( "ScanGroup" ) ) {
763+
if ( nodeName.equals( "ScanGroup" ) || nodeName.equals( "acunetix-360" )) {
764764
tr = new AcunetixReader().parse( root );
765765
}
766766

@@ -819,7 +819,7 @@ else if ( filename.endsWith( ".fpr" ) ) {
819819

820820
// .fpr files are really .zip files. So we have to extract the .fvdl file out of it to process it
821821
Path path = Paths.get(fileToParse.getPath());
822-
FileSystem fileSystem = FileSystems.newFileSystem(path, null);
822+
FileSystem fileSystem = FileSystems.newFileSystem(path, (java.lang.ClassLoader) null);
823823
File outputFile = File.createTempFile( filename, ".fvdl");
824824
Path source = fileSystem.getPath("audit.fvdl");
825825
Files.copy(source, outputFile.toPath(), StandardCopyOption.REPLACE_EXISTING);

0 commit comments

Comments
 (0)