Repository navigation
Conversation
✅ Deploy Preview for expressjscom-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
For reviewers' convenience, here are the rendered pages, which aren't actually linked from anywhere in the deploy preview site: |
bjohansebas
left a comment
There was a problem hiding this comment.
just a few minor comments; I’m not an expert on proxies.
|
There's a fair amount to unpack here, and I'm going to have to come back to this with more detailed comments. At a high level, I think we need to review and update the two other places that document
There is some duplication between these three docs, which is OK... IF there is a good reason for it:
All three of these docs use CIDR notation in examples, with no explanation or references. While many developers may be familiar with it, we should at least say something like "We're assuming you're familiar with CIDR notation used for trust proxy option values" (with xref link). Also the API ref confusingly mixes IPv4 and IPv6 CIDR notation in the explanation of loopback, linklocal, and uniquelocal. This can easily be improved. Finally, since the |
crandmck
left a comment
There was a problem hiding this comment.
Some clarifications and copy edits
Co-authored-by: Rand McKinney <crandmck@gmail.com> Signed-off-by: Jon Church <me@jonchurch.com>
Co-authored-by: Rand McKinney <crandmck@gmail.com> Signed-off-by: Jon Church <me@jonchurch.com>
better spell out the risk of longer or shorter paths when using count

This PR introduces the trust proxy spoke page for the security hub.
Suffice to say, I learned just how much I did not understand trust proxy while writing this!
Unrelated to this PR, but I do feel pretty strongly that we should rework this setting slightly in v6, specifically dropping the
trust proxy: trueoption as I am convinced now that it is a footgun. We should also push users to setting an address range and not a hop count for this setting, which I realized very late into the process of writing this documentation, and these docs now reflect that better advice.This PR also tweaks the two hub items I had previously for trust proxy, in order to better reflect what I have learned developers should ask themselves to determine if they are correctly using this setting, and if they are using it w/ a correctly configured proxy.
The structure I went for here is what I expect to do for the rest of the spokes:
Feedback on structure is highly relevant here!