detect-secrets icon indicating copy to clipboard operation
detect-secrets copied to clipboard

An enterprise friendly way of detecting and preventing secrets in code.

Results 130 detect-secrets issues
Sort by recently updated
recently updated
newest added

Add function to scan line ``` secrets = SecretsCollection() with default_settings(): secrets.scan_line('test.txt','XMY_KEY="AKIAY5XAIXXR7ALTOOHH"MY_SECRET="3L091LfFvV/dcoDCy5YO7sWz56bitLQjlVVY2WxmY"') ```

Clear a lru_cache when creating default_settings

## Versions ```bash ➜ ~ git --version git version 2.37.1 ➜ ~ python --version Python 3.10.5 ➜ ~ detect-secrets --version 1.2.0 ``` ## Details I am trying to run `detect-secrets...

help wanted
good first issue
triaged
bug

I tried running detect-secrets against Jupyter Notebooks (.ipynb), but those files contain hashes of my interpreter. Those hashes get flagged as high entropy string. Currently I exclude Notebooks for this...

false positives
triaged
enhancement
P4

I am using this tool with azure devops pipeline.. but the tool does not detect Azure devops PAT as a secret

triaged
bug

I have created my own plugins. Then many duplicated lines are detected by the plugins ( My own + secret keyword). Is there any way to remove that one? I...

help wanted
triaged
bug

I have a file with Akamai tokens that are not being detected. The Akamai client secret is however correctly detected. As defined here: https://developer.akamai.com/getting-started/edgegrid there are three types of artifacts...

needs more info
enhancement
P2

When trying to scan a git repository checked out using `git clone --mirror`, detect-secrets fails with an error: ```fatal: this operation must be run in a work tree``` To duplicate,...

needs more info
bug

After a few experiments, I haven't been able to figure out the logic governing when it does and doesn't work. Here's an example where the pragma does work: ``` #...

pending

``` git ls-files + xargs /home/jenkins/.local/bin/detect-secrets-hook --baseline .secrets.baseline Traceback (most recent call last): File "/home/jenkins/.local/bin/detect-secrets-hook", line 11, in sys.exit(main()) File "/home/jenkins/.local/lib/python3.6/site-packages/detect_secrets/pre_commit_hook.py", line 30, in main secrets.scan_file(filename) File "/home/jenkins/.local/lib/python3.6/site-packages/detect_secrets/core/secrets_collection.py", line 42,...

pending