Running SecretScanner standalone
As an alternative to running SecretScanner as a docker container, you can build it as a Standalone application.
info
Help needed!
These instructions are out-of-date and need refreshed
Build Instructions
- Run bootstrap.sh
- Install Docker
- Install Hyperscan
- Install go for your platform (version 1.14)
- Install go modules, if needed:
gohs,yaml.v3andcolor go get github.com/deepfence/SecretScannerwill download and build SecretScanner automatically in$GOPATH/binor$HOME/go/bindirectory. Or, clone this repository and rungo build -v -ito build the executable in the current directory.- Edit config.yaml file as needed and run the secret scanner with the appropriate config file directory.
Refer to the Install file for instructions on how to build on an ubuntu system.
Instructions to Run on Local Host
As a standalone application
./SecretScanner --help
./SecretScanner -config-path /path/to/config.yaml/dir -local test
./SecretScanner -config-path /path/to/config.yaml/dir -image-name node:8.11
As a server application
./SecretScanner -socket-path /path/to/socket.sock