From 9bb4329b7f5c4314de2a648534c695391ddabc34 Mon Sep 17 00:00:00 2001 From: MarioRgzLpz Date: Wed, 20 Nov 2024 08:29:33 +0100 Subject: [PATCH] feat(microsoft365): Add microsoft365 CheckReport model --- prowler/lib/check/models.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/prowler/lib/check/models.py b/prowler/lib/check/models.py index 446440b6aa..e3de21a64a 100644 --- a/prowler/lib/check/models.py +++ b/prowler/lib/check/models.py @@ -482,6 +482,24 @@ class Check_Report_Kubernetes(Check_Report): self.namespace = "" +@dataclass +class Check_Report_Microsoft365(Check_Report): + # TODO change class name to CheckReportMicrosoft365 + """Contains the Microsoft365 Check's finding information.""" + + resource_name: str + resource_id: str + subscription: str + location: str + + def __init__(self, metadata): + super().__init__(metadata) + self.resource_name = "" + self.resource_id = "" + self.subscription = "" + self.location = "global" + + # Testing Pending def load_check_metadata(metadata_file: str) -> CheckMetadata: """