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.
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
| Type | Description |
|---|---|
| Manual Trigger | User manually executes, requires selecting input assets |
| Cron Schedule | Automatically executes on a regular schedule via Cron expression |
| Auto Trigger | Automatically triggered when new assets are created (asset linkage) |
Workflow Lifecycle
Draft → Enabled → Running → Completed
↓
Disabled (pauses cron/auto triggers)Preset Workflows
The TestNet tool store provides 8 preset workflows that can be installed and used directly:
| Workflow | Description | Use Case |
|---|---|---|
| Domain Recon Pipeline | Subdomain discovery + web probing | Comprehensive domain asset discovery |
| Full Asset Discovery | Complete chain from company to vulnerability | New project initial scan |
| Port Scan Workflow | IP port discovery + service identification | IP asset port scanning |
| Web Attack Surface Probing | Web application information collection | Web asset inventory |
| IP Deep Inventory | IP port service comprehensive scanning | IP asset deep scanning |
| Subdomain Takeover Monitoring | Periodic takeover risk detection | Continuous monitoring |
| Deep Asset Monitoring | Periodic asset change monitoring | Scheduled monitoring |
| Full Auto Scan | Full process automation | Comprehensive scanning |
Quick Start
Install Preset Workflow
- Go to "Workflows" → "Workflow List"
- Click "Store"
- Select "Domain Recon Pipeline" → "Install"
Execute Workflow
- Find the installed workflow in the workflow list
- Click "Execute"
- Select input assets (e.g., target domain)
- Click "Confirm Execution"
View Execution Results
- Go to "Task Management"
- View the tool tasks generated by the workflow
- After tasks complete, view discovered assets