Files
windmill/backend/tests
f555024e73 feat: restrict api tokens to allowed ip ranges (#12679)
* fix: derive the client ip from trusted proxies only

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: read forwarded-for as raw bytes and add an explicit client ip header

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: strip the source port from cloudfront-viewer-address before parsing

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* style: rustfmt client_ip

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat: restrict api tokens to allowed ip ranges

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: inherit token ip restrictions on every mint and refuse login links

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: keep a webhook token's ip restriction when rotating it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test: pin that webhook token rotation keeps allowed_ips

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* perf: resolve the client ip only for restricted tokens and throttle refusal logs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore: update ee-repo-ref to 49b7074a9ce31a2b7cd5a730c9b9d4b8295d0c7e

This commit updates the EE repository reference after PR #1011 was merged in windmill-ee-private.

Previous ee-repo-ref: 6c8458630cea7c3082771db9f772c964ef11dcdf

New ee-repo-ref: 49b7074a9ce31a2b7cd5a730c9b9d4b8295d0c7e

Automated by sync-ee-ref workflow.

* feat: show the caller's ip so a device can check what to allowlist

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat: make token ip allowlists an ee feature

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* refactor: move token ip allowlist logic into ee

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore: update ee-repo-ref to cf0cee4ef89bd0b8b2399ced7b12ccc9a3d43dd8

This commit updates the EE repository reference after PR #1017 was merged in windmill-ee-private.

Previous ee-repo-ref: 98f8ade3347f3dcfc73962f4aa39618282f73fa3

New ee-repo-ref: cf0cee4ef89bd0b8b2399ced7b12ccc9a3d43dd8

Automated by sync-ee-ref workflow.

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
2026-11-26 21:27:52 +01:00
..