hashes
Creates, updates, deletes, gets or lists a hashes
resource.
Overview
Name | hashes |
Type | Resource |
Id | google.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:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
search | exec | hashPrefix , threatTypes | 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. |
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.
Name | Datatype | Description |
---|---|---|
hashPrefix | string (byte) | |
threatTypes | string |
Lifecycle Methods
- search
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 }}';