Binaries
A specific plugin can be activated in order to scan binaries and archives in a project using the parameter
--scan-binaries
When activated the scanner will find all (recognised) archives, will then detect all (recognised) binaries present in such archives listing them in the report
The archives format recognised are:
.war
.ear
.aar
.deb
.tar
.tar.xz
.tbz2
.tar.bz2
.tgz
.zip
The binaries format recognised are:
.jar (java archives) -> java
.dll (dynamic link libraries) -> cpp
.whl (python wheel files) -> python
Specific controls
Two specific controls are availalbe for this scanner:
binaries.archives.extensionscontrols the archive formats recognised (by default, all)binaries.scanners.extensions controls the binaries format taken in consideration (by default, all)
So, for example, if you want to restritct to a "java" only binary scanning, you could use these flags:
-flags:binaries.archives.extensions=war,,ear,binaries.scanners.extensions=jar
Last updated
Was this helpful?