Quick Start
Video
Traditional Method
Download & Deploy
- Method No.1:one-click installation
- For Mac/Linux Users
curl -sSL https://raw.githubusercontent.com/XmirrorSecurity/OpenSCA-cli/master/scripts/install.sh | sh # Try this when internet connection fails curl -sSL https://gitee.com/XmirrorSecurity/OpenSCA-cli/raw/master/scripts/install.sh | sh -s -- gitee
- For Mac/Linux Users
- Method No.2:via
Homebrew(Mac/Linux)brew install opensca-cli - Method No.3:Download executable program and decompress from GitHub or Gitee
Use OpenSCA
Report dependencies of the given directory
opensca-cli -path ${project_path}
Report dependencies and get info of vuls & licenses from cloud knowledge base
Register first register and get token
opensca-cli -path ${project_path} -token ${token}
Docker
Report dependencies of the given directory
docker run -ti --rm -v ${project_path}:/src opensca/opensca-cli:latest
Report dependencies and get info of vuls & licenses from cloud knowledge base
Register first register and get token
docker run -ti --rm -v ${project_path}:/src opensca/opensca-cli:latest -token ${token}