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
The current API and implementation is heavily reliant upon the expectation that this project will be used to scan a filesystem. However, it may be useful to find secrets that have in some string that may only exist in memory.
What is the expected behavior?
It would be great if you could scan a given string you have in memory and determine if that string contains a secret.
What is the motivation / use case for changing the behavior?
This would allow this library to be used to detect secrets in context outside of just a filesystem, but more generally as a secret detection library.
The text was updated successfully, but these errors were encountered:
lorenzodb1
added
triaged
The issue has been reviewed but has not been solved yet.
request
The issue is a request for a new feature or plugin.
and removed
pending
The issue still needs to be reviewed by one of the maintainers.
labels
May 16, 2024
Hi @lorenzodb1. Can you please check my pull request #836 which introduces API for calling detect-secrets from python scripts. It has following features:
Get list of supported plugins
Scan string with all plugins or specified plugins
Scan file with all plugins or specified plugins
Scan git repo with options to scan all files or only git tracked repos. Also with all plugins or specified plugins
I'm submitting a ...
What is the current behavior?
The current API and implementation is heavily reliant upon the expectation that this project will be used to scan a filesystem. However, it may be useful to find secrets that have in some string that may only exist in memory.
It would be great if you could scan a given string you have in memory and determine if that string contains a secret.
This would allow this library to be used to detect secrets in context outside of just a filesystem, but more generally as a secret detection library.
The text was updated successfully, but these errors were encountered: