assets_guardian.core.domain.models.rules.rule๏
Classes
|
Base interface for all audit rules. |
- class assets_guardian.core.domain.models.rules.rule.IRule[source]๏
Bases:
ABCBase interface for all audit rules.
- abstractmethod evaluate(**kwargs: Any) Iterable[Finding][source]๏
Evaluates the rule on the provided data.
- abstract property description: str๏
Description of the rule.
- abstract property name: str๏
Name of the rule.
- abstract property rule_category: RuleCategory๏
Category of the rule.
- abstract property severity: SeverityType๏
Severity level of the rule.
- abstract property target_entity: str๏
Entity targeted by the rule.