doc updates for kong and srql #2339
No reviewers
Labels
No labels
1week
2weeks
Failed compliance check
IP cameras
NATS
Possible security concern
Review effort 1/5
Review effort 2/5
Review effort 3/5
Review effort 4/5
Review effort 5/5
UI
aardvark
accessibility
amd64
api
arm64
auth
back-end
bgp
blog
bug
build
checkers
ci-cd
cleanup
cnpg
codex
core
dependencies
device-management
documentation
duplicate
dusk
ebpf
enhancement
eta 1d
eta 1hr
eta 3d
eta 3hr
feature
fieldsurvey
github_actions
go
good first issue
help wanted
invalid
javascript
k8s
log-collector
mapper
mtr
needs-triage
netflow
network-sweep
observability
oracle
otel
plug-in
proton
python
question
reddit
redhat
research
rperf
rperf-checker
rust
sdk
security
serviceradar-agent
serviceradar-agent-gateway
serviceradar-web
serviceradar-web-ng
siem
snmp
sysmon
topology
ubiquiti
wasm
wontfix
zen-engine
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
carverauto/serviceradar!2339
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refs/pull/2339/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from GitHub pull request.
Original GitHub pull request: #1804
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/pull/1804
Original created: 2025-10-19T04:01:03Z
Original updated: 2025-10-19T04:02:26Z
Original head: carverauto/serviceradar:docs/update_web_ui_kong
Original base: main
Original merged: 2025-10-19T04:01:55Z by @mfreeman451
PR Type
Documentation, Enhancement
Description
Introduce Kong API Gateway as central policy enforcement point for user-facing traffic
Add SRQL microservice documentation for query execution and Proton SQL translation
Replace API key authentication with RS256 JWT validation via JWKS endpoint
Update architecture diagrams to show Kong, SRQL, and Proton data layer components
Expand Web UI documentation with Kong configuration examples and JWT flow details
Diagram Walkthrough
File Walkthrough
architecture.md
Restructure architecture for Kong and SRQL integrationdocs/docs/architecture.md
point between Web UI and backend services
/api/queryand/api/streamendpointsflow diagram
translation, and mTLS for service-to-service communication
technical details and port information
web-ui.md
Update Web UI docs for Kong and JWT authenticationdocs/docs/web-ui.md
management
Nginx and Core/SRQL services
gateway documentation
setup, and JWKS URI
automatic key rotation
validation debugging guidance
Imported GitHub PR comment.
Original author: @qodo-code-review[bot]
Original URL: https://github.com/carverauto/serviceradar/pull/1804#issuecomment-3419192827
Original created: 2025-10-19T04:01:33Z
You are nearing your monthly Qodo Merge usage quota. For more information, please visit here.
PR Compliance Guide 🔍
Below is a summary of compliance checks for this PR:
Token cookie hardening
Description: Storing refresh tokens in cookies requires strict settings; while HttpOnly and Secure are
mentioned, SameSite is not referenced and HTTPS is only advised—deployments without
enforced HTTPS and SameSite=strict/lax could enable CSRF/token theft risks.
web-ui.md [170-186]
Referred Code
JWKS fetch integrity
Description: Example Kong config enables jwt via jwks_uri over HTTPS to a hostname; if TLS verification
or SNI is misconfigured in deployments, MITM of JWKS could allow key
injection—documentation should note enforcing TLS verification and pinning/issuer checks.
web-ui.md [135-168]
Referred Code
Weak JWT claims checks
Description: JWT validation is centralized at the gateway; absence of explicit audience/issuer
constraints and clock skew guidance in docs could lead to accepting tokens issued for
other services—recommend documenting strict iss/aud checks.
architecture.md [149-161]
Referred Code
🎫 No ticket provided
Codebase context is not defined
Follow the guide to enable codebase context checks.
No custom compliance provided
Follow the guide to enable custom compliance check.
Compliance status legend
🟢 - Fully Compliant🟡 - Partial Compliant
🔴 - Not Compliant
⚪ - Requires Further Human Verification
🏷️ - Compliance label
Imported GitHub PR comment.
Original author: @qodo-code-review[bot]
Original URL: https://github.com/carverauto/serviceradar/pull/1804#issuecomment-3419193256
Original created: 2025-10-19T04:02:26Z
You are nearing your monthly Qodo Merge usage quota. For more information, please visit here.
PR Code Suggestions ✨
Explore these optional code suggestions:
Apply JWT plugin to services individually
The Kong configuration incorrectly applies the JWT plugin globally, which blocks
the
/api/auth/loginendpoint. The plugin should be applied selectively to avoidprotecting the login route.
docs/docs/web-ui.md [154-166]
Suggestion importance[1-10]: 9
__
Why: The suggestion correctly identifies a critical flaw in the Kong configuration where the global JWT plugin would block the login endpoint, making authentication impossible. While the proposed fix is also flawed, it highlights a major bug in the provided documentation example that needs to be addressed.