Utilities

PyUuid

Python stdlib module — uuid. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.getnode()Neutral
#
Signature
getnode()

Get the hardware address as a 48-bit positive integer.

.uuid1()Neutral
#
Signature
uuid1(node, clock_seq)

Generate a UUID from a host ID, sequence number, and the current time.

.uuid3()Neutral
#
Signature
uuid3(namespace, name)

Generate a UUID from the MD5 hash of a namespace UUID and a name.

.uuid4()Neutral
#
Signature
uuid4()

Generate a random UUID.

.uuid5()Neutral
#
Signature
uuid5(namespace, name)

Generate a UUID from the SHA-1 hash of a namespace UUID and a name.

.Enum()Neutral
#
Signature
Enum(...)

Create a collection of name/value pairs.

.SafeUUID()Neutral
#
Signature
SafeUUID(...)

An enumeration.

.UUID()Neutral
#
Signature
UUID(...)

Instances of the UUID class represent UUIDs as specified in RFC 4122.

.bytes_()Neutral
#
Signature
bytes_(...)

bytes(iterable_of_ints) -> bytes

.int_()Neutral
#
Signature
int_(...)

int([x]) -> integer

Fully-Qualified Names

FQNField
uuidfqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

rule.py
import uuid