-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
workaround .env file #1393
Comments
Hi @g4ze, this could be solved by the introduction of scanner options which is basically adding support for optional parameters for existing scanners. This could be quickly implemented without breaking change and used through the API like this:
If it's not specified, the environment variable is used. Could you confirm that this would solve your case? |
Thanks for the attention! So you basically you mean that we'd need change https://github.com/sundowndev/phoneinfoga/cmd/scan.go |
No I'm talking about the REST API only, not the command line. If I understand correctly, you plan to integrate phoneinfoga in your project by using the REST API, is that right? For this we'll need to change the scanner interface here to accept those options. If this can wait a week or so I can take care of the changes. |
my bad. yes, you understood our problem well. We can wait a week or so. Please keep us updated for the same. |
works as requested, thankyou very much |
Cool! After reviewing your PR, I suggest that you use a fixed docker tag, instead of using the Anyway, I can close this one. |
hmm, makes sense. Thankyou for the suggestion :3 ! |
We at intelowlproject/IntelOwl#2107 (comment) are trying to implement an analyzer of
phoneinfoga
. For this, we deem it unsuitable for our framework to put in api the API keys in the .env file. Instead, it could be feasible if we can pass the api key with the request to the endpoint itself and not have it picked from the .env file.The text was updated successfully, but these errors were encountered: