reference Environment variables

OPENGREP_APP_URL

Also spelled
SEMGREP_APP_URL
Value
a URL
See also
OPENGREP_URL

An alternative name for OPENGREP_URL, the base URL of the rule registry. It is read only when neither OPENGREP_URL nor SEMGREP_URL is set.

Examples

Precedence between the two names

app.py
eval(1)
Command and result
$ OPENGREP_APP_URL=http://app.invalid opengrep scan --config p/python app.py 2>&1 | grep -o 'http://[a-z.]*/c/p/python'
http://app.invalid/c/p/python
$ OPENGREP_URL=http://registry.invalid OPENGREP_APP_URL=http://app.invalid opengrep scan --config p/python app.py 2>&1 | grep -o 'http://[a-z.]*/c/p/python'
http://registry.invalid/c/p/python

With both set, the download goes to registry.invalid, the address in OPENGREP_URL.