
PEACH
Uma estrutura de isolamento de inquilino
An @auth.on handler can return a dict to filter which resources a caller sees. These filters applied to some routes and were ignored on others:
threads.read, threads.search or threads.delete filter applied to GET /threads/{thread_id}, search and delete, but not to the routes under the thread: state, checkpoints, history, the run list, a single run, /join, /stream, run delete, and the v2 event stream. It also did not apply to starting a run on the thread (POST /threads/{thread_id}/runs, /runs/stream, /runs/wait, v2 run.start and input.respond), which returns and streams the thread's state. A caller could read the state and runs of a thread the filter hid.assistants.read filter did not apply when a run or a cron named the assistant, so a caller could run an assistant the filter hid.crons handler filter did not apply to cron search, count or delete.
Owner scoping still applied on every route: a caller could not reach another user's threads, runs or crons. The gap is inside one identity, for deployments that use filters to separate data under a shared identity, for example by team or tenant metadata. Deployments whose handlers do not return filters are not affected.Fixed in 0.13.0. The filter now applies on each route listed above, and a hidden resource returns 404. Starting a run on an existing thread now also dispatches threads.read. A dict returned from threads.update or crons.update is still not a filter (PATCH /threads/{thread_id} merges its metadata, other update routes ignore it), so return False to deny an update.
Return False from the handler, instead of a filter, for callers who must not see a resource.
Origem: NVD
Avaliação Gratuita de Vulnerabilidades
Avalie suas práticas de segurança em nuvem em 9 domínios de segurança para avaliar seu nível de risco e identificar lacunas em suas defesas.
Marque uma demonstração personalizada
"A melhor experiência do usuário que eu já vi, fornece visibilidade total para cargas de trabalho na nuvem."
"A Wiz fornece um único painel de vidro para ver o que está acontecendo em nossos ambientes de nuvem."
"Sabemos que se a Wiz identifica algo como crítico, na verdade é."