assets_guardian.plugins.microsoft365.compliance๏ƒ

Classes

Microsoft365UnknownMailComplianceRule(**kwargs)

Detects Microsoft365 mailboxes that do not match any employee in employees.json.

Microsoft365UserPrivilegeComplianceRule(**kwargs)

Lists Microsoft365 users holding an administrator role.

class assets_guardian.plugins.microsoft365.compliance.Microsoft365UnknownMailComplianceRule(**kwargs: Any)[source]๏ƒ

Bases: IComplianceRule

Detects Microsoft365 mailboxes that do not match any employee in employees.json.

evaluate(entries: Iterable[Identity], config: dict[str, Any] | None = None) Iterable[Finding][source]๏ƒ

Reports each user who holds a role on Microsoft365.

Yields:

Finding โ€“ One finding per user/role pair detected.

property description: str๏ƒ

Description of the rule.

property name: str๏ƒ

Name of the rule.

property severity: SeverityType๏ƒ

Severity level of the rule.

property target_entity: str๏ƒ

Entity targeted by the rule.

class assets_guardian.plugins.microsoft365.compliance.Microsoft365UserPrivilegeComplianceRule(**kwargs: Any)[source]๏ƒ

Bases: IComplianceRule

Lists Microsoft365 users holding an administrator role.

evaluate(entries: Iterable[Access], config: dict[str, Any] | None = None) Iterable[Finding][source]๏ƒ

Reports each user who holds a role on Microsoft365.

Yields:

Finding โ€“ One finding per user/role pair detected.

property description: str๏ƒ

Description of the rule.

property name: str๏ƒ

Name of the rule.

property severity: SeverityType๏ƒ

Severity level of the rule.

property target_entity: str๏ƒ

Entity targeted by the rule.