assets_guardian.core.domain.models.rules.rule๏ƒ

Classes

IRule()

Base interface for all audit rules.

class assets_guardian.core.domain.models.rules.rule.IRule[source]๏ƒ

Bases: ABC

Base 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.