scope_manage
Ensure penetration tests only run against approved targets by declaring engagement metadata and managing the allowed scope. Add, remove, and review authorized IPs, CIDRs, and domains.
Instructions
Manage the authorized engagement scope (the master authorization gate).
TOOL_NAME=scope_manage DISPLAY_NAME=Engagement Scope Manager USECASE=Declare which targets are authorized, set engagement metadata, and review current scope INSTRUCTIONS=1. Use action=set_engagement with client/authorized_by/ticket, 2. action=add with targets you are permitted to test, 3. action=show to review INPUT_DESCRIPTION=action (show|add|remove|set_engagement|clear); targets (list of IP/CIDR/host/domain for add/remove); client/authorized_by/ticket/start_date/end_date/notes for set_engagement OUTPUT_DESCRIPTION=Dict with status and the resulting scope snapshot EXAMPLES=scope_manage("set_engagement", client="Acme", authorized_by="J. Smith", ticket="PT-42"), scope_manage("add", targets=["10.0.0.0/24","app.acme.com"]) PREREQUISITES=Only add targets you have written authorization to test RELATED_TOOLS=nmap_scan, generate_report, session_summary
Args: action: One of show, add, remove, set_engagement, clear. targets: Targets to add/remove (IPs, CIDRs, hostnames, domains). client: Client/organization name (set_engagement). authorized_by: Person who authorized the test (set_engagement). ticket: Engagement/authorization reference (set_engagement). start_date: Engagement window start (set_engagement). end_date: Engagement window end (set_engagement). notes: Free-text notes (set_engagement).
Returns: Structured result dict with the resulting scope snapshot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| action | No | show | |
| client | No | ||
| ticket | No | ||
| targets | No | ||
| end_date | No | ||
| start_date | No | ||
| authorized_by | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||