You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to ensure that our regex rules are correct, they should be tested, using BATS and run automatically with Travis.
Rulesets for git-seekrets are defined as regex inside a yaml file. These include rule name, the regex for the match, and any acceptable false positives as unmatch. Existing rulesets that need tests defined are here: https://github.com/18F/laptop/tree/seekret/seekret-rules
In order to ensure that our regex rules are correct, they should be tested, using BATS and run automatically with Travis.
Rulesets for
git-seekretsare defined as regex inside a yaml file. These include rule name, the regex for thematch, and any acceptable false positives asunmatch. Existing rulesets that need tests defined are here:https://github.com/18F/laptop/tree/seekret/seekret-rules
Depends on #75 for easier implementation.
If fixing, please use
seekretbranch so it's merged into PR #69More about the rules YAML: https://github.com/apuigsech/seekret/blob/75ab481819b4c1e1794497defea9a9332943295b/README.rst#rules
Acceptance Criteria
git seekretin a repeatable way ( should be covered in another story )BATSin a repeatable way, readmeBATStests for each of these:git seekretinstallation.rulesetsenabled.git seekretis called on a test repository and secrets are detected. (positives)git seekretis called on a test repository and non-secrets are not detected. (acceptable false positives)