Skip to content

[RUN-5116] Document webhook trigger rate limiting - #2039

Open
Jesus-Osuna-M wants to merge 2 commits into
4.0.xfrom
RUN-5116-webhook-rate-limit-docs
Open

Jesus-Osuna-M wants to merge 2 commits into
4.0.xfrom
RUN-5116-webhook-rate-limit-docs

Conversation

@Jesus-Osuna-M

@Jesus-Osuna-M Jesus-Osuna-M commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Documents the webhook trigger rate limit. All tokens share rundeck.apiRateLimiting.webhook.rate. It stays off until that value is a positive integer and WebhookTokenApiRateLimiter is in include.

Test plan

  • Rate Limiting page states the shared bucket, the three on switches, and HTTP 429
  • The example marks 30 as an example, not a default
  • Webhooks page links to the rate-limiting section

Jesus-Osuna-M and others added 2 commits November 6, 2026 11:33
Webhook triggers share one ceiling, separate from the API token rate. Document the property, the include class, and that the limit stays off until both are set.

Co-authored-by: Cursor <cursoragent@cursor.com>
State the shared ceiling, the three settings that turn it on, and the 429 response.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Jesus-Osuna-M
Jesus-Osuna-M marked this pull request as ready for review November 6, 2026 15:10
@Jesus-Osuna-M
Jesus-Osuna-M requested review from a team and a balanced review from Copilot November 6, 2026 15:10
@Jesus-Osuna-M Jesus-Osuna-M added this to the 6.4.0 milestone Nov 6, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The configuration block at docs/administration/security/ratelimiting.md:93 lacks the properties language tag required by the documentation style guide.

1 open issue
What changed in this PR

This PR documents webhook trigger rate limiting in the Rundeck administration guide and links to it from the webhooks manual.

Changes:

  • Adds the webhook limiter to the supported algorithms and explains its shared bucket, activation requirements, and HTTP 429 responses.
  • Provides configuration guidance, marking 30 as an example rather than a default.
  • Adds a cross-reference from the webhooks manual.
File Description
docs/​manual/​webhooks.md Adds a request-limit summary and link to configuration guidance.
docs/​administration/​security/​ratelimiting.md Documents the webhook limiter’s configuration, behavior, and example settings.

Review effort: Balanced


The limiter stays off until `rundeck.apiRateLimiting.enabled=true`, `include` lists `rundeckpro.security.rateLimit.WebhookTokenApiRateLimiter`, and `rundeck.apiRateLimiting.webhook.rate` is a positive integer. Unset or `0` means no webhook limit. The window is `rundeck.apiRateLimiting.refillWindowInSeconds`. Over the limit the response is HTTP 429 with `Retry-After`.

```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants