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

Should 'secret_key' be added to the keyword plugin? #148

Closed
mdscruggs opened this issue Mar 22, 2019 · 3 comments
Closed

Should 'secret_key' be added to the keyword plugin? #148

mdscruggs opened this issue Mar 22, 2019 · 3 comments
Labels
pending The issue still needs to be reviewed by one of the maintainers.

Comments

@mdscruggs
Copy link

mdscruggs commented Mar 22, 2019

While trying out detect-secrets for the first time today, I noticed the term 'secret_key' is not present in the keyword plugin (see https://github.com/Yelp/detect-secrets/blob/master/detect_secrets/plugins/keyword.py#L38). This means it doesn't find the very common Django SECRET_KEY variable. I was wondering if folks think 'secret_key' should be added to the keyword plugin's blacklist...but as a newcomer to this library I wasn't sure if that would cause consternation, since it would basically point out SECRET_KEY for any and all Django projects (if I understand the plugin correctly).

Just looking to start the conversation! Thanks!

@KevinHock
Copy link
Collaborator

Hi @mdscruggs, that's a good idea 👍

I'd have to do a decent amount of internal testing first, before adding that to the keyword blacklist, but it definitely sounds reasonable. I'll leave this open until I add it/do the internal testing.

@Tioborto
Copy link

Tioborto commented Apr 8, 2019

Interessed about it 👍

@lorenzodb1 lorenzodb1 added pending The issue still needs to be reviewed by one of the maintainers. and removed enhancement labels Jun 13, 2022
@lorenzodb1
Copy link
Member

We're going to close this issue as it hasn't received any update in a very long time. Feel free to re-open it if you think it's still relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending The issue still needs to be reviewed by one of the maintainers.
Projects
None yet
Development

No branches or pull requests

4 participants