Retrieve the result of a Google Threat Intelligence scan
This step retrieves the result of an analysis started by Google Threat Intelligence Scan URL, using the analysis ID that step returned. It's a system execution step — it runs entirely in the backend with no client-facing UI. Before using this step, configure a Google Threat Intelligence connection in Integration Hub.
| Field | Required | Description |
|---|---|---|
| Google Threat Intelligence Instance | Yes | The connection to use, as configured in Integration Hub. |
| Analysis id | Yes | Expression that yields the analysis ID, typically the data.id returned by Scan URL. |
| Output variable | — | Name of the variable that stores the result. Defaults to vt_analysis_obj. |
| Error output variable | — | Name of the variable that stores the error if the step fails. |
This step can be configured to record step input and output data, or a custom payload, which is then surfaced in journey events in Journey Analytics for diagnostic purposes. For details, see Additional data reporting.
The output variable holds Google Threat Intelligence's analysis object under data.
| Field | Description |
|---|---|
data.attributes.status | Where the analysis is: queued, in-progress, or completed. Only completed analyses carry a final verdict. |
data.attributes.stats.malicious | Number of engines that flag the URL as malicious. |
data.attributes.stats.suspicious | Number of engines that flag the URL as suspicious. |
data.attributes.stats.harmless | Number of engines that consider the URL harmless. |
data.attributes.stats.undetected | Number of engines that returned no verdict. |
data.attributes.results | The per-engine verdict, keyed by engine name, each with a category and result. |
data.attributes.date | When the analysis ran, as a Unix timestamp. |
data.attributes.url, data.attributes.final_url | The scanned URL and where it ended up after redirects. |
data.attributes.response_code, data.attributes.title | The HTTP status code and page title seen during the scan. |
data.attributes.categories | Category labels keyed by the vendor that assigned them. |
data.attributes.tls, data.attributes.web_technologies | The TLS certificate the site presented and the technologies detected. |
meta.url_info.id | The ID of the URL record the scan produced. |
The response is large: it includes every engine's verdict plus the resources, scripts and headers captured during the scan. Read only the fields you need rather than passing the whole variable on. The full set of fields is in the Google Threat Intelligence analysis reference. The exact fields returned depend on your license.
| Branch | When it occurs |
|---|---|
| Success | Google Threat Intelligence returns the analysis object. This includes analyses that haven't finished yet, so check data.attributes.status. |
| Failed | The request fails: the analysis ID is unknown, the API key is rejected, the quota is exceeded, the connection's rate limit is hit (google_threat_intelligence_rate_limit_exceeded), or the service is unreachable. The error is stored in the error output variable. |
Following a Scan URL step that stored its result in vt_analysis, this step is configured mapping Analysis id = vt_analysis.data.id, storing the result in an output variable named vt_analysis_obj. A following Condition step checks that vt_analysis_obj.data.attributes.status == "completed" and vt_analysis_obj.data.attributes.stats.malicious >= 5 before routing to a Reject step.