vknell / soluble-cli

Home Page:https://doc.soluble.cloud/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Soluble CLI

This is the command line interface for Soluble.

Installation

On MacOS use homebrew:

brew install soluble-ai/soluble/soluble-cli

To upgrade to the latest version:

brew upgrade soluble-ai/soluble/soluble-cli

On linux, run:

wget -O - https://raw.githubusercontent.com/soluble-ai/soluble-cli/master/linux-install.sh | sh

Or:

curl https://raw.githubusercontent.com/soluble-ai/soluble-cli/master/linux-install.sh | sh

The install will drop the executable in the current directory. If you run this as root or can sudo to root, the install will try to move the binary to /usr/local/bin/soluble.

Windows executables can be found on the releases page.

Run Security Scans

Run security scans on your code with:

# scan terraform IAC
soluble terraform-scan -d ~/my-stuff
# scan for secrets
soluble secrets-scan -d ~/my-stuff
# scan kubernetes manifests
soluble kubernetes-scan -d ~/my-stuff
# scan Helm charts
soluble helm-scan -d ~/my-stuff

If you'd like to manage the findings of those tools with Soluble, you'll have to authenticate the CLI with:

soluble login

Then re-run the scan with with --upload flag, as in:

soluble terraform-scan -d ~/my-stuff --upload

Some of the scans support multiple tools. For example, soluble terraform-scan by default scans terraform files with checkov, and soluble terraform-scan tfsec scans with tfsec.

Use the builtin help e.g. soluble help terraform-scan to see the supported scanners and options.

About

https://doc.soluble.cloud/

License:Apache License 2.0


Languages

Language:Go 97.3%Language:Shell 2.0%Language:HCL 0.7%