ThreatEntry
eine einzelne Bedrohung beispielsweise eine schädliche URL oder deren Hash-Darstellung. Es darf nur eines dieser Felder festgelegt werden.
JSON-Darstellung |
{
"hash": string,
"url": string,
"digest": string
} |
Felder |
hash |
string (bytes format)
Ein Hash-Präfix, das aus den wichtigsten 4 bis 32 Byte eines SHA256-Hashs besteht. Dieses Feld hat ein Binärformat. Bei JSON-Anfragen sind Hashes base64-codiert. Ein base64-codierter String.
|
url |
string
Eine URL.
|
digest |
string (bytes format)
Der Digest einer ausführbaren Datei im SHA256-Format. Die API unterstützt sowohl binäre als auch hexadezimale Digests. Bei JSON-Anfragen sind Digests base64-codiert. Ein base64-codierter String.
|
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-10-11 (UTC).
[null,null,["Zuletzt aktualisiert: 2024-10-11 (UTC)."],[[["ThreatEntry defines an individual threat using either a hash, a URL, or a digest, but only one field should be populated at a time."],["The `hash` field represents a SHA256 hash prefix in binary format (base64-encoded for JSON)."],["The `url` field simply contains a URL string to specify the threat."],["The `digest` field holds the SHA256 digest of an executable, supporting both binary and hex formats (base64-encoded for JSON)."]]],["The JSON data represents a single threat, using either a `hash`, `url`, or `digest`. The `hash` is a base64-encoded SHA256 hash prefix (4-32 bytes). The `url` is a string representing a URL. The `digest` is a base64-encoded SHA256 digest of an executable, supporting both binary and hex. Only one of these fields should be populated in any given representation of this threat data.\n"]]