Refine Semgrep proxy information - #2831
Draft
armchairlinguist wants to merge 2 commits into
Draft
armchairlinguist wants to merge 2 commits into
armchairlinguist wants to merge 2 commits into
Conversation
I'm making some changes to proxy handling, and need to reflect that in the docs.
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
abhijna
reviewed
Sep 3, 2026
abhijna
reviewed
Sep 3, 2026
| In addition to `.semgrepignore` there are several methods to set up ignore patterns. See [Ignoring files, folders, or code](/ignoring-files-folders-code). | ||
|
|
||
| ## Connect to Semgrep Registry through a proxy | ||
| ## Connect to Semgrep Registry and other endpoints through a proxy |
Collaborator
There was a problem hiding this comment.
Suggested change
| ## Connect to Semgrep Registry and other endpoints through a proxy | |
| ## Connect to Semgrep through a proxy |
Collaborator
There was a problem hiding this comment.
Wondering if perhaps dropping "Registry and other endpoints" achieves the same goal of making it clear that the proxy applies to all outbound requests.
Collaborator
Author
There was a problem hiding this comment.
I'm fine either way - the only reason I didn't delete it is that the registry is definitely the most common thing people see in terms of outbound requests.
Co-authored-by: Abhijna Parigi <abhijna@semgrep.com>
armchairlinguist
commented
Sep 3, 2026
| export HTTPS_PROXY="http://10.10.1.10:1080" | ||
| ``` | ||
|
|
||
| If the proxy environment variables are set but empty, Semgrep treats them as unset and makes direct HTTP requests. If a valid proxy is missing a protocol, Semgrep attempts to add one. |
Collaborator
Author
There was a problem hiding this comment.
Suggested change
| If the proxy environment variables are set but empty, Semgrep treats them as unset and makes direct HTTP requests. If a valid proxy is missing a protocol, Semgrep attempts to add one. | |
| If the proxy environment variables are set but empty, Semgrep treats them as unset and makes direct HTTP requests. If an otherwise-valid proxy value is missing a protocol, Semgrep adds an appropriate protocol. |
Waiting to accept this suggestion bc scheme vs protocol is potentially confusing, taking an informal poll :)
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I'm making some changes to proxy handling, and need to reflect that in the docs.
The section title change also makes it clearer that a proxy is used/useful for any outside calls, not just the registry. The only link to this section is in past release notes (Oct 2022) so I haven't updated it but can.
Please ensure:
main)