-
Notifications
You must be signed in to change notification settings - Fork 26
Log more interesting information #72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
From experience, browser sometimes transmit query strings and fragments in the reports. In order to protect sensitive data, this might be harmful.
Allow logging multiple dimensions of meta information in the report URL.
thanks for the PR @thriqon, this looks great. if you can address the failing CI checks, i'm happy to merge this in given it's backwards compatible. |
net/netip is not present in 1.17
Package net/netip is missing in default go setup.
I've updated Go at three places, since |
i'm happy supporting 1.18+ (latest minus 2) so using that in CI seems reasonable to me 👍 |
Removed usage of |
LGTM to me @thriqon, thanks for your effort getting this one over the line! |
For our use case, we want do log additional information about a CSP report.
This change should be backwards-compatible:
path
field is new, but in structured logging and in JSON additional fields should not be a problem.