Skip to content

Workflow Overview ​

Workflows are the automation core of TestNet, orchestrating multiple tools through DAG (Directed Acyclic Graph) to achieve end-to-end automated asset discovery and security scanning.

Workflow list

Core Concepts ​

Workflow ​

A workflow consists of a series of nodes connected through dependency relationships and data flows, forming a directed acyclic graph (DAG).

[Subfinder] → [Httpx] → [Nuclei]
      ↘                 ↗
       [Amass] → [Dnsx]

Node ​

Each node corresponds to a tool invocation, which can be configured with:

  • Input sources (from upstream node outputs or external inputs)
  • Parameter overrides (modify tool default parameters)
  • Timeout and retry strategies

Trigger Types ​

TypeDescription
Manual TriggerUser manually executes, requires selecting input assets
Cron ScheduleAutomatically executes on a regular schedule via Cron expression
Auto TriggerAutomatically triggered when new assets are created (asset linkage)

Workflow Lifecycle ​

A workflow definition has two enabled states; execution states belong to each run instance:

Workflow definition: ENABLED ⇄ DISABLED (pauses cron/auto triggers)
Run instance:        RUNNING → COMPLETED / PARTIAL / FAILED / CANCELLED

Preset Workflows ​

The TestNet tool store provides 8 preset workflows that can be installed and used directly:

Registry Name (shown in store)DescriptionUse Case
Domain Recon PipelineSubdomain discovery + web probingComprehensive domain asset discovery
Full Asset DiscoveryComplete chain from company to vulnerabilityNew project initial scan
Port Scan WorkflowIP port discovery + service identificationIP asset port scanning
Web Attack SurfaceWeb attack surface discovery, incl. directory brute-forcing and SQL injection testingWeb asset inventory
IP Deep InventoryComprehensive IP port/service scanningDeep IP asset scanning
Subdomain Takeover MonitorPeriodic takeover risk detectionContinuous monitoring
Deep Asset MonitorPeriodic asset change monitoringScheduled monitoring
Full Auto ScanEnd-to-end automationComprehensive scanning

Quick Start ​

Install Preset Workflow ​

  1. Go to "Automation" → "Workflows"
  2. Click "Store"
  3. Select "Domain Recon Pipeline" → "Install"

Execute Workflow ​

  1. Find the installed workflow in the workflow list and click "Run" (or "Debug Run" in the designer)
  2. Enter the target assets (e.g., the target domain)
  3. Confirm to start execution

View Execution Results ​

  1. Open the "Run Center"
  2. View the tool tasks generated by the workflow
  3. After tasks complete, review discovered assets in the matching Asset Management lists

最近更新

Released under the MIT License