Conversation
…ecord Enables the gateway to store the original client request path (before listen path stripping and URL rewriting) alongside the existing backend path in analytics records. Step-ID: pump-us002 Co-Authored-By: Claude <noreply@anthropic.com>
|
This PR enhances observability by adding Files Changed Analysis
Architecture & Impact Assessment
graph TD
A[Client Request] --> B[Tyk Gateway];
B --> C{Analytics Record Generation};
C --|Adds original_path and listen_path|--> D[AnalyticsRecord];
D --> E[Tyk Pump];
E --> F[Serialization];
F --> G[Data Sinks e.g., Elasticsearch, SQL];
Scope Discovery & Context ExpansionThis change to the core Based on the repository structure, the next logical steps would be to modify the pump implementations to handle the new fields:
This PR successfully lays the groundwork for these future enhancements. Metadata
Powered by Visor from Probelabs Last updated: 2026-02-18T21:26:40.192Z | Triggered by: pr_updated | Commit: 438c2b2 💡 TIP: You can chat with Visor using |
Security Issues (1)
✅ Architecture Check PassedNo architecture issues found – changes LGTM. ✅ Performance Check PassedNo performance issues found – changes LGTM. Quality Issues (2)
Powered by Visor from Probelabs Last updated: 2026-02-18T21:26:43.429Z | Triggered by: pr_updated | Commit: 438c2b2 💡 TIP: You can chat with Visor using |
|
/review The We follow existing structure for "rawPath" and "path" today. These can be sanitized down-chain |
|
Thank you for raising this important security concern. You are correct that storing the This pull request follows an established pattern in While this PR is consistent with the existing design, your point about potential data leaks is valid and highlights a broader security consideration. A more comprehensive solution would be to implement a configurable sanitization mechanism to scrub sensitive parameters from all relevant fields, including To address this system-wide, I recommend creating a new issue to discuss and track the implementation of a flexible data sanitization feature for analytics. This would allow the concern to be addressed holistically without blocking this particular PR. References:
Powered by Visor from Probelabs Last updated: 2026-02-18T21:00:33.510Z | Triggered by: sedkis | Commit: 7c66772 💡 TIP: You can chat with Visor using |
|
/review ive addressed the flaky length test |
|
/review The new fields they're not used in WHERE clauses |
|
Thanks for addressing the flaky test by removing the hardcoded length assertions. I've re-triggered the checks. References:
Powered by Visor from Probelabs Last updated: 2026-02-18T21:07:40.435Z | Triggered by: sedkis | Commit: 7c66772 💡 TIP: You can chat with Visor using |
|
You are correct. The new fields The changes are confined to the data structure and serialization, with no modifications to the database query logic in the References:
Powered by Visor from Probelabs Last updated: 2026-02-18T21:04:53.404Z | Triggered by: sedkis | Commit: 7c66772 💡 TIP: You can chat with Visor using |
|
/review i will follow up with the santiziation security issue in another task, you can approve this flow |
|
Acknowledged. The plan to address the sanitization of the References:
Powered by Visor from Probelabs Last updated: 2026-02-18T21:06:02.287Z | Triggered by: sedkis | Commit: 7c66772 💡 TIP: You can chat with Visor using |
|
/review the visor: quality and visor:security checks are still marked as "Check failed" in CI even though they've been addressed |
|
I've re-triggered the checks as requested. The
To address the coverage issue, you could implement the suggestions from the earlier review:
References:
Powered by Visor from Probelabs Last updated: 2026-02-18T21:18:59.015Z | Triggered by: sedkis | Commit: 7c66772 💡 TIP: You can chat with Visor using |
|
|
@tbuchaillot - the sonarcloud code analysis is failing because (50% code coverage is too low). however -- that is because it is analyzing a PROTO auto-genrated file. |



Enables the gateway to store the original client request path (before
listen path stripping and URL rewriting) alongside the existing backend
path in analytics records.
Step-ID: pump-us002
Co-Authored-By: Claude noreply@anthropic.com
Description
Related Issue
Motivation and Context
How This Has Been Tested
Screenshots (if appropriate)
Types of changes
Checklist
fork, don't request your
master!masterbranch (left side). Also, you should startyour branch off our latest
master.go mod tidy && go mod vendorgo fmt -sgo vetTicket Details
TT-7519
Generated at: 2026-02-18 21:25:35