scan-for-secrets

2.0.3 • Public • Published

An NPM package which scans a given directory for the inclusion of AWS keys.

Requires

Node 8+

Installation

  1. Install package

    npm install --save-dev scan-for-secrets
  2. Add the script to package.json with the directory in which you want to scan for keys

    {
      "scripts" : {
        "scan-for-secrets": "scan-for-secrets <directory-to-scan>",
        ...
      }
      ...
    }
  3. Add to pre-commit hook in package.json (optional)

    {
        "pre-commit": [
          "scan-for-secrets"
        ],
    }

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.3
    213
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.3
    213
  • 2.0.2
    1
  • 2.0.1
    1
  • 1.0.1
    1
  • 1.0.0
    1

Package Sidebar

Install

npm i scan-for-secrets

Weekly Downloads

169

Version

2.0.3

License

MIT

Unpacked Size

8.41 kB

Total Files

10

Last publish

Collaborators

  • bcalderwood