Scannd
v0.1.0Trigger security scans and read reports/vulnerabilities via the hosted Scannd API.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
trigger_scan
Queue a security scan for one of the account's targets. Returns a scan_id to poll with get_scan_status. Specify which target with target_id (or domain); if the API key can act on exactly one target it is used by default, otherwise target_id is required (call list_targets to discover options).
| Parameter | Type | Description |
|---|---|---|
domain | string | Convenience alias for target_id: an active target's domain, resolved server-side. |
target_id | number | Which target to scan. Optional when the key can act on a single target; required otherwise. |
workflow | string | Scan tier to run. Defaults to the account's own subscription tier; requesting a tier above it is rejected. |
get_scan_status
Poll the status of a previously triggered scan.
| Parameter | Type | Description |
|---|---|---|
scan_id * | string | The scan_id returned by trigger_scan. |
list_reports
List past scan reports for a target (metadata only).
| Parameter | Type | Description |
|---|---|---|
domain | string | Convenience alias for target_id: an active target's domain, resolved server-side. |
limit | number | Maximum reports to return (default 10, max 50). |
target_id | number | Which target's reports to list. Optional when the key can act on a single target; required otherwise. |
get_report
Get the full content of a specific report, or the latest report for a target if report_id is omitted.
| Parameter | Type | Description |
|---|---|---|
domain | string | Convenience alias for target_id: an active target's domain, resolved server-side. |
report_id | string | Report ID. Omit for the latest report. |
target_id | number | Which target to read. Optional when the key can act on a single target; required otherwise. |
get_vulnerabilities
Get findings from a target's report, optionally filtered by severity.
| Parameter | Type | Description |
|---|---|---|
domain | string | Convenience alias for target_id: an active target's domain, resolved server-side. |
report_id | string | Report ID. Omit for the latest report. |
severity | string | Filter findings to this severity level. |
target_id | number | Which target to read. Optional when the key can act on a single target; required otherwise. |
get_domain_summary
Get a high-level summary of a target: subscription tier, scan history, and vulnerability counts from the most recent scan. Specify which target with target_id (or domain); defaults to the only accessible target if the key can act on just one.
| Parameter | Type | Description |
|---|---|---|
domain | string | Convenience alias for target_id: an active target's domain, resolved server-side. |
target_id | number | Which target to summarize. Optional when the key can act on a single target; required otherwise. |
list_templates
List the scan tiers available to trigger_scan.
list_targets
List the targets this API key can act on (id, domain, label). Use this to discover a target_id to pass to the other tools when the account has more than one target.