Repository navigation
[Hosting] Redact AWSAccessKeyId and Signature - #70255
Conversation
Restore `AWSAccessKeyId` and `Signature` to the query string parameters redacted from `url.query` to align with OpenTelemetry Semantic Conventions v1.45.0. Relates to open-telemetry/semantic-conventions#3989. Assisted-by: Claude Code <[email protected]>
|
Thanks for your PR, @martincostello. Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified for the query-parameter redaction update.
No open issues 🎉
What changed in this PR
Updates hosting telemetry to redact AWSAccessKeyId and Signature query parameter values from url.query, aligning with OpenTelemetry Semantic Conventions v1.45.0.
Changes:
- Adds both parameter names to the existing case-sensitive redaction list.
- Expands helper tests and updates activity-tag expectations.
- Updates the semantic conventions link in the XML documentation to v1.45.0.
| File | Description |
|---|---|
src/Hosting/Hosting/test/HostingTelemetryHelpersTests.cs |
Covers redaction, repeated and encoded names, casing, near misses, and missing or empty values. |
src/Hosting/Hosting/test/HostingApplicationDiagnosticsTests.cs |
Updates expected url.query activity tags for both parameters. |
src/Hosting/Hosting/src/Internal/HostingTelemetryHelpers.cs |
Adds both names to the redaction list and updates the documentation link. |
Review effort: Balanced
|
/review |
|
Copilot's local review panel found no issues to raise at this commit. |
|
✅ No documentation PR was created. Confidence that documentation is needed: 15% No docs needed: internal telemetry redaction list update (3 files in src/Hosting/Hosting, no signals); existing docs don't list redacted parameters. Documentation surfaces considered
|
Redact AWSAccessKeyId and Signature
Redact the
AWSAccessKeyIdandSignaturequery string parameters fromurl.queryto align with OpenTelemetry Semantic Conventions v1.45.0.Description
AWSAccessKeyIdandSignatureto the list of sensitive query string parameter names inHostingTelemetryHelpers.v1.45.0 restored these keys to the default list of sensitive query parameter keys (open-telemetry/semantic-conventions#3989).
Without the change to
HostingTelemetryHelpers, the 10 test cases that expect these names to be redacted fail; with it, all pass.Relates to open-telemetry/semantic-conventions#3989.
/cc @DeagleGross
🤖 Generated with Claude Code