clavitor/clavis/clavis-vault/api
James d3e9f89bc0 Add PUT /api/agents/{id} endpoint for updating agent WL/RL
HandleUpdateAgent allows updating:
- IP whitelist (ip_whitelist array)
- Rate limit per minute (rate_limit_minute)

Does NOT allow updating (security):
- Admin status (intentionally omitted)
- All_access flag
- Scopes

Requires admin token (PRF tap) since it's a sensitive operation.
This enables the Edit Agent GUI in agents.html to save changes.
2026-04-02 02:14:00 -04:00
..
handlers.go Add PUT /api/agents/{id} endpoint for updating agent WL/RL 2026-04-02 02:14:00 -04:00
integration_test.go feat: vault v2 rewrite — CVT tokens, scoped access, agents-as-entries, 14 importers 2026-03-31 13:36:04 -04:00
middleware.go Security hardening v2: Edition system + 24 security fixes 2026-04-02 00:36:31 -04:00
replication.go Complete replication implementation with L0/L1 auth (Commercial Only) 2026-04-02 01:21:20 -04:00
routes.go Add PUT /api/agents/{id} endpoint for updating agent WL/RL 2026-04-02 02:14:00 -04:00
routes_commercial.go Complete replication implementation with L0/L1 auth (Commercial Only) 2026-04-02 01:21:20 -04:00
routes_community.go Complete replication implementation with L0/L1 auth (Commercial Only) 2026-04-02 01:21:20 -04:00