From 185491b06113cb1b20ae1235043dcc0a2b4bf00e Mon Sep 17 00:00:00 2001 From: Hugo Pereira Brito <101209179+HugoPBrito@users.noreply.github.com> Date: Fri, 31 Jan 2025 12:32:39 +0100 Subject: [PATCH] fix: microsoft365 mutelist (#6724) --- prowler/lib/check/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/prowler/lib/check/models.py b/prowler/lib/check/models.py index 2aca0e83c1..928d68f075 100644 --- a/prowler/lib/check/models.py +++ b/prowler/lib/check/models.py @@ -541,6 +541,7 @@ class Check_Report_Microsoft365(Check_Report): resource_name: str resource_id: str + tenant_id: str location: str def __init__(self, metadata: Dict, resource: Any) -> None: @@ -555,6 +556,7 @@ class Check_Report_Microsoft365(Check_Report): resource, "name", getattr(resource, "resource_name", "") ) self.resource_id = getattr(resource, "id", getattr(resource, "resource_id", "")) + self.tenant_id = getattr(resource, "tenant_id", "") self.location = getattr(resource, "location", "global")