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

New plug-in are not detected #58

Open
prashpb opened this issue May 5, 2020 · 2 comments
Open

New plug-in are not detected #58

prashpb opened this issue May 5, 2020 · 2 comments

Comments

@prashpb
Copy link

prashpb commented May 5, 2020

Hi @domanchi @KevinHock @OiCMudkips

I see many new plugin in the detect-secrets but they are not getting loaded in the detect-secrets-server.
Also I am planning to develop new plug-in and add to detect-secrets so I am looking for how these plug-in gets loaded in detect-secrets-server.

I just added print statement in base_tracked_repo.py scan method to print the plugin_config and it prints the below
self.plugin_config : {'AWSKeyDetector': {}, 'BasicAuthDetector': {}, 'HexHighEntropyString': {'hex_limit': 4}, 'JwtTokenDetector': {}, 'KeywordDetector': {'keyword_exclude': No
ne}, 'MailchimpDetector': {}, 'PrivateKeyDetector': {}, 'SlackDetector': {}, 'SoftlayerDetector': {}, 'StripeDetector': {}}

It is not loading all the plug-ins and also not loading the new plug-in which I am working on.

Could you please suggest what might be wrong.
I am using detect-secrets-server version 0.2.19 which is automatically installing detect-secrets-server version 0.13.1(this has many new plug-ins)

@prashpb
Copy link
Author

prashpb commented May 5, 2020

found out that need to generate the baseline again newly whenever the new plug-in is added then it will detect all new plug-in else it wont.

@prashpb
Copy link
Author

prashpb commented May 5, 2020

is there a option to add new plug-in without generating the the configs again ?
What I did was deleted the tracked folder and regenerated again to detect the new plug-in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant