1.8.0 • Published 6 years ago
code-guardian v1.8.0
code-guardian
Simple cli tool to check a code against different kinds of issues
Currently supported checks
- sensitive data: keys, secrets, passwords
- private key and certificate files
How to install
npm i -g code-guardianHow to start
cd your-repo
code-guardian
# for more details
code-guardian --help
Options:
--help Show help [boolean]
--version Show version number [boolean]
--path, -p Repo path to check [default: "./"]
--excludes, -e File path to excludes file
[default: "/home/user/code-guardian/.fileignore"]
--entropyThreshold [default: 2]
--checkers Specify checkers to be used
[array] [choices: "private.keys", "secret"] [default: []]Practices and tools applied
- CircleCI:
testfor all branches,deployonly formaster - ESLint: injected as a build step
- mocha:
npm tis a part of CIbuildstep - semantic-versioning