Skip to main content

hashes

Creates, updates, deletes, gets or lists a hashes resource.

Overview

Namehashes
TypeResource
Idgoogle.webrisk.hashes

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
searchexechashPrefix, threatTypesGets the full hashes that match the requested hash prefix. This is used after a hash prefix is looked up in a threatList and there is a match. The client side threatList only holds partial hashes so the client must query this method to determine if there is a full hash match of a threat.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
hashPrefixstring (byte)
threatTypesstring

Lifecycle Methods

Gets the full hashes that match the requested hash prefix. This is used after a hash prefix is looked up in a threatList and there is a match. The client side threatList only holds partial hashes so the client must query this method to determine if there is a full hash match of a threat.

EXEC google.webrisk.hashes.search 
@hashPrefix='{{ hashPrefix }}',
@threatTypes='{{ threatTypes }}';