Skip to main content

Organize a large agent fleet

Fleet groups organize inventory. They do not change agent permissions, configuration, scan targets or software update policy.

Preview, review and apply​

  1. Open Agents & sensors. Set the name/ID, group and access-state filters. Use View archived agents if those are the entries you intend to organize.
  2. Open Fleet tools > Group operations > New assignment. The selection includes matching agents across all pages, not just the visible page.
  3. Enter a target group such as production/eu, or leave it blank to remove group assignments. Choose Prepare preview.
  4. Wait for Ready for review. Check the target, filters, selected count and agent results. No agent group has changed yet.
  5. Choose Apply to N agents. Keep the dialog open to follow progress, or return through Fleet tools > Group operations later. Processing continues after you close the browser.

Group names use up to 64 letters, numbers, dots, hyphens, underscores or slashes. They begin with a letter or number and are normalized to lowercase. An administrator can change groups; analysts and viewers can inspect operations and results.

The preview is collected during preparation, not at a single global snapshot instant. Agents enrolled at or after operation creation are excluded. Filters are evaluated as preparation visits each page. Once selected, each agent's group revision and retirement state are recorded for the later apply check.

Understand results​

OutcomeMeaningNext step
PendingSelected, but not processedWait for apply or review why the operation paused
AppliedGroup assignment changedNo further action
UnchangedAlready in the target groupNo further action
ConflictGroup or archived/revoked state changed after selectionReview the current agent and prepare a new selection if appropriate
MissingAgent no longer existsReview the inventory or audit history

Filter the result list by outcome. Results are paginated; keep the same outcome filter while following pages. Successful processing can include conflicts or missing agents, so review the totals before treating the intended organization as complete.

Pause, cancel and expiry​

Current administrator access is checked before each bounded batch. If it cannot be confirmed, the operation pauses. An administrator can inspect the remaining work and choose Resume operation. Resuming an applying operation starts changing remaining agents immediately.

Use Actions > Cancel operation to stop remaining work. Cancellation does not undo changes already applied. Operations expire 24 hours after creation, including time spent waiting for review or paused. Per-agent details remain for 30 days after termination; aggregate history remains afterward.

A conflicting revision means the operation changed while you were reviewing it. Refresh and inspect the current status before acting again. If a request fails or its response is lost, do not assume it failed on the server.

Automate the same workflow​

JavaScript and Python expose the same operations:

JavaScriptPython
createAgentGroupOperation(input)create_agent_group_operation(input)
agentGroupOperations(options)agent_group_operations(**options)
agentGroupOperation(id)agent_group_operation(id)
agentGroupOperationItems(id, options)agent_group_operation_items(id, **options)
applyAgentGroupOperation(id, revision)apply_agent_group_operation(id, revision)
resumeAgentGroupOperation(id, revision)resume_agent_group_operation(id, revision)
cancelAgentGroupOperation(id, revision)cancel_agent_group_operation(id, revision)

Create with a caller-retained UUID requestId, group, and filters containing q, status, archived, group and optional capability. Reuse the same request ID and exact scope after an uncertain creation response. A different principal or scope cannot reuse that ID. Do not automatically apply a newly prepared preview.

Read the current operation before apply, resume or cancel and pass its revision. Poll with bounded backoff. Follow nextCursor for history and results; reset the result cursor when changing outcome filters. HTTP 409 requires review, not blind retry. See the API reference for exact request and response fields and SDK setup for authentication.

The OAuth MCP server provides agent_group_prepare, agent_group_operations, agent_group_operation, agent_group_operation_items, agent_group_apply, agent_group_resume and agent_group_cancel. Authorizing a preview does not imply authorization to apply it.