-
Notifications
You must be signed in to change notification settings - Fork 481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Capturing env vars in files #108
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
(self._analyze_yaml_file, yaml.YAMLError,), | ||
(super(HighEntropyStringsPlugin, self).analyze, Exception,), | ||
(self._analyze_ini_file(True), configparser.Error,), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: add_header=True
(so it's clear what we're setting.)
def setup(self): | ||
super(TestBase64HighEntropyStrings, self).setup( | ||
# Testing default limit, as suggested by truffleHog. | ||
Base64HighEntropyString(4.5), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super nit: Might be more DRY if we make this a hard-coded value, and export it from usage.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛥
Fixes: #106