Skip to content

Google Threat Intelligence Analysis info

Client SDK
Backend API
Mobile approve
SSO
Sub-journey

Retrieve the result of a Google Threat Intelligence scan

Description

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.

Configuration

FieldRequiredDescription
Google Threat Intelligence InstanceYesThe connection to use, as configured in Integration Hub.
Analysis idYesExpression 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.
Journey event data

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.

Output

The output variable holds Google Threat Intelligence's analysis object under data.

FieldDescription
data.attributes.statusWhere the analysis is: queued, in-progress, or completed. Only completed analyses carry a final verdict.
data.attributes.stats.maliciousNumber of engines that flag the URL as malicious.
data.attributes.stats.suspiciousNumber of engines that flag the URL as suspicious.
data.attributes.stats.harmlessNumber of engines that consider the URL harmless.
data.attributes.stats.undetectedNumber of engines that returned no verdict.
data.attributes.resultsThe per-engine verdict, keyed by engine name, each with a category and result.
data.attributes.dateWhen the analysis ran, as a Unix timestamp.
data.attributes.url, data.attributes.final_urlThe scanned URL and where it ended up after redirects.
data.attributes.response_code, data.attributes.titleThe HTTP status code and page title seen during the scan.
data.attributes.categoriesCategory labels keyed by the vendor that assigned them.
data.attributes.tls, data.attributes.web_technologiesThe TLS certificate the site presented and the technologies detected.
meta.url_info.idThe 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.

Branches

BranchWhen it occurs
SuccessGoogle Threat Intelligence returns the analysis object. This includes analyses that haven't finished yet, so check data.attributes.status.
FailedThe 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.

Example

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.