Closed
Description
Hello,
I have a question about the X-Vuls-Kernel-Version parameter. I'm using vuls in server mode, and using curl to send the scr packages. For a Debian, the Kernel-Version needs to be specified.
curl -X POST -H "Content-Type: text/plain" -H "X-Vuls-Server-Name: local_en_server" -H "X-Vuls-OS-Family: debian " -H "X-Vuls-OS-Release: 8" --data-binary "@scan.txt" http://localhost:5515/vuls
X-Vuls-Kernel-Version header is required
In the documentation of vuls, the command that is given us :
uname -a | awk '{print $7}'
And the result is not a number.
root@4212a07ff56d:/# uname -a | awk '{print $7}'
Feb
My question is in the title, i don't know why this parameter is needed because if i fill it with something else like : aa , it works just fine.
curl -X POST -H "Content-Type: text/plain" -H "X-Vuls-Server-Name: local_en_server" -H "X-Vuls-OS-Family: debian " -H "X-Vuls-OS-Release: 8" -H "X-Vuls-Kernel-Version: aa " --data-binary "@scan.txt" http://localhost:5515/vuls