-
Notifications
You must be signed in to change notification settings - Fork 35
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
CLI option to report all non-whitelisted URLs used #10
Comments
Thanks for the feedback, sounds great!
You can get this when running the linter in debug mode as shown in the screenshot on the README. I like the JSON suggestion - we can support a P.S. I'm heading out to JSConf Budapest for a week so will be slow to respond. |
Sorry, I may be misunderstanding something. When I run
I don't see anything anything about the URL that is being flagged. For example, if the package was making connections to https://evil.com, I would like to see that along with the package that is making the call. Example output could be
|
You are correct, we are not displaying anything about the URL, just the package. |
@nishils I believe that the PR at #20 which landed a while ago is now providing this, right? here is an example output now with a wrong URL:
|
Will close as this is now being supported and happy to see this used in the Salus project ❤️ |
This looks like a pretty awesome project and something I would like to include in Salus (www.github.com/coinbase/salus) to get better coverage on yarn and npm projects.
Is your feature request related to a problem? Please describe.
Please describe the problem you are trying to solve.
I'd like to get a list of all URLs being used that don't match the whitelist that fails a scan.
Describe the solution you'd like
Please describe the desired behavior.
Instead of returning
detected invalid origin for package: <package_name>
, I would like to see the URL used in addition to the package name.Preferably in a JSON format option for easier parsing but I can implement a rudimentary parser on this syntax if outputting in JSON is not going to be supported.
Describe alternatives you've considered
Please describe alternative solutions or features you have considered.
The text was updated successfully, but these errors were encountered: