Index: discovery/googleapis/safebrowsing__v4.json |
diff --git a/discovery/googleapis/safebrowsing__v4.json b/discovery/googleapis/safebrowsing__v4.json |
index 014b0d04991e58daaaf4ddecd5369f2d8b5a8ce5..4c15b859bdb0023f0de1354e3361c6c42c3ee4b8 100644 |
--- a/discovery/googleapis/safebrowsing__v4.json |
+++ b/discovery/googleapis/safebrowsing__v4.json |
@@ -2,7 +2,7 @@ |
"basePath": "", |
"baseUrl": "https://safebrowsing.googleapis.com/", |
"batchPath": "batch", |
- "description": "The Safe Browsing API is an experimental API that allows client applications to check URLs against Google's constantly-updated blacklists of suspected phishing and malware pages. Your client application can use the API to download an encrypted table for local, client-side lookups of URLs.", |
+ "description": "Enables client applications to check web resources (most commonly URLs) against Google-generated lists of unsafe web resources.", |
"discoveryVersion": "v1", |
"documentationLink": "https://developers.google.com/safe-browsing/", |
"icons": { |
@@ -104,6 +104,59 @@ |
}, |
"protocol": "rest", |
"resources": { |
+ "threatListUpdates": { |
+ "methods": { |
+ "fetch": { |
+ "description": "Fetches the most recent threat list updates. A client can request updates\nfor multiple lists at once.", |
+ "httpMethod": "POST", |
+ "id": "safebrowsing.threatListUpdates.fetch", |
+ "parameterOrder": [], |
+ "parameters": {}, |
+ "path": "v4/threatListUpdates:fetch", |
+ "request": { |
+ "$ref": "FetchThreatListUpdatesRequest" |
+ }, |
+ "response": { |
+ "$ref": "FetchThreatListUpdatesResponse" |
+ } |
+ } |
+ } |
+ }, |
+ "encodedFullHashes": { |
+ "methods": { |
+ "get": { |
+ "description": "", |
+ "httpMethod": "GET", |
+ "id": "safebrowsing.encodedFullHashes.get", |
+ "parameterOrder": [ |
+ "encodedRequest" |
+ ], |
+ "parameters": { |
+ "clientId": { |
+ "description": "A client ID that (hopefully) uniquely identifies the client implementation\nof the Safe Browsing API.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "clientVersion": { |
+ "description": "The version of the client implementation.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "encodedRequest": { |
+ "description": "A serialized FindFullHashesRequest proto.", |
+ "format": "byte", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "v4/encodedFullHashes/{encodedRequest}", |
+ "response": { |
+ "$ref": "FindFullHashesResponse" |
+ } |
+ } |
+ } |
+ }, |
"threatLists": { |
"methods": { |
"list": { |
@@ -165,231 +218,39 @@ |
"encodedRequest" |
], |
"parameters": { |
- "clientVersion": { |
- "description": "The version of the client implementation.", |
- "location": "query", |
- "type": "string" |
- }, |
- "encodedRequest": { |
- "description": "A serialized FetchThreatListUpdatesRequest proto.", |
- "format": "byte", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- }, |
"clientId": { |
"description": "A client ID that uniquely identifies the client implementation of the Safe\nBrowsing API.", |
"location": "query", |
"type": "string" |
- } |
- }, |
- "path": "v4/encodedUpdates/{encodedRequest}", |
- "response": { |
- "$ref": "FetchThreatListUpdatesResponse" |
- } |
- } |
- } |
- }, |
- "threatListUpdates": { |
- "methods": { |
- "fetch": { |
- "description": "Fetches the most recent threat list updates. A client can request updates\nfor multiple lists at once.", |
- "httpMethod": "POST", |
- "id": "safebrowsing.threatListUpdates.fetch", |
- "parameterOrder": [], |
- "parameters": {}, |
- "path": "v4/threatListUpdates:fetch", |
- "request": { |
- "$ref": "FetchThreatListUpdatesRequest" |
- }, |
- "response": { |
- "$ref": "FetchThreatListUpdatesResponse" |
- } |
- } |
- } |
- }, |
- "encodedFullHashes": { |
- "methods": { |
- "get": { |
- "description": "", |
- "httpMethod": "GET", |
- "id": "safebrowsing.encodedFullHashes.get", |
- "parameterOrder": [ |
- "encodedRequest" |
- ], |
- "parameters": { |
+ }, |
"clientVersion": { |
"description": "The version of the client implementation.", |
"location": "query", |
"type": "string" |
}, |
"encodedRequest": { |
- "description": "A serialized FindFullHashesRequest proto.", |
+ "description": "A serialized FetchThreatListUpdatesRequest proto.", |
"format": "byte", |
"location": "path", |
"required": true, |
"type": "string" |
- }, |
- "clientId": { |
- "description": "A client ID that (hopefully) uniquely identifies the client implementation\nof the Safe Browsing API.", |
- "location": "query", |
- "type": "string" |
} |
}, |
- "path": "v4/encodedFullHashes/{encodedRequest}", |
+ "path": "v4/encodedUpdates/{encodedRequest}", |
"response": { |
- "$ref": "FindFullHashesResponse" |
+ "$ref": "FetchThreatListUpdatesResponse" |
} |
} |
} |
} |
}, |
- "revision": "20170726", |
+ "revision": "20170814", |
"rootUrl": "https://safebrowsing.googleapis.com/", |
"schemas": { |
- "FetchThreatListUpdatesRequest": { |
- "description": "Describes a Safe Browsing API update request. Clients can request updates for\nmultiple lists in a single request.\nNOTE: Field index 2 is unused.\nNEXT: 5", |
- "id": "FetchThreatListUpdatesRequest", |
- "properties": { |
- "listUpdateRequests": { |
- "description": "The requested threat list updates.", |
- "items": { |
- "$ref": "ListUpdateRequest" |
- }, |
- "type": "array" |
- }, |
- "client": { |
- "$ref": "ClientInfo", |
- "description": "The client metadata." |
- } |
- }, |
- "type": "object" |
- }, |
- "ListUpdateResponse": { |
- "description": "An update to an individual list.", |
- "id": "ListUpdateResponse", |
- "properties": { |
- "platformType": { |
- "description": "The platform type for which data is returned.", |
- "enum": [ |
- "PLATFORM_TYPE_UNSPECIFIED", |
- "WINDOWS", |
- "LINUX", |
- "ANDROID", |
- "OSX", |
- "IOS", |
- "ANY_PLATFORM", |
- "ALL_PLATFORMS", |
- "CHROME" |
- ], |
- "enumDescriptions": [ |
- "Unknown platform.", |
- "Threat posed to Windows.", |
- "Threat posed to Linux.", |
- "Threat posed to Android.", |
- "Threat posed to OS X.", |
- "Threat posed to iOS.", |
- "Threat posed to at least one of the defined platforms.", |
- "Threat posed to all defined platforms.", |
- "Threat posed to Chrome." |
- ], |
- "type": "string" |
- }, |
- "threatEntryType": { |
- "description": "The format of the threats.", |
- "enum": [ |
- "THREAT_ENTRY_TYPE_UNSPECIFIED", |
- "URL", |
- "EXECUTABLE", |
- "IP_RANGE", |
- "CHROME_EXTENSION", |
- "FILENAME", |
- "CERT" |
- ], |
- "enumDescriptions": [ |
- "Unspecified.", |
- "A URL.", |
- "An executable program.", |
- "An IP range.", |
- "Chrome extension.", |
- "Filename.", |
- "CERT" |
- ], |
- "type": "string" |
- }, |
- "additions": { |
- "description": "A set of entries to add to a local threat type's list. Repeated to allow\nfor a combination of compressed and raw data to be sent in a single\nresponse.", |
- "items": { |
- "$ref": "ThreatEntrySet" |
- }, |
- "type": "array" |
- }, |
- "checksum": { |
- "$ref": "Checksum", |
- "description": "The expected SHA256 hash of the client state; that is, of the sorted list\nof all hashes present in the database after applying the provided update.\nIf the client state doesn't match the expected state, the client must\ndisregard this update and retry later." |
- }, |
- "responseType": { |
- "description": "The type of response. This may indicate that an action is required by the\nclient when the response is received.", |
- "enum": [ |
- "RESPONSE_TYPE_UNSPECIFIED", |
- "PARTIAL_UPDATE", |
- "FULL_UPDATE" |
- ], |
- "enumDescriptions": [ |
- "Unknown.", |
- "Partial updates are applied to the client's existing local database.", |
- "Full updates replace the client's entire local database. This means\nthat either the client was seriously out-of-date or the client is\nbelieved to be corrupt." |
- ], |
- "type": "string" |
- }, |
- "threatType": { |
- "description": "The threat type for which data is returned.", |
- "enum": [ |
- "THREAT_TYPE_UNSPECIFIED", |
- "MALWARE", |
- "SOCIAL_ENGINEERING", |
- "UNWANTED_SOFTWARE", |
- "POTENTIALLY_HARMFUL_APPLICATION", |
- "MALICIOUS_BINARY" |
- ], |
- "enumDescriptions": [ |
- "Unknown.", |
- "Malware threat type.", |
- "Social engineering threat type.", |
- "Unwanted software threat type.", |
- "Potentially harmful application threat type.", |
- "Malicious binary threat type." |
- ], |
- "type": "string" |
- }, |
- "removals": { |
- "description": "A set of entries to remove from a local threat type's list. In practice,\nthis field is empty or contains exactly one ThreatEntrySet.", |
- "items": { |
- "$ref": "ThreatEntrySet" |
- }, |
- "type": "array" |
- }, |
- "newClientState": { |
- "description": "The new client state, in encrypted format. Opaque to clients.", |
- "format": "byte", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
"Constraints": { |
"description": "The constraints for this update.", |
"id": "Constraints", |
"properties": { |
- "region": { |
- "description": "Requests the list for a specific geographic location. If not set the\nserver may pick that value based on the user's IP address. Expects ISO\n3166-1 alpha-2 format.", |
- "type": "string" |
- }, |
- "maxDatabaseEntries": { |
- "description": "Sets the maximum number of entries that the client is willing to have\nin the local database. This should be a power of 2 between 2**10 and\n2**20. If zero, no database size limit is set.", |
- "format": "int32", |
- "type": "integer" |
- }, |
"supportedCompressions": { |
"description": "The compression types supported by the client.", |
"enumDescriptions": [ |
@@ -411,6 +272,15 @@ |
"description": "The maximum size in number of entries. The update will not contain more\nentries than this value. This should be a power of 2 between 2**10 and\n2**20. If zero, no update size limit is set.", |
"format": "int32", |
"type": "integer" |
+ }, |
+ "region": { |
+ "description": "Requests the list for a specific geographic location. If not set the\nserver may pick that value based on the user's IP address. Expects ISO\n3166-1 alpha-2 format.", |
+ "type": "string" |
+ }, |
+ "maxDatabaseEntries": { |
+ "description": "Sets the maximum number of entries that the client is willing to have\nin the local database. This should be a power of 2 between 2**10 and\n2**20. If zero, no database size limit is set.", |
+ "format": "int32", |
+ "type": "integer" |
} |
}, |
"type": "object" |
@@ -427,7 +297,15 @@ |
"SOCIAL_ENGINEERING", |
"UNWANTED_SOFTWARE", |
"POTENTIALLY_HARMFUL_APPLICATION", |
- "MALICIOUS_BINARY" |
+ "SOCIAL_ENGINEERING_INTERNAL", |
+ "API_ABUSE", |
+ "MALICIOUS_BINARY", |
+ "CSD_WHITELIST", |
+ "CSD_DOWNLOAD_WHITELIST", |
+ "CLIENT_INCIDENT", |
+ "CLIENT_INCIDENT_WHITELIST", |
+ "APK_MALWARE_OFFLINE", |
+ "SUBRESOURCE_FILTER" |
], |
"enumDescriptions": [ |
"Unknown.", |
@@ -435,7 +313,15 @@ |
"Social engineering threat type.", |
"Unwanted software threat type.", |
"Potentially harmful application threat type.", |
- "Malicious binary threat type." |
+ "Social engineering threat type for internal use.", |
+ "API abuse threat type.", |
+ "Malicious binary threat type.", |
+ "Client side detection whitelist threat type.", |
+ "Client side download detection whitelist threat type.", |
+ "Client incident threat type.", |
+ "Whitelist used when detecting client incident threats.\nThis enum was never launched and should be re-used for the next list.", |
+ "List used for offline APK checks in PAM.", |
+ "Patterns to be used for activating the subresource filter. Interstitial\nwill not be shown for patterns from this list." |
], |
"type": "string" |
}, |
@@ -507,16 +393,6 @@ |
"description": "The Rice-Golomb encoded data. Used for sending compressed 4-byte hashes or\ncompressed removal indices.", |
"id": "RiceDeltaEncoding", |
"properties": { |
- "encodedData": { |
- "description": "The encoded deltas that are encoded using the Golomb-Rice coder.", |
- "format": "byte", |
- "type": "string" |
- }, |
- "firstValue": { |
- "description": "The offset of the first entry in the encoded data, or, if only a single\ninteger was encoded, that single integer's value.", |
- "format": "int64", |
- "type": "string" |
- }, |
"numEntries": { |
"description": "The number of entries that are delta encoded in the encoded data. If only a\nsingle integer was encoded, this will be zero and the single value will be\nstored in `first_value`.", |
"format": "int32", |
@@ -526,6 +402,16 @@ |
"description": "The Golomb-Rice parameter, which is a number between 2 and 28. This field\nis missing (that is, zero) if `num_entries` is zero.", |
"format": "int32", |
"type": "integer" |
+ }, |
+ "encodedData": { |
+ "description": "The encoded deltas that are encoded using the Golomb-Rice coder.", |
+ "format": "byte", |
+ "type": "string" |
+ }, |
+ "firstValue": { |
+ "description": "The offset of the first entry in the encoded data, or, if only a single\ninteger was encoded, that single integer's value.", |
+ "format": "int64", |
+ "type": "string" |
} |
}, |
"type": "object" |
@@ -533,10 +419,23 @@ |
"ListThreatListsResponse": { |
"id": "ListThreatListsResponse", |
"properties": { |
- "threatLists": { |
- "description": "The lists available for download by the client.", |
+ "threatLists": { |
+ "description": "The lists available for download by the client.", |
+ "items": { |
+ "$ref": "ThreatListDescriptor" |
+ }, |
+ "type": "array" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "FindThreatMatchesResponse": { |
+ "id": "FindThreatMatchesResponse", |
+ "properties": { |
+ "matches": { |
+ "description": "The threat list matches.", |
"items": { |
- "$ref": "ThreatListDescriptor" |
+ "$ref": "ThreatMatch" |
}, |
"type": "array" |
} |
@@ -564,23 +463,36 @@ |
}, |
"type": "object" |
}, |
- "FindThreatMatchesResponse": { |
- "id": "FindThreatMatchesResponse", |
- "properties": { |
- "matches": { |
- "description": "The threat list matches.", |
- "items": { |
- "$ref": "ThreatMatch" |
- }, |
- "type": "array" |
- } |
- }, |
- "type": "object" |
- }, |
"ThreatListDescriptor": { |
"description": "Describes an individual threat list. A list is defined by three parameters:\nthe type of threat posed, the type of platform targeted by the threat, and\nthe type of entries in the list.", |
"id": "ThreatListDescriptor", |
"properties": { |
+ "platformType": { |
+ "description": "The platform type targeted by the list's entries.", |
+ "enum": [ |
+ "PLATFORM_TYPE_UNSPECIFIED", |
+ "WINDOWS", |
+ "LINUX", |
+ "ANDROID", |
+ "OSX", |
+ "IOS", |
+ "ANY_PLATFORM", |
+ "ALL_PLATFORMS", |
+ "CHROME" |
+ ], |
+ "enumDescriptions": [ |
+ "Unknown platform.", |
+ "Threat posed to Windows.", |
+ "Threat posed to Linux.", |
+ "Threat posed to Android.", |
+ "Threat posed to OS X.", |
+ "Threat posed to iOS.", |
+ "Threat posed to at least one of the defined platforms.", |
+ "Threat posed to all defined platforms.", |
+ "Threat posed to Chrome." |
+ ], |
+ "type": "string" |
+ }, |
"threatType": { |
"description": "The threat type posed by the list's entries.", |
"enum": [ |
@@ -589,7 +501,15 @@ |
"SOCIAL_ENGINEERING", |
"UNWANTED_SOFTWARE", |
"POTENTIALLY_HARMFUL_APPLICATION", |
- "MALICIOUS_BINARY" |
+ "SOCIAL_ENGINEERING_INTERNAL", |
+ "API_ABUSE", |
+ "MALICIOUS_BINARY", |
+ "CSD_WHITELIST", |
+ "CSD_DOWNLOAD_WHITELIST", |
+ "CLIENT_INCIDENT", |
+ "CLIENT_INCIDENT_WHITELIST", |
+ "APK_MALWARE_OFFLINE", |
+ "SUBRESOURCE_FILTER" |
], |
"enumDescriptions": [ |
"Unknown.", |
@@ -597,7 +517,15 @@ |
"Social engineering threat type.", |
"Unwanted software threat type.", |
"Potentially harmful application threat type.", |
- "Malicious binary threat type." |
+ "Social engineering threat type for internal use.", |
+ "API abuse threat type.", |
+ "Malicious binary threat type.", |
+ "Client side detection whitelist threat type.", |
+ "Client side download detection whitelist threat type.", |
+ "Client incident threat type.", |
+ "Whitelist used when detecting client incident threats.\nThis enum was never launched and should be re-used for the next list.", |
+ "List used for offline APK checks in PAM.", |
+ "Patterns to be used for activating the subresource filter. Interstitial\nwill not be shown for patterns from this list." |
], |
"type": "string" |
}, |
@@ -622,32 +550,6 @@ |
"CERT" |
], |
"type": "string" |
- }, |
- "platformType": { |
- "description": "The platform type targeted by the list's entries.", |
- "enum": [ |
- "PLATFORM_TYPE_UNSPECIFIED", |
- "WINDOWS", |
- "LINUX", |
- "ANDROID", |
- "OSX", |
- "IOS", |
- "ANY_PLATFORM", |
- "ALL_PLATFORMS", |
- "CHROME" |
- ], |
- "enumDescriptions": [ |
- "Unknown platform.", |
- "Threat posed to Windows.", |
- "Threat posed to Linux.", |
- "Threat posed to Android.", |
- "Threat posed to OS X.", |
- "Threat posed to iOS.", |
- "Threat posed to at least one of the defined platforms.", |
- "Threat posed to all defined platforms.", |
- "Threat posed to Chrome." |
- ], |
- "type": "string" |
} |
}, |
"type": "object" |
@@ -673,13 +575,13 @@ |
"description": "The client metadata associated with Safe Browsing API requests.", |
"id": "ClientInfo", |
"properties": { |
- "clientVersion": { |
- "description": "The version of the client implementation.", |
- "type": "string" |
- }, |
"clientId": { |
"description": "A client ID that (hopefully) uniquely identifies the client implementation\nof the Safe Browsing API.", |
"type": "string" |
+ }, |
+ "clientVersion": { |
+ "description": "The version of the client implementation.", |
+ "type": "string" |
} |
}, |
"type": "object" |
@@ -728,7 +630,15 @@ |
"Social engineering threat type.", |
"Unwanted software threat type.", |
"Potentially harmful application threat type.", |
- "Malicious binary threat type." |
+ "Social engineering threat type for internal use.", |
+ "API abuse threat type.", |
+ "Malicious binary threat type.", |
+ "Client side detection whitelist threat type.", |
+ "Client side download detection whitelist threat type.", |
+ "Client incident threat type.", |
+ "Whitelist used when detecting client incident threats.\nThis enum was never launched and should be re-used for the next list.", |
+ "List used for offline APK checks in PAM.", |
+ "Patterns to be used for activating the subresource filter. Interstitial\nwill not be shown for patterns from this list." |
], |
"items": { |
"enum": [ |
@@ -737,7 +647,15 @@ |
"SOCIAL_ENGINEERING", |
"UNWANTED_SOFTWARE", |
"POTENTIALLY_HARMFUL_APPLICATION", |
- "MALICIOUS_BINARY" |
+ "SOCIAL_ENGINEERING_INTERNAL", |
+ "API_ABUSE", |
+ "MALICIOUS_BINARY", |
+ "CSD_WHITELIST", |
+ "CSD_DOWNLOAD_WHITELIST", |
+ "CLIENT_INCIDENT", |
+ "CLIENT_INCIDENT_WHITELIST", |
+ "APK_MALWARE_OFFLINE", |
+ "SUBRESOURCE_FILTER" |
], |
"type": "string" |
}, |
@@ -854,18 +772,6 @@ |
}, |
"type": "object" |
}, |
- "Checksum": { |
- "description": "The expected state of a client's local database.", |
- "id": "Checksum", |
- "properties": { |
- "sha256": { |
- "description": "The SHA256 hash of the client state; that is, of the sorted list of all\nhashes present in the database.", |
- "format": "byte", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
"FindFullHashesResponse": { |
"id": "FindFullHashesResponse", |
"properties": { |
@@ -889,18 +795,22 @@ |
}, |
"type": "object" |
}, |
+ "Checksum": { |
+ "description": "The expected state of a client's local database.", |
+ "id": "Checksum", |
+ "properties": { |
+ "sha256": { |
+ "description": "The SHA256 hash of the client state; that is, of the sorted list of all\nhashes present in the database.", |
+ "format": "byte", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
"ThreatEntrySet": { |
"description": "A set of threats that should be added or removed from a client's local\ndatabase.", |
"id": "ThreatEntrySet", |
"properties": { |
- "rawHashes": { |
- "$ref": "RawHashes", |
- "description": "The raw SHA256-formatted entries." |
- }, |
- "riceHashes": { |
- "$ref": "RiceDeltaEncoding", |
- "description": "The encoded 4-byte prefixes of SHA256-formatted entries, using a\nGolomb-Rice encoding. The hashes are converted to uint32, sorted in\nascending order, then delta encoded and stored as encoded_data." |
- }, |
"riceIndices": { |
"$ref": "RiceDeltaEncoding", |
"description": "The encoded local, lexicographically-sorted list indices, using a\nGolomb-Rice encoding. Used for sending compressed removal indices. The\nremoval indices (uint32) are sorted in ascending order, then delta encoded\nand stored as encoded_data." |
@@ -922,6 +832,14 @@ |
"rawIndices": { |
"$ref": "RawIndices", |
"description": "The raw removal indices for a local list." |
+ }, |
+ "rawHashes": { |
+ "$ref": "RawHashes", |
+ "description": "The raw SHA256-formatted entries." |
+ }, |
+ "riceHashes": { |
+ "$ref": "RiceDeltaEncoding", |
+ "description": "The encoded 4-byte prefixes of SHA256-formatted entries, using a\nGolomb-Rice encoding. The hashes are converted to uint32, sorted in\nascending order, then delta encoded and stored as encoded_data." |
} |
}, |
"type": "object" |
@@ -930,10 +848,6 @@ |
"description": "Request to return full hashes matched by the provided hash prefixes.", |
"id": "FindFullHashesRequest", |
"properties": { |
- "threatInfo": { |
- "$ref": "ThreatInfo", |
- "description": "The lists and hashes to be checked." |
- }, |
"apiClient": { |
"$ref": "ClientInfo", |
"description": "Client metadata associated with callers of higher-level APIs built on top\nof the client's implementation." |
@@ -949,6 +863,10 @@ |
"client": { |
"$ref": "ClientInfo", |
"description": "The client metadata." |
+ }, |
+ "threatInfo": { |
+ "$ref": "ThreatInfo", |
+ "description": "The lists and hashes to be checked." |
} |
}, |
"type": "object" |
@@ -969,7 +887,15 @@ |
"SOCIAL_ENGINEERING", |
"UNWANTED_SOFTWARE", |
"POTENTIALLY_HARMFUL_APPLICATION", |
- "MALICIOUS_BINARY" |
+ "SOCIAL_ENGINEERING_INTERNAL", |
+ "API_ABUSE", |
+ "MALICIOUS_BINARY", |
+ "CSD_WHITELIST", |
+ "CSD_DOWNLOAD_WHITELIST", |
+ "CLIENT_INCIDENT", |
+ "CLIENT_INCIDENT_WHITELIST", |
+ "APK_MALWARE_OFFLINE", |
+ "SUBRESOURCE_FILTER" |
], |
"enumDescriptions": [ |
"Unknown.", |
@@ -977,7 +903,15 @@ |
"Social engineering threat type.", |
"Unwanted software threat type.", |
"Potentially harmful application threat type.", |
- "Malicious binary threat type." |
+ "Social engineering threat type for internal use.", |
+ "API abuse threat type.", |
+ "Malicious binary threat type.", |
+ "Client side detection whitelist threat type.", |
+ "Client side download detection whitelist threat type.", |
+ "Client incident threat type.", |
+ "Whitelist used when detecting client incident threats.\nThis enum was never launched and should be re-used for the next list.", |
+ "List used for offline APK checks in PAM.", |
+ "Patterns to be used for activating the subresource filter. Interstitial\nwill not be shown for patterns from this list." |
], |
"type": "string" |
}, |
@@ -1036,6 +970,152 @@ |
} |
}, |
"type": "object" |
+ }, |
+ "FetchThreatListUpdatesRequest": { |
+ "description": "Describes a Safe Browsing API update request. Clients can request updates for\nmultiple lists in a single request.\nNOTE: Field index 2 is unused.\nNEXT: 5", |
+ "id": "FetchThreatListUpdatesRequest", |
+ "properties": { |
+ "listUpdateRequests": { |
+ "description": "The requested threat list updates.", |
+ "items": { |
+ "$ref": "ListUpdateRequest" |
+ }, |
+ "type": "array" |
+ }, |
+ "client": { |
+ "$ref": "ClientInfo", |
+ "description": "The client metadata." |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "ListUpdateResponse": { |
+ "description": "An update to an individual list.", |
+ "id": "ListUpdateResponse", |
+ "properties": { |
+ "additions": { |
+ "description": "A set of entries to add to a local threat type's list. Repeated to allow\nfor a combination of compressed and raw data to be sent in a single\nresponse.", |
+ "items": { |
+ "$ref": "ThreatEntrySet" |
+ }, |
+ "type": "array" |
+ }, |
+ "checksum": { |
+ "$ref": "Checksum", |
+ "description": "The expected SHA256 hash of the client state; that is, of the sorted list\nof all hashes present in the database after applying the provided update.\nIf the client state doesn't match the expected state, the client must\ndisregard this update and retry later." |
+ }, |
+ "responseType": { |
+ "description": "The type of response. This may indicate that an action is required by the\nclient when the response is received.", |
+ "enum": [ |
+ "RESPONSE_TYPE_UNSPECIFIED", |
+ "PARTIAL_UPDATE", |
+ "FULL_UPDATE" |
+ ], |
+ "enumDescriptions": [ |
+ "Unknown.", |
+ "Partial updates are applied to the client's existing local database.", |
+ "Full updates replace the client's entire local database. This means\nthat either the client was seriously out-of-date or the client is\nbelieved to be corrupt." |
+ ], |
+ "type": "string" |
+ }, |
+ "threatType": { |
+ "description": "The threat type for which data is returned.", |
+ "enum": [ |
+ "THREAT_TYPE_UNSPECIFIED", |
+ "MALWARE", |
+ "SOCIAL_ENGINEERING", |
+ "UNWANTED_SOFTWARE", |
+ "POTENTIALLY_HARMFUL_APPLICATION", |
+ "SOCIAL_ENGINEERING_INTERNAL", |
+ "API_ABUSE", |
+ "MALICIOUS_BINARY", |
+ "CSD_WHITELIST", |
+ "CSD_DOWNLOAD_WHITELIST", |
+ "CLIENT_INCIDENT", |
+ "CLIENT_INCIDENT_WHITELIST", |
+ "APK_MALWARE_OFFLINE", |
+ "SUBRESOURCE_FILTER" |
+ ], |
+ "enumDescriptions": [ |
+ "Unknown.", |
+ "Malware threat type.", |
+ "Social engineering threat type.", |
+ "Unwanted software threat type.", |
+ "Potentially harmful application threat type.", |
+ "Social engineering threat type for internal use.", |
+ "API abuse threat type.", |
+ "Malicious binary threat type.", |
+ "Client side detection whitelist threat type.", |
+ "Client side download detection whitelist threat type.", |
+ "Client incident threat type.", |
+ "Whitelist used when detecting client incident threats.\nThis enum was never launched and should be re-used for the next list.", |
+ "List used for offline APK checks in PAM.", |
+ "Patterns to be used for activating the subresource filter. Interstitial\nwill not be shown for patterns from this list." |
+ ], |
+ "type": "string" |
+ }, |
+ "newClientState": { |
+ "description": "The new client state, in encrypted format. Opaque to clients.", |
+ "format": "byte", |
+ "type": "string" |
+ }, |
+ "removals": { |
+ "description": "A set of entries to remove from a local threat type's list. In practice,\nthis field is empty or contains exactly one ThreatEntrySet.", |
+ "items": { |
+ "$ref": "ThreatEntrySet" |
+ }, |
+ "type": "array" |
+ }, |
+ "platformType": { |
+ "description": "The platform type for which data is returned.", |
+ "enum": [ |
+ "PLATFORM_TYPE_UNSPECIFIED", |
+ "WINDOWS", |
+ "LINUX", |
+ "ANDROID", |
+ "OSX", |
+ "IOS", |
+ "ANY_PLATFORM", |
+ "ALL_PLATFORMS", |
+ "CHROME" |
+ ], |
+ "enumDescriptions": [ |
+ "Unknown platform.", |
+ "Threat posed to Windows.", |
+ "Threat posed to Linux.", |
+ "Threat posed to Android.", |
+ "Threat posed to OS X.", |
+ "Threat posed to iOS.", |
+ "Threat posed to at least one of the defined platforms.", |
+ "Threat posed to all defined platforms.", |
+ "Threat posed to Chrome." |
+ ], |
+ "type": "string" |
+ }, |
+ "threatEntryType": { |
+ "description": "The format of the threats.", |
+ "enum": [ |
+ "THREAT_ENTRY_TYPE_UNSPECIFIED", |
+ "URL", |
+ "EXECUTABLE", |
+ "IP_RANGE", |
+ "CHROME_EXTENSION", |
+ "FILENAME", |
+ "CERT" |
+ ], |
+ "enumDescriptions": [ |
+ "Unspecified.", |
+ "A URL.", |
+ "An executable program.", |
+ "An IP range.", |
+ "Chrome extension.", |
+ "Filename.", |
+ "CERT" |
+ ], |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
} |
}, |
"servicePath": "", |