Add a Credential Checker tool for Review Bot

Review Request #11206 — Created Sept. 28, 2020 and submitted — Latest diff uploaded

Information

ReviewBot
master

Reviewers

This change adds a tool for Review Bot to check for hard-coded security
credentials. I used regex to search on the patterns of the known
credential types. The result may include false positives.

Verified the functionality by installing the tool and manual
testing.

Diff Revision 3

This is not the most recent revision of the diff. The latest diff is revision 11. See what's changed.

orig
1
2
3
4
5
6
7
8
9
10
11

Commits

First Last Summary ID Author
Add a Credential Checker tool for Review Bot
This change adds a tool for Review Bot to detect if a secret/credential is included in the commit. I used regex to search on the patterns of the known credential types. The result may include false positive. Testing Done: Verified the functionality by installing the integration and manual testing. Reviewed at https://reviews.reviewboard.org/r/11206/
49a03565f1bda720bd13cb7c13e348bb49e26b5d ceciliaccwei
bot/setup.py
bot/reviewbot/tools/Credential_Checker.py
Loading...