Skip to content
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

Fix broken reported URL link for B107 #751

Merged
merged 1 commit into from Nov 12, 2021

Conversation

bagerard
Copy link
Contributor

bandit currently reports this for B107

Issue: [B107:hardcoded_password_default] Possible hardcoded password: 'some_sample_password'
Severity: Low Confidence: Medium
Location: ../cpwp-api/cpwp/cwp/tests/integration/utils.py:18
More Info: https://bandit.readthedocs.io/en/latest/plugins/b107_hardcoded_password_default.html

But the link doesn't point to a valid page on readthedocs (RTD), the right URL is this one:
https://bandit.readthedocs.io/en/latest/plugins/b107_hardcoded_password_funcdef.html

From what I understood the URL is built from the function name and so there is a mismatch. I renamed the doc page instead of renaming the function, I thought this was more consistent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants