Closed TimPansino closed 10 months ago
Descriptor | Linter | Files | Fixed | Errors | Elapsed time |
---|---|---|---|---|---|
❌ PYTHON | bandit | 4 | 2 | 5.03s | |
✅ PYTHON | black | 4 | 1 | 0 | 1.47s |
✅ PYTHON | flake8 | 4 | 0 | 0.57s | |
✅ PYTHON | isort | 4 | 1 | 0 | 0.25s |
❌ PYTHON | pylint | 4 | 15 | 4.6s |
See detailed report in MegaLinter reports
_Set VALIDATE_ALL_CODEBASE: true
in mega-linter.yml to validate all sources, not only the diff_
Attention: 7 lines
in your changes are missing coverage. Please review.
Comparison is base (
9990e71
) 81.07% compared to head (72c00a0
) 81.07%.
Files | Patch % | Lines |
---|---|---|
newrelic/common/encoding_utils.py | 90.00% | 4 Missing and 3 partials :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Thank you for making this change! It looks like we might still be missing a couple places in the code. Primarily the other thing to look out for is if the license key is added as a
api-key
header. I've noted one in a comment but here's another:
- newrelic/bootstrap/sitecustomize.py: 137
log_message("initialize_agent = %r", bool(license_key or config_file))
bool(license_key or config_file)
This is cast to a bool, it's not printing the license key out. It's just logging whether the agent will be initialized or not as True/False.
Overview
Testing
grep -r . MYLICENSEKEY
to find any stray license keys.newrelic-admin validate-config newrelic.ini agent.log
newrelic-admin license-key newrelic.ini agent.log