Class ThreatEntryAdditions (1.1.0)

Stay organized with collections Save and categorize content based on your preferences.
ThreatEntryAdditions(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Contains the set of entries to add to a local database. May contain a combination of compressed and raw data in a single response.

Attributes

NameDescription
raw_hashes Sequence[`.webrisk.RawHashes`]
The raw SHA256-formatted entries. Repeated to allow returning sets of hashes with different prefix sizes.
rice_hashes `.webrisk.RiceDeltaEncoding`
The encoded 4-byte prefixes of SHA256-formatted entries, using a Golomb-Rice encoding. The hashes are converted to uint32, sorted in ascending order, then delta encoded and stored as encoded_data.

Inheritance

builtins.object > proto.message.Message > ThreatEntryAdditions