validate_target
Validate target scan eligibility by checking input format, allowed hosts, and blocked hosts to return approval status and restrictions.
Instructions
Validate whether a target is allowed for scanning.
Checks the target against:
Input validation (IP, hostname, CIDR, URL format)
The configured allowlist (tengu.toml [targets].allowed_hosts)
The blocklist (tengu.toml [targets].blocked_hosts + built-in defaults)
Returns validation status and any restrictions that apply.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||