orchestrata_ultimate.kernel.pam
Reference › orchestrata_ultimate › kernel › pam › init
The initialiser of the pam package. It was created when the single pam_enforcer module was decomposed, and it re-exports the public names of enforcer, escalation and types. The old path pam_enforcer imports from here, so code written against the earlier layout still resolves the same names.
At a glance
| Source | src/orchestrata_ultimate/kernel/pam/__init__.py |
| Lines of code | 64 |
| Classes | 0 |
| Functions | 0 |
| Imports (internal) | orchestrata_ultimate.kernel.pam.enforcer, orchestrata_ultimate.kernel.pam.escalation, orchestrata_ultimate.kernel.pam.types |
| Imported by | orchestrata_ultimate.kernel.pam_enforcer |
| Tests that import it | none |
Class diagram
No classes; see Functions.
Dependency diagram
API
No public API: the module defines no classes, functions or constants.
Source
# mypy: ignore-errors
"""PAM++ enforcement subsystem (decomposed from pam_enforcer).
Re-exports the complete public surface of the former monolithic
``kernel/pam_enforcer.py`` module: enums, dataclasses, constants,
``_utc_now``, and the three classes (``PAMEnforcer``,
``EscalationManager``, ``MultiHopEscalationManager``).
"""
from orchestrata_ultimate.kernel.pam.enforcer import PAMEnforcer
from orchestrata_ultimate.kernel.pam.escalation import (
AdvancedConflict,
AdvancedEscalationHandler,
EscalationManager,
MultiHopEscalationManager,
)
from orchestrata_ultimate.kernel.pam.types import (
MAX_VIOLATIONS_BEFORE_TRUNCATE,
VIOLATION_LOG_RETAIN_COUNT,
AuthorityResult,
AuthorityStatus,
BoundaryResult,
BoundaryStatus,
Conflict,
ConflictContext,
ConflictType,
EscalationPath,
EscalationResult,
EscalationStatus,
EscalationStep,
OwnershipResult,
OwnershipStatus,
PermissionResult,
PermissionStatus,
Resolution,
_utc_now,
)
__all__ = [
"MAX_VIOLATIONS_BEFORE_TRUNCATE",
"VIOLATION_LOG_RETAIN_COUNT",
"AdvancedConflict",
"AdvancedEscalationHandler",
"AuthorityResult",
"AuthorityStatus",
"BoundaryResult",
"BoundaryStatus",
"Conflict",
"ConflictContext",
"ConflictType",
"EscalationManager",
"EscalationPath",
"EscalationResult",
"EscalationStatus",
"EscalationStep",
"MultiHopEscalationManager",
"OwnershipResult",
"OwnershipStatus",
"PAMEnforcer",
"PermissionResult",
"PermissionStatus",
"Resolution",
"_utc_now",
]