Global allowlist regex (#422)

* work in progress

* Update test configs

* adding test

* golint and change to allowlist

* fix race condition, this mistakenly got committed

* Updating tests and examples

* bump to v6 as this is a breaking change to the config

* More consistent variables
This commit is contained in:
Zachary Rice authored and GitHub committed 2020-08-12 17:18:25 -04:00
1 parent 6129b1a15d
commit fae366a404
69 files changed
+449 -204

No files matched your search

@@ -2,6 +2,6 @@
[[rules]]
description = "Generic password"
regex = '''(?i)(password|token).{0,20}?\s*[:|=]\s*?(?-i)([0-9a-zA-Z\/+]{4,40})'''
fileNameRegex = '''.*\.properties'''
filePathRegex = '''config(guration)?'''
file = '''.*\.properties'''
path = '''config(guration)?'''
tags = ["key", "Yml", "Yaml"]