Skip to content

Failed to scan. err: No server defined. Check the configuration #187

Closed
@keyolk

Description

@keyolk

Hello~
I'm newbie on this project.

I'm tyring it with docker, docker-compose.
but failed with below error

[Sep 19 02:04:56]  INFO [localhost] Validating Config...
[Sep 19 02:04:56]  INFO [localhost] Detecting Server/Contianer OS... 
[Sep 19 02:04:56]  INFO [localhost] Detecting OS of servers... 
[Sep 19 02:04:56]  INFO [localhost] Detecting OS of containers... 
[Sep 19 02:04:56]  INFO [localhost] Checking sudo configuration... 
[Sep 19 02:04:56]  INFO [localhost] Detecting Platforms... 
[Sep 19 02:04:56]  INFO [localhost] Scanning vulnerabilities... 
[Sep 19 02:04:56] ERROR [localhost] Failed to scan. err: No server defined. Check the configuration

my config.toml is below

[servers]

[my laptop]
host  = "xx.xx.xxxx.xxx"
user  = "keyolk"
keyPath  = "conf/id_rsa"
vuls configtest -debug
[Sep 19 03:04:31]  INFO [localhost] Validating Config...
[Sep 19 03:04:31]  INFO [localhost] Detecting Server/Contianer OS... 
[Sep 19 03:04:31]  INFO [localhost] Detecting OS of servers... 
[Sep 19 03:04:31]  INFO [localhost] Detecting OS of containers... 
[Sep 19 03:04:31]  INFO [localhost] Checking sudo configuration... 
[Sep 19 03:04:31]  INFO [localhost] SSH-able servers are below...

Could anyone inform me why it puts the error ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions