Update vuls version to v0.10.0
In vuls v0.10.0 was deprecated the '-ssh-config' vuls argument and was
moved in config.toml
Signed-off-by: DANIEL STOICA <daniel.stoica@enea.com>
Change-Id: Ia4c0357ec25725a0a2602c07f83edb397c203a04
export PATH=$PATH:/root/go/bin:/root/go/src/github.com/bin && \
mkdir -p /root/go/src/github.com/future-architect && \
cd /root/go/src/github.com/future-architect && \
- git clone https://github.com/future-architect/vuls -b v0.9.7 && \
+ git clone https://github.com/future-architect/vuls -b v0.10.0 && \
cd vuls && \
make install && \
mkdir -p /root/go/src/github.com/kotakanbe && \
port = "22"
user = "USERNAME"
keyPath = "/root/.ssh/id_rsa"
+sshConfigPath = "/root/.ssh/config"
containerType = "docker"
Run Keyword IF '${SSH_KEYFILE}' == 'None' Create ssh_keyfile
- ${rc} = Run And Return Rc vuls scan -config ${CURDIR}/config.toml -ssh-config
+ ${rc} = Run And Return Rc vuls scan -config ${CURDIR}/config.toml
Should Be Equal As Integers ${rc} 0
Run Keyword IF '${os}' == 'ubuntu' Run vuls for ubuntu ELSE IF '${os}' == 'centos' Run vuls for centos ELSE FAIL Distro '${os}' not supported