Update Rootly webhook configuration to use URL token parameter#2094
Conversation
Rootly outgoing webhooks don't support custom HTTP headers, so the Robusta API key must be passed via the &token= query parameter instead of an Authorization header, matching the Sentry/Splunk/etc. docs.
|
✅ Docker image ready for
Use this tag to pull the image for testing. 📋 Copy commandsgcloud auth configure-docker us-central1-docker.pkg.dev
docker pull us-central1-docker.pkg.dev/robusta-development/temporary-builds/robusta-runner:a1a0c30
docker tag us-central1-docker.pkg.dev/robusta-development/temporary-builds/robusta-runner:a1a0c30 me-west1-docker.pkg.dev/robusta-development/development/robusta-runner-dev:a1a0c30
docker push me-west1-docker.pkg.dev/robusta-development/development/robusta-runner-dev:a1a0c30Patch Helm values in one line: helm upgrade --install robusta robusta/robusta \
--reuse-values \
--set runner.image=me-west1-docker.pkg.dev/robusta-development/development/robusta-runner-dev:a1a0c30 |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
WalkthroughUpdated Rootly webhook docs to pass the Robusta API key as ChangesRootly webhook authentication configuration
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
docs/configuration/exporting/send-events/rootly.rst (1)
23-26: ⚡ Quick winAdd a security caveat for token-in-URL authentication.
Since the API key is now embedded in the URL, please add a short warning to avoid logging/sharing full webhook URLs and to rotate the key if exposure is suspected. This reduces accidental secret leakage risk in logs and screenshots.
Suggested doc patch
.. note:: Rootly outgoing webhooks **do not let you add custom outgoing HTTP headers**, so the Robusta API key goes in the ``&token=`` URL parameter rather than an ``Authorization`` header. + Treat the full webhook URL as a secret (it contains credentials): avoid exposing it in logs/screenshots and rotate the API key if it may have been disclosed.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@docs/configuration/exporting/send-events/rootly.rst` around lines 23 - 26, Add a short security caveat immediately after the existing note that begins "Rootly outgoing webhooks **do not let you add custom outgoing HTTP headers**" warning that embedding the API key in the URL can leak secrets; instruct readers not to log, share, or commit full webhook URLs (e.g., avoid printing the &token= URL), and advise rotating the API key immediately if exposure is suspected to mitigate accidental secret leakage in logs/screenshots.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Nitpick comments:
In `@docs/configuration/exporting/send-events/rootly.rst`:
- Around line 23-26: Add a short security caveat immediately after the existing
note that begins "Rootly outgoing webhooks **do not let you add custom outgoing
HTTP headers**" warning that embedding the API key in the URL can leak secrets;
instruct readers not to log, share, or commit full webhook URLs (e.g., avoid
printing the &token= URL), and advise rotating the API key immediately if
exposure is suspected to mitigate accidental secret leakage in logs/screenshots.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: ab51a7b6-817e-4a96-8490-516b79062b36
📒 Files selected for processing (1)
docs/configuration/exporting/send-events/rootly.rst
Summary
Updated the Rootly webhook integration documentation to pass the Robusta API key as a URL parameter instead of a custom HTTP header, since Rootly webhooks don't support custom outgoing headers.
Key Changes
&token=<ROBUSTA_API_KEY>parameterAuthorization: Bearerheader configuration step<ACCOUNT_ID>and<ROBUSTA_API_KEY>)Implementation Details
https://claude.ai/code/session_013L7mUcwgJHs1xc32xyTB5F