-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker run doesn't recognize the token #397
Comments
Try also setting the Are you interested in the specific output of this tool? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi all!
I'm trying to scan a .NET project but sast-scanner requires the token for that. If I choose sl it works perfectly:
But If I try to use the container It seems It doesn't receive the token in the env that It expects:
docker run --rm -e "WORKSPACE=${PWD}" -e SHIFTLEFT_ACCESS_TOKEN="$SL_TOKEN" -v $PWD:/app shiftleft/scan scan --src /app --out_dir /app/reports
Any thoughts?
Thank you so much!!
The text was updated successfully, but these errors were encountered: