SecretScanner icon indicating copy to clipboard operation
SecretScanner copied to clipboard

Error when running docker container (yara.go:59 runner.go:81)

Open cherez0ff opened this issue 1 year ago • 1 comments

docker run -i --rm \
	-v /var/run/docker.sock:/var/run/docker.sock \
	quay.io/deepfenceio/deepfence_secret_scanner_ce:2.4.0 \
	-image-name alpine:latest

Got error:

ERRO[2024-10-08T09:03:52Z] yara.go:59 open : no such file or directory
ERRO[2024-10-08T09:03:52Z] runner.go:81 error in runOnce compiling yara rules: open : no such file or directory

Same for older version.

cherez0ff avatar Oct 08 '24 09:10 cherez0ff

Hello @cherez0ff, running secret scanner in cli mode is not supported in this version. It will be added in the next major release.

ramanan-ravi avatar Oct 08 '24 15:10 ramanan-ravi

@ramanan-ravi that is confusing, because those are the directions given on the website. What is the major version that will support the CLI?

https://community.deepfence.io/docs/secretscanner/using/scan

DavidTanner avatar Oct 28 '24 22:10 DavidTanner

Hello @DavidTanner, we will let you know once it's available

ramanan-ravi avatar Oct 29 '24 09:10 ramanan-ravi

Hello @DavidTanner @cherez0ff, cli support is now available in v2.5.0

ramanan-ravi avatar Nov 14 '24 16:11 ramanan-ravi