rapid7-insightidr 1.14.0: ship Static, the InsightIDR operator agent
agents/operator.yaml: read-only commands, analyst_l2 ceiling, and the procedure learned on a real UBA alert (start from the investigation's alerts, plain-UUID alerts have no Alert Triage evidence, LEQL keyword search in parentheses, search_investigation takes start_time/end_time). README documents agents/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015RhL2gy6Sx6Y3FEsyBE3mZ
This commit is contained in:
@@ -30,8 +30,10 @@ integrations/
|
||||
│ └── <command-id>.py
|
||||
├── mappers/ # optional — bundled mapper templates, one per command
|
||||
│ └── <command-id>.yaml
|
||||
└── incident-types/ # optional — bundled incident types
|
||||
└── <anything>.yaml
|
||||
├── incident-types/ # optional — bundled incident types
|
||||
│ └── <anything>.yaml
|
||||
└── agents/ # optional — the operator agent (Riposte 0.302.0+)
|
||||
└── operator.yaml
|
||||
```
|
||||
|
||||
---
|
||||
@@ -228,6 +230,48 @@ named by field, evaluated against the rule's last captured samples.
|
||||
|
||||
---
|
||||
|
||||
## Bundled operator agents (`agents/*.yaml`)
|
||||
|
||||
An integration can ship the **operator agent** that knows how to use it.
|
||||
Installing the integration in Riposte (0.302.0 and later) creates the agent in the
|
||||
crew, named `<handle> · <integration name>`; older versions ignore the folder.
|
||||
The sheet carries what took a real investigation to learn — the vendor's traps,
|
||||
the order to call things in — so nobody has to rebuild it by hand.
|
||||
|
||||
```yaml
|
||||
key: operator # stable id within the package; one agent per key
|
||||
handle: Static # an invented netrunner handle, never an existing character
|
||||
title: Rapid7 InsightIDR operator
|
||||
role: analyst_l2 # must hold integrations.execute
|
||||
approval_threshold: safe_write
|
||||
max_tool_calls: 10
|
||||
when_to_delegate: | # the only thing an orchestrator reads to route work to it
|
||||
…
|
||||
needs: |
|
||||
…
|
||||
returns: |
|
||||
…
|
||||
instructions: | # the vendor know-how: procedure and traps
|
||||
…
|
||||
commands: [list_investigation_alerts, get_alert_actors] # command ids of THIS manifest
|
||||
riposte_tools: [get_incident, get_incident_context]
|
||||
```
|
||||
|
||||
Riposte **refuses the sheet** — and still installs the integration — when it:
|
||||
|
||||
- lists a command this manifest does not declare, or one that is not `risk: read`
|
||||
(an omitted risk counts as destructive);
|
||||
- lists a Riposte tool that is not read-tier;
|
||||
- names a role without `integrations.execute`. `viewer`, `auditor`,
|
||||
`mcp_readonly` and `analyst_l1` lack it, and with them every integration
|
||||
command would be invisible to the agent;
|
||||
- has no `key`, `handle`, `role`, `when_to_delegate` or command.
|
||||
|
||||
The model is not part of the sheet: operators borrow Riposte's **Crew** role. A
|
||||
sheet nobody edited follows the package's updates; an edited one keeps its edit
|
||||
and offers the new version for review. Removing a sheet from the package retires
|
||||
its agent on the next install.
|
||||
|
||||
## Well-known commands: the on-call router
|
||||
|
||||
Most command ids are an integration's own business. **Three are a contract**, and
|
||||
|
||||
Reference in New Issue
Block a user