actions-marketplace-validations/Make TCP Connection

Test TCP connectivity to one or more host:port targets with optional send/expect verification

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
remotehostHostname or IP to connect to (ignored when targets is set)no
remoteportPort to connect to, 1-65535 (ignored when targets is set)no
targetsMultiline list of host:port targets (takes precedence over remotehost/remoteport). Per-target send/expect overrides: host:port | send=payload | expect=patternno
sendDefault payload to send after connecting (supports \r\n escapes). Overridden per-target with | send=...no
expectDefault regex the response must match. Overridden per-target with | expect=...no
expect_timeoutSeconds to wait for response data when using send/expectno5
maxtimeMaximum total retry time in secondsno60
connect_timeoutPer-attempt socket timeout in secondsno10
max_retriesMaximum retry attempts (0 = unlimited, bounded by maxtime)no0
retry_delayInitial backoff delay in secondsno1
namedescription
resultSummary result message
latency_msTotal connection time in milliseconds (sum across all targets)
detailsJSON array with per-target results: [{host, port, status, latency_ms, response, error}]