feat: add test_connection command to all integrations for the instance Test button
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
id: shodan
|
||||
name: Shodan
|
||||
version: 1.0.0
|
||||
version: 1.0.1
|
||||
description: "Shodan — host & network intelligence: IP enrichment, search, DNS lookups, domain info, and on-demand scanning."
|
||||
changelog: "1.0.0 — Initial release: host lookup, search, count, DNS resolve/reverse, domain info, api-info, scan status, and active scan."
|
||||
changelog: "1.0.1 — Added test_connection for the instance Test button. 1.0.0 — Initial release: host lookup, search, count, DNS resolve/reverse, domain info, api-info, scan status, and active scan."
|
||||
category: enrichment
|
||||
|
||||
config_schema:
|
||||
@@ -158,6 +158,20 @@ commands:
|
||||
# application/x-www-form-urlencoded body, which the form-based generator
|
||||
# (JSON body) cannot produce. Marked destructive: it triggers an active,
|
||||
# outbound crawl of the target and consumes scan credits.
|
||||
# ── Connectivity test ─────────────────────────────────────────────────────
|
||||
- id: test_connection
|
||||
name: shodan-test-connection
|
||||
description: "Verify connectivity and credentials (used by the Test button)."
|
||||
risk: read
|
||||
inputs_schema:
|
||||
properties: {}
|
||||
required: []
|
||||
outputs_schema: { properties: {} }
|
||||
request:
|
||||
method: GET
|
||||
path: /api-info
|
||||
auth_ref: apikey
|
||||
|
||||
- id: scan
|
||||
name: shodan-scan
|
||||
description: Request Shodan to actively crawl an IP or netblock (consumes scan credits).
|
||||
|
||||
Reference in New Issue
Block a user