Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleSecuritySafebrowsingV5HashListMetadata

import type { GoogleSecuritySafebrowsingV5HashListMetadata } from "https://googleapis.deno.dev/v1/safebrowsing:v5.ts";

Metadata about a particular hash list.

interface GoogleSecuritySafebrowsingV5HashListMetadata {
description?: string;
hashLength?:
| "HASH_LENGTH_UNSPECIFIED"
| "FOUR_BYTES"
| "EIGHT_BYTES"
| "SIXTEEN_BYTES"
| "THIRTY_TWO_BYTES";
likelySafeTypes?:
| "LIKELY_SAFE_TYPE_UNSPECIFIED"
| "GENERAL_BROWSING"
| "CSD"
| "DOWNLOAD"[];
threatTypes?:
| "THREAT_TYPE_UNSPECIFIED"
| "MALWARE"
| "SOCIAL_ENGINEERING"
| "UNWANTED_SOFTWARE"
| "POTENTIALLY_HARMFUL_APPLICATION"[];
}

§Properties

§
description?: string
[src]

A human-readable description about this list. Written in English.

§
hashLength?: "HASH_LENGTH_UNSPECIFIED" | "FOUR_BYTES" | "EIGHT_BYTES" | "SIXTEEN_BYTES" | "THIRTY_TWO_BYTES"
[src]

The supported hash length for this hash list. Each hash list will support exactly one length. If a different hash length is introduced for the same set of threat types or safe types, it will be introduced as a separate list with a distinct name and respective hash length set.

§
likelySafeTypes?: "LIKELY_SAFE_TYPE_UNSPECIFIED" | "GENERAL_BROWSING" | "CSD" | "DOWNLOAD"[]
[src]

Unordered list. If not empty, this specifies that the hash list represents a list of likely safe hashes, and this enumerates the ways they are considered likely safe. This field is mutually exclusive with the threat_types field.

§
threatTypes?: "THREAT_TYPE_UNSPECIFIED" | "MALWARE" | "SOCIAL_ENGINEERING" | "UNWANTED_SOFTWARE" | "POTENTIALLY_HARMFUL_APPLICATION"[]
[src]

Unordered list. If not empty, this specifies that the hash list is a kind of threat list, and this enumerates the kind of threats associated with hashes or hash prefixes in this hash list. May be empty if the entry does not represent a threat, i.e. in the case that it represents a likely safe type.