You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GB does not have a fully offline mode. You need to install the requests library even if you are not using the product on a network. You must somehow make a request to download the rule file. If you have no network access, GB cannot even run.
I suggest a manual bit of instructions for boot-strapping GB. I'm not sure if removing the 'requests' requirement is worth the trouble, but a simple "how to use with zero network access" would be quite handy.
The text was updated successfully, but these errors were encountered:
What if we added the rules file to the etc directory, which would be used if https://grepbugs.com/ can't be reached? It may not be the latest version of the rules at a given point and time, but at least you would be able to run a scan. Also we can update the repo from time to time with the latest rule file.
Or the DB dir from a git clone. But I don't like that as git pull will be in conflict with normal operation for someone with networking enabled.
What about just a detailed set of directions? Download GB and then manually put grepbugs.com/ruleset.json into xyz location? Just be clear and detailed about this. Then, mention to use the command line flag to turn off the download to speed things up.
I'd be fine with that, just need to write and test it.
That makes sense. Perhaps a command line option to just download the rules file, and an option for scan with local rules file only. And some instructions :)
GB does not have a fully offline mode. You need to install the requests library even if you are not using the product on a network. You must somehow make a request to download the rule file. If you have no network access, GB cannot even run.
I suggest a manual bit of instructions for boot-strapping GB. I'm not sure if removing the 'requests' requirement is worth the trouble, but a simple "how to use with zero network access" would be quite handy.
The text was updated successfully, but these errors were encountered: