feat(microsoft365): Add microsoft365 CheckReport model

This commit is contained in:
MarioRgzLpz
2024-11-20 08:29:33 +01:00
parent 210207a5fa
commit 9bb4329b7f
+18
View File
@@ -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:
"""