Skip to content

Google Threat Intelligence URL info

Client SDK
Backend API
Mobile approve
SSO
Sub-journey

Query the reputation of a URL

Description

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.

Configuration

FieldRequiredDescription
Google Threat Intelligence InstanceYesThe connection to use, as configured in Integration Hub.
URLYesExpression that yields the full URL to query, e.g. https://example.com/login.
x-tool header (optional)NoValue 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.
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 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.

FieldDescription
data.attributes.last_analysis_stats.maliciousNumber of engines that flag the URL as malicious.
data.attributes.last_analysis_stats.suspiciousNumber of engines that flag the URL as suspicious.
data.attributes.last_analysis_stats.harmlessNumber of engines that consider the URL harmless.
data.attributes.reputationCommunity reputation score.
data.attributes.total_votesCommunity votes, as harmless and malicious counts.
data.attributes.threat_namesNames of the threats detected, e.g. malware families. Empty when none.
data.attributes.categoriesCategory labels keyed by the vendor that assigned them.
data.attributes.last_analysis_resultsThe per-engine verdict, keyed by engine name, each with a category and result.
data.attributes.url, data.attributes.last_final_urlThe submitted URL and where it ended up after redirects.
data.attributes.last_analysis_date, data.attributes.last_submission_dateWhen 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.

Branches

BranchWhen it occurs
SuccessGoogle Threat Intelligence returns a record for the URL.
FailedThe 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.

Example

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.

Choose a threshold, not just greater than zero

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.