soluble-cli

command module
v0.4.36 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

README

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:

soluble auto-scan -d ~/my-stuff

This will search under ~/my-stuff for a variety of infrastructre-as-code files and scan them.

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:

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

You can instead run individual scans:

CI Integration

(WIP - basic notes)

  1. Set the environment variable SOLUBLE_API_TOKEN to an API token from https://app.soluble.cloud/admin/tokens/access
  2. Add a step to run soluble auto-scan -d . --upload, or run individual scans (see soluble iac-scan --help)
  3. At then end of your CI job, run soluble build update-pr to update the pull request with the scan results.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL