Describe the bug
I have installed version 1.0.6 of Aqua microscanner in our instance of jenkins and have defined the token value in Configure System -> Aqua MicroScanner. However it does not appear to be passing in the token as we are getting the following error in the jenkins logs;
Aqua MicroScanner in progress...
The command '/bin/sh -c ./microscanner ${token} --html' returned a non-zero code: 1
...
ERROR: failed fetching server information: request failed: Get https://microscanner.aquasec.com/api: EOF
To Reproduce
Steps to reproduce the behavior:
Generate a new token; docker run --rm -it aquasec/microscanner --register
Install Aqua MicroScaner plugin version 1.0.6
Define new token in Configure System -> Aqua MicroScanner.
Execute Aqua scan via JenkinsFile command; aquaMicroscanner imageName: image_name, notCompliesCmd: '', onDisallowed: 'ignore', outputFormat: 'html' where imageName is defined inside our jenkinsfile
Execute build in Jenkins
Expected behavior
Aqua scan is completed in image, and a html report is generated
Describe the bug I have installed version 1.0.6 of Aqua microscanner in our instance of jenkins and have defined the token value in Configure System -> Aqua MicroScanner. However it does not appear to be passing in the token as we are getting the following error in the jenkins logs;
Aqua MicroScanner in progress... The command '/bin/sh -c ./microscanner ${token} --html' returned a non-zero code: 1 ... ERROR: failed fetching server information: request failed: Get https://microscanner.aquasec.com/api: EOF
To Reproduce Steps to reproduce the behavior:
Expected behavior Aqua scan is completed in image, and a html report is generated