-
Notifications
You must be signed in to change notification settings - Fork 473
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
AzureKeyDetector plugin (updated from AzureStorageKeyDetector) #597
base: master
Are you sure you want to change the base?
Conversation
Hi @satonaoki, thank you for opening this PR. I appreciate your work on improving our Azure keys detector.
I just merged #598, which fixed the probable cause why tests are failing. I suggest you update your branch and we'll run tests again. |
Fix "E275 missing whitespace after keyword"
Hi @lorenzodb1 I rebased my branch from Yelp:master. The reason of test failure is that the old plugin name
|
@lorenzodb1 Any update/comment? |
@satonaoki Hello. It seems the CI is still failing. Can you checkout the errors and fix them? |
@jpdakran I added pragma allowlist comment to resolve the CI issue. Could you approve the workflow?
|
@jpdakran I resolved another CI issue. Could you approve the workflow? |
@satonaoki looks like some checks are still failing. I encourage you to take a look at those. |
@lorenzodb1 "W291 trailing whitespace" error fixed. Could you approve the workflow?
|
Hmm. CI still has these two errors. But it seems that https://github.com/asottile/add-trailing-comma/blob/main/README.md I will run CI in my forked repo and take a close look at it.
|
I updated
AzureStorageKeyDetector
toAzureKeyDetector
.AzureKeyDetector
supports various Azure services in addtion to Azure Storage (supported by AzureStorageKeyDetector).Here are supported Azure services:
azure.py
has RegEx expressions for various key/connection string format of various Azure services.azure_test.py
has corresponding payload/should_flag pairs for RegEx espressions/azure_test.py
runs succesfully.However, when I scan
azure_test.py
, detect-secrets detects 6 secrets only. I think it should detec 27 secrets. I don't know the reason why 21 secrets are not detected. I'd like to find the reason in this thread and fix it (if needed).