Closed
Description
Environment
root@debian:~# lsb_release -da
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 8.8 (jessie)
Release: 8.8
Codename: jessie
Vuls
Hash : fecd1ad
OS
- Target Server: Debian8.8
- Vuls Server: Docker Container:
root@debian:~# docker run --rm vuls/vuls -v
vuls v0.3.0 fecd1ad
root@debian:~# docker run --rm vuls/go-cve-dictionary -v
go-cve-dictionary v0.1.0 4d5c2be
Go
- Go version:
root@debian:~# go version
go version go1.8 linux/amd64
Current Output
root@debian:~# docker run --rm -it -v ~/.ssh:/root/.ssh:ro -v $PWD:/vuls -v $PWD/vuls-log:/var/log/vuls vuls/vuls configtest -debug -config=config.toml
ERRO[0000] Load config failedtoml: cannot load TOML value of type string into a Go slice
[May 12 11:34:12] ERROR [localhost] Error loading config.toml, toml: cannot load TOML value of type string into a Go slice
[May 12 11:34:12] ERROR [localhost] If you update Vuls and get this error, there may be incompatible changes in config.toml
[May 12 11:34:12] ERROR [localhost] Please check README: https://github.com/future-architect/vuls#configuration
Please re-run the command using ```-debug``` and provide the output below.
Addition Details
Good Morning,
First of all i really appreciate your work. I'm a beginner in docker and linux technologies, but i'm really interesting about this project.
Here is my problem, I'm following your tutorial :
https://github.com/future-architect/vuls/tree/master/setup/docker
At the 3rd step, i have to launch this command:
$ docker run --rm -it\
-v ~/.ssh:/root/.ssh:ro \
-v $PWD:/vuls \
-v $PWD/vuls-log:/var/log/vuls \
vuls/vuls configtest \
-config=./config.toml # path to config.toml in docker
Here is my config.toml:
[slack]
hookURL = "https://hooks.slack.com/services/abc123/defghijklmnopqrstuvwxyz"
channel = "#vulsreport"
iconEmoji = ":ghost:"
authUser = "Stagiaire"
notifyUsers = ["@willy"]
[email]
smtpAddr = "smtp.gmail.com"
smtpPort = "587"
user = "XXXXX"
password = "XXXXX"
from = "raty918@gmail.com"
to = "raty918@gmail.com"
subjectPrefix = "vuls"
[servers]
[servers.172-31-4-82.containers]
type = "lxd"
includes = ["debian", "054abe38b1e6"]
Best regards,
Metadata
Metadata
Assignees
Labels
No labels