A command line interface that calculates the security health of an application, system, or code base and returns a single score.
Get the latest pre-built binary for your system's architecture on our Releases page.
$ chmod +x shs-x.x.x-linux-amd64
$ mv shs-x.x.x-linux-amd64 /usr/local/bin/shs
shs calculate [flags]
Outputs help for calculate.
shs calculate --help
shs calculate -h
$ shs calculate -h
Calculates the Security Health Score
Usage:
shs calculate [flags]
Flags:
-h, --help help for calculate
-v, --vector stringArray Calculates security health score based on a single vector string.
Calculates security health score based on a single vector string.
shs calculate --vector
shs calculate -v
$ shs calculate -v CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N
Security Health Score: 582
$ shs calculate -v "CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N"
Security Health Score: 582
$ shs calculate -v 'CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N'
Security Health Score: 582
Outputs usage information.
shs help
shs --help
shs -h
$ shs -h
Security Security Health Score Calculator
Usage:
shs [command]
Available Commands:
calculate Calculates the Security Health Score
help Help about any command
Flags:
-h, --help help for shs
-v, --version version for shs
Use "shs [command] --help" for more information about a command.
Outputs version.
shs --version
shs -v
$ shs -v
shs version x.x.x