1.8.0 • Published 4 years ago

code-guardian v1.8.0

Weekly downloads
16
License
ISC
Repository
github
Last release
4 years ago

CircleCI

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-guardian

How 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: test for all branches, deploy only for master
  • ESLint: injected as a build step
  • mocha: npm t is a part of CI build step
  • semantic-versioning
1.8.0

4 years ago

1.7.0

4 years ago

1.6.0

4 years ago

1.5.0

4 years ago

1.4.2

4 years ago

1.4.1

4 years ago

1.4.0

4 years ago

1.3.2

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago