You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 15, 2022. It is now read-only.
If Ruby On Rails database schema file refers to something like what you would find in db/schema.rb in a typical Rails app, then it doesn't belong in the aforementioned list because that file is supposed to be checked into version control. When Rails generates this file, you'll notice the following comment:
It's strongly recommended that you check this file into your version control system.
Same with Ruby On Rails secret token configuration file and Potential Ruby On Rails database configuration file. Those files are typically checked into Git. It's not the files themselves that are an issue, it's whether or not they contain sensitive information that should be stored in an ENV var instead.
Lots of great insight when pushing git-seekrets out the door. One is that the regular expressions that we create should be specifically tied to documented ways that secrets can be included in a codebase. For other things that were mentioned above, I think having more general categories rather than one-off rules for each item in that list would be much better.
For now though the three we have are perfect. I hope more people contribute some regular expressions in the future. We've got docs for it now. 👍
Some Sources of Ideas for Rules:
The text was updated successfully, but these errors were encountered: