CyberEdge Assess Scope
Use cyberedge-agent as the JSON machine bridge. This is the umbrella workflow for a full authorized assessment; humans do not operate the CLI directly.
Workflow
- Require an existing
scope_idwhose Scope has a non-empty, human-providedauthorization_ref. If ownership or authorization is ambiguous, stop before active work. - Call
GetReadiness. Report unavailable optional components before starting, but do not split the workflow into unrelated Tasks. - Call
GetScopeand verify every requested target is already inside the authorized Scope. - Call
StartAssessmentonce:
- use
standardfor routine inventory with the server-owned baseline ports; - use
thoroughonly when the human explicitly requests comprehensive scanning. It uses the server-owned TCP 1-1024 profile plus selected high-value ports.
- Follow
WatchTaskuntil a terminal event. UseGetTaskif the stream is interrupted. Do not create parallel duplicate assessments. - Call
GetTaskReport. Treat itscoverageentries as authoritative for workflow completeness. - Summarize assets, services, websites, certificates, and findings. For every stage, preserve
complete,partial,unavailable, orblocked; a completed Task does not mean every stage had coverage. - Retrieve Evidence only for material claims that need inspection. Keep hashes and provenance in the report.
- When the human explicitly requests continuous monitoring, call
CreateSchedulewith the same assessment policy and an interval of at least 3600 seconds. On later runs, useSearchAssetChangesandSearchExposureChanges; distinguish the first baseline from subsequent no-change results.
Safety Boundaries
- Never accept an arbitrary port list, URL, header, template, flag, command, CPE, organization search term, or provider query from the caller.
- Never expand outside the authorized root domains or addresses. Discovered names remain bounded to those roots.
- Never evade target throttling, WAF behavior policy, authentication, or provider limits. Mark the affected stage
blockedorpartial. - Never create a recurring Schedule unless the human explicitly requested monitoring or continuous coverage.
- Never infer a product version or vulnerability without retained evidence.
- On
CAPABILITY_DENIED, report the missing capability; do not change identity or fall back to direct shell scanners. - Do not call the low-level policy Skills to make an unavailable assessment stage look complete.
Output Contract
Return the Task ID, profile, terminal state, readiness snapshot, per-stage coverage, inventory counts, evidence-backed findings, and explicit gaps. Say “full assessment requested” rather than “full assessment completed” unless every required coverage entry is complete.