Commit f64533b
committed
Add NanoID; security, health, docs & docker fixes
Introduce NanoID for user ID generation and enable optional nanoid in commons crate. Implement multiple security hardenings: verify refresh token role matches current user role, reject tokens missing token_type or using Refresh as access, sanitize file download inputs and Content-Disposition header, add WebSocket auth rate limiting, and escape CURRENT_USER() replacement to avoid injection. Restrict /healthz and /readyz to localhost to prevent remote info disclosure and change default CORS to disable credentials. Minor robustness and UX fixes: skip re-loading cached tables in SchemaRegistry, default TopicOp and Default impls, small FlatBuffer init fix, adjust tests and CLI session setup check. Add Keycloak entrypoint and compose tweaks for newer Keycloak versions, update README (layout, quick start, examples) and include KalamDB logo image.1 parent 0b827bf commit f64533b
27 files changed
Lines changed: 265 additions & 593 deletions
File tree
- backend
- crates
- kalamdb-api/src/handlers
- auth
- files
- health
- ws
- events
- kalamdb-auth/src/services/unified
- kalamdb-commons
- src
- models
- ids
- serialization
- kalamdb-configs/src/config
- kalamdb-core/src
- schema_registry/registry
- sql/executor/handlers/user
- kalamdb-sql/src/parser
- tests
- misc/auth
- testserver/manifest
- cli
- src
- tests/smoke/cli
- docker/utils
- keycloak
- docs/images
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
85 | 88 | | |
86 | 89 | | |
87 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1281 | 1281 | | |
1282 | 1282 | | |
1283 | 1283 | | |
| 1284 | + | |
| 1285 | + | |
1284 | 1286 | | |
1285 | 1287 | | |
1286 | 1288 | | |
| |||
0 commit comments