Query the reputation of a URL
This step looks up a URL in Google Threat Intelligence and returns its reputation record, including how many security engines flag it as malicious. 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.
Pass the URL itself. The step converts it into the identifier Google Threat Intelligence expects, so no encoding is needed in the journey.
The step returns the vendor's stored verdict for the URL. It doesn't trigger a new scan. To analyze a URL Google Threat Intelligence hasn't seen before, use Scan URL.
| Field | Required | Description |
|---|---|---|
| Google Threat Intelligence Instance | Yes | The connection to use, as configured in Integration Hub. |
| URL | Yes | Expression that yields the full URL to query, e.g. https://example.com/login. |
| x-tool header (optional) | No | Value for the x-tool request header. Overrides the connection's default. Setting it enables google_threat_intelligence_assessment in the response where your license includes it. |
| Output variable | — | Name of the variable that stores the result. Defaults to vt_url. |
| 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 URL record under data. There's no extra wrapper, so the path to a field starts at the variable name, for example vt_url.data.attributes.last_analysis_stats.malicious.
| Field | Description |
|---|---|
data.attributes.last_analysis_stats.malicious | Number of engines that flag the URL as malicious. |
data.attributes.last_analysis_stats.suspicious | Number of engines that flag the URL as suspicious. |
data.attributes.last_analysis_stats.harmless | Number of engines that consider the URL harmless. |
data.attributes.reputation | Community reputation score. |
data.attributes.total_votes | Community votes, as harmless and malicious counts. |
data.attributes.threat_names | Names of the threats detected, e.g. malware families. Empty when none. |
data.attributes.categories | Category labels keyed by the vendor that assigned them. |
data.attributes.last_analysis_results | The per-engine verdict, keyed by engine name, each with a category and result. |
data.attributes.url, data.attributes.last_final_url | The submitted URL and where it ended up after redirects. |
data.attributes.last_analysis_date, data.attributes.last_submission_date | When the URL was last analyzed and last submitted, as Unix timestamps. |
The response includes every engine's verdict, so it can be large. Read only the fields you need rather than passing the whole variable on. The full set of fields is in the Google Threat Intelligence URL reference. The exact fields returned depend on your license.
| Branch | When it occurs |
|---|---|
| Success | Google Threat Intelligence returns a record for the URL. |
| Failed | The request fails: the URL is unknown to Google Threat Intelligence, 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. |
Suppose a journey collects a link from the user, such as a document or profile URL, using a Collect information form and storing the result in linkForm. This step is configured mapping URL = linkForm.url, storing the result in an output variable named vt_url. A following Condition step checks vt_url.data.attributes.last_analysis_stats.malicious >= 5 and routes true to a Reject step.
A single engine flagging an indicator is often a false positive, even for legitimate URLs. Use a threshold such as >= 5 malicious engines rather than > 0.