GebSecure Docs v0.1.0

Guides · Policies

Agent groups and bulk operations

Grant access to a team of agents through a group, apply or remove an assignment on many connections at once, and suspend or reactivate every agent of a group.

Agent groups#

An agent group is a named set of agents in one project, managed by administrators (Govern → Agent groups). Access granted to a group applies to its current members: adding an agent gives it the group's access at once, and removing it takes that access away. No policy has to change. Policies name a group as "group:<id>", and the group's page shows the exact reference. See GSL.

On a connection's Access tab, choose agent groups as well as, or instead of, individual agents. The plan shows how many agents each group has in the connection's environment today.

Bulk operations#

A bulk operation is one change over many targets (Govern → Bulk operations):

Change Where
Grant one access assignment on many connections, MCP servers or database connections Bulk operations → Change access on many connections, then What to change
Remove an assignment from many of them same page, Change: Remove the assignment
Suspend or reactivate every agent of a group the group's page, Suspend all / Reactivate all

How it runs:

  • Each target is planned and applied like a single change, with the same checks: blocking problems, high-risk permissions, and wider access granted by other policies. A target with a problem fails on its own, and its row shows the reason. The other targets continue.
  • Permissions are checked twice. When you start the operation, your permission is checked on every target. Each item then runs with your current role. If you lose access while it runs, the remaining items fail.
  • One kind per operation: connections, MCP servers or database connections. Only permissions every chosen target offers can be set in the form; choose targets of the same kind, or set the rest on each one's Access tab.
  • High-risk grants need an acknowledgement. Without it, those items fail with that reason.
  • Follow the progress on the operation's page. Cancel stops items that have not started. Retry failed items runs the failed ones again. Transient errors are retried automatically.
  • Who sees operations: you see the operations you started; owners, admins, security admins and auditors see all of them. Cancel and retry are for the person who started the operation, owners and admins.
  • At most 5 operations run at once per organization. Every operation, and every change it makes, is in the audit log.

API#

POST /v1/bulk-operations with kind:

  • onboarding.apply: targets (connections, MCP servers or database connections) and params (the onboarding plan input, plus acknowledgeHighRisk and comment);
  • onboarding.remove: targets and params.assignment;
  • agents.status: agent targets and/or params.groupId, plus params.status and params.reason.

Send an idempotencyKey so that a retried request starts the operation only once. Read progress with GET /v1/bulk-operations/{id}. Cancel or retry with POST /v1/bulk-operations/{id}/cancel and /retry.