Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions src/uipath/runtime/governance/native/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
"""Native UiPath governance policy evaluator.

YAML-defined rules evaluated in-process at each agent lifecycle hook.
Reads policies through a :class:`GovernancePolicyProvider` (the provider
owns the wire transport) and runs the deterministic detectors backing
ISO 42001 controls.

This subpackage owns:

- :class:`GovernanceEvaluator` – the evaluator implementation.
- :class:`PolicyLoader` – the instance-scoped policy cache + prefetch.
- The native policy model: :class:`Rule`, :class:`Check`,
:class:`Condition`, :class:`PolicyIndex`.

Shared output types (``Action``, ``AuditRecord``, …) live in
:mod:`uipath.core.governance`.
"""

from .evaluator import GovernanceEvaluator
from .loader import PolicyLoader
from .models import (
Check,
CheckContext,
Condition,
PolicyIndex,
PolicyPack,
Rule,
Severity,
)

__all__ = [
"GovernanceEvaluator",
"PolicyLoader",
# Native policy model
"Check",
"CheckContext",
"Condition",
"PolicyIndex",
"PolicyPack",
"Rule",
"Severity",
]
Loading
Loading