Scan always finish with exit code 1
guidorapisarda opened this issue · comments
I'm using the docker run --rm -e "WORKSPACE=${PWD}" -v $PWD:/app shiftleft/sast-scan scan
command to execute scans on my repo (it has python and terraform code). The exit code is always 1 (error) and no log is printed on the console.
I tried removing all the types of scan one by one, just to find that whatever scan type I'm using, it always ends with exit code 1. Can i enable some log tracing?
@guidorapisarda automatic build breaker is a feature and is based on critical and high vulnerabilities found. You can pass the argument --no-error to disable this
Okey, thanks for the info and for your very fast response. I couldn't find that option on my own
Not an issue. Happy to help!