fod-dev / fod-uploader-java

Java Utility for uploading packages to FoD
MIT License
12 stars 27 forks source link

"Binary Scanning option is not allowed", even though disabled #90

Open samdobson opened 3 years ago

samdobson commented 3 years ago

Attempting to scan a Python 3 application as follows:

java -jar FodUpload.jar -z package.zip -ac $API_KEY $API_SECRET -rid "$RELEASE_ID" -aurl $API_URL -purl $URL -at 274 -eid 10053 -ts 10 -l 18 -a 2 -ep 2 -pp 0 -I 1 -apf

Gives the following result:

Authenticating
Authenticated
Error saving Scan Settings
1 - Binary Scanning option is not allowed
Retiring Token : Token Retired Successfully

However, -bs (or -isBinaryScan), per the documentation, should, by default, be false.

What's more, manually specifying -bs false results in an error: "Was passed main parameter 'false' but no main parameter was defined"

yeulih commented 3 years ago

Hello, Thank you for the feedback. We will look into this and pass along any updates.

dziedrius commented 3 years ago

I have the same issue, is there any workaround till it will be fixed?