Skip to content

Commit

Permalink
Fix build issue from last commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
gordoninnes committed Jan 18, 2024
1 parent 9cc9648 commit c28dba9
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -463,16 +463,16 @@ abstract class AbstractAnalyze extends ConfiguredTask {
}

config.additionalCpes.each {
var dep = new Dependency(true);
dep.setDescription(it.description)
var dependency = new Dependency(true);
dependency.setDescription(it.description)
dependency.setDisplayFileName(it.cpe);
dependency.setSha1sum(Checksum.getSHA1Checksum(it.cpe));
dependency.setSha256sum(Checksum.getSHA256Checksum(it.cpe));
dependency.setMd5sum(Checksum.getMD5Checksum(it.cpe));
dep.addVulnerableSoftwareIdentifier(new CpeIdentifier(CpeParser.parse(it.cpe), Confidence.HIGHEST))
dep.setFileName("")
dep.setActualFilePath("")
engine.addDependency(dep)
dependency.addVulnerableSoftwareIdentifier(new CpeIdentifier(CpeParser.parse(it.cpe), Confidence.HIGHEST))
dependency.setFileName("")
dependency.setActualFilePath("")
engine.addDependency(dependency)
}
}

Expand Down

0 comments on commit c28dba9

Please sign in to comment.