assets_guardian.plugins.microsoft365.matrix๏
Classes
|
Verifies that Microsoft365 group memberships are authorized by the matrix. |
- class assets_guardian.plugins.microsoft365.matrix.Microsoft365GroupProjectAccessRule(**kwargs: Any)[source]๏
Bases:
IMatrixRuleVerifies that Microsoft365 group memberships are authorized by the matrix.
Retrieves the rule configuration from YAML.
- evaluate(accesses: Iterable[Access], matrix: dict[tuple[str, str], str], profiles: dict[tuple[str | None, str | None], list[str]]) Iterable[Finding][source]๏
Verifies Microsoft365 group memberships against the authorization matrix.
- Parameters:
accesses โ List of accesses to evaluate.
matrix โ Authorization matrix (profile, resource) -> role.
profiles โ Dictionary of profiles associated with each user by their (email, username).
- Yields:
Finding โ Anomalies for each detected unauthorized group membership.
- property description: str๏
Description of the rule.
- property name: str๏
Name of the rule.
- property rule_category: RuleCategory๏
MATRIX (matrix rules).
- Type:
Rule category
- property severity: SeverityType๏
Severity level of the rule.
- property target_entity: str๏
Entity targeted by the rule.