ThreatMatch
Güvenli Tarama tehdit listelerindeki bir tehdit girişi kontrol edilirken bir eşleşme.
Alanlar |
threatType |
enum (ThreatType )
Bu tehditle eşleşen tehdit türü.
|
platformType |
enum (PlatformType )
Bu tehditle eşleşen platform türü.
|
threatEntryType |
enum (ThreatEntryType )
Bu tehditle eşleşen tehdit girişi türü.
|
threat |
object (ThreatEntry )
Bu tehditle eşleşen tehdit.
|
threatEntryMetadata |
object (ThreatEntryMetadata )
Bu tehditle ilişkili isteğe bağlı meta veriler.
|
cacheDuration |
string (Duration format)
Döndürülen eşleşme için önbellek ömrü. İstemciler, yanlış pozitiflerden kaçınmak için bu yanıtı bu süreden daha uzun bir süre boyunca önbelleğe almamalıdır. En fazla dokuz kesir basamağı olan ve "s " ile biten, saniye cinsinden süre. Örnek: "3.5s" .
|
ThreatEntryMetadata
Belirli bir tehdit girişiyle ilişkili meta veriler. İstemcinin, her bir tehdit türüyle ilişkili meta veri anahtar/değer çiftlerini bilmesi beklenir.
MetadataEntry
Tek bir meta veri girişi.
JSON gösterimi |
{
"key": string,
"value": string
} |
Alanlar |
key |
string (bytes format)
Meta veri giriş anahtarı. JSON istekleri için anahtar base64 kodludur. base64 kodlu bir dize.
|
value |
string (bytes format)
Meta veri giriş değeri. JSON istekleri için değer base64 olarak kodlanır. base64 kodlu bir dize.
|
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-03-06 UTC.
[null,null,["Son güncelleme tarihi: 2025-03-06 UTC."],[[["ThreatMatch indicates a match when checking for threats in Safe Browsing threat lists, containing information about the threat type, platform, and entry type."],["It includes optional metadata associated with the specific threat entry, which may provide additional context."],["ThreatEntryMetadata stores this metadata as key-value pairs, understood by the client based on the threat type."],["MetadataEntry represents a single metadata entry, where both the key and value are base64-encoded for JSON requests."]]],["The document defines data structures for threat matches in Safe Browsing. A threat match includes `threatType`, `platformType`, `threatEntryType`, and the matching `threat`. It may optionally contain `threatEntryMetadata`, consisting of `MetadataEntry` objects with `key` and `value` string pairs. Each match also specifies `cacheDuration`, dictating how long the match should be considered valid, to avoid false positives. Data representation is in JSON format with specific structure for `ThreatEntryMetadata` and `MetadataEntry`.\n"]]