eslint-plugin-no-secrets
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "eslint-plugin-no-secrets", | ||
"version": "0.1.1", | ||
"description": "An eslint plugin to find strings that might be secrets/passwords", | ||
"version": "0.1.2", | ||
"description": "An eslint rule that searches for potential secrets/keys in code", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
@@ -19,2 +19,11 @@ # eslint-plugin-no-secrets | ||
```js | ||
//Found a string with entropy 4.3 : "ZWVTjPQSdhwRgl204Hc51YCsritMIzn8B=/p9UyeX7xu6KkAGqfm3FJ+oObLDNEva" | ||
const A_SECRET = "ZWVTjPQSdhwRgl204Hc51YCsritMIzn8B=/p9UyeX7xu6KkAGqfm3FJ+oObLDNEva"; | ||
//Found a string that matches "AWS API Key" : "AKIAIUWUUQQN3GNUA88V" | ||
const AWS_TOKEN = "AKIAIUWUUQQN3GNUA88V"; | ||
``` | ||
## Config | ||
Decrease the tolerance for entropy | ||
@@ -21,0 +30,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10037
76