Utilities

PyGrp

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

Other Methods

.getgrall()Neutral
#
Signature
getgrall()

Return a list of all available group entries, in arbitrary order.

.getgrgid()Neutral
#
Signature
getgrgid(id)

Return the group database entry for the given numeric group ID.

.getgrnam()Neutral
#
Signature
getgrnam(name)

Return the group database entry for the given group name.

.struct_group()Neutral
#
Signature
struct_group(...)

grp.struct_group: Results from getgr*() routines.

Fully-Qualified Names

FQNField
grpfqns[0]

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

Import

rule.py
import grp