Get Scan Run

web_security_scanner.get_scan_run
ActionGoogle Cloudconnection required

Calls websecurityscanner v1 GET /v1/projects/{projectsId}/scanConfigs/{scanConfigsId}/scanRuns/{scanRunsId}.

Gets a ScanRun.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Google Web Security Scanner
Secret shape
{"client_id", "client_secret", "refresh_token"}
Config it needs
project_id
Resolved by
config.connection_id, else node.connection_id

Configuration

2 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
scan_config
Scan config name or id.
stringYes———
scan_run
Scan run name or id.
stringYes———

Output

One shape.

result

Extra keys beyond the ones listed can appear.

FieldTypeExample
endTime
string—
errorTrace
object—
executionState
string—
hasVulnerabilities
boolean—
name
string—
progressPercent
integer—
resultState
string—
startTime
string—
urlsCrawledCount
string—
urlsTestedCount
string—
warningTraces
array—
{
  "endTime": "",
  "errorTrace": {},
  "executionState": "",
  "hasVulnerabilities": false,
  "name": "",
  "progressPercent": 0,
  "resultState": "",
  "startTime": "",
  "urlsCrawledCount": "",
  "urlsTestedCount": "",
  "warningTraces": []
}

See Get Scan Run run in a workflow.

In a technical demo we add the Google Web Security Scanner connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.