CLI option to report all non-whitelisted URLs used
See original GitHub issueThis 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.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (4 by maintainers)
Top GitHub Comments
@nishils I believe that the PR at https://github.com/lirantal/lockfile-lint/pull/20 which landed a while ago is now providing this, right?
here is an example output now with a wrong URL:
You are correct, we are not displaying anything about the URL, just the package. Agree with you completely 👍