terrascan
terrascan copied to clipboard
Error while scanning a git repo remotely
- terrascan version: 1.10.0
- Operating System: Windos
Description
I am trying to scan a git repo remotely via terrascan how i keep getting the following errors:
- error downloader/getter.go:148 empty remote url or type or desitnation dir path
- cli/run.go:120 scan run failed{error 26 0 remote url or destination dir path cannot be empty}
What I Did
- Ensured that I am authenticated in GIT
- Ensured that the repo is cloned in my git account
Screenshot attached for reference
Hi @ashayndoshi , Thanks for using terrascan.
I believe, you are missing the -r
before the git
param. For eg:
$ terrascan scan -r git -u https://github.com/accurics/KaiMonkey.git
Do let me know if this works for you!