From ec7a95ebbae3e147211bee8cd63244c08ff0e13c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20Mart=C3=ADn?= Date: Mon, 19 May 2025 15:59:42 +0200 Subject: [PATCH] feat(export): support m365 - prowler threatscore (#7783) --- api/CHANGELOG.md | 1 + api/src/backend/tasks/jobs/export.py | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/api/CHANGELOG.md b/api/CHANGELOG.md index 274529cc3e..14e57874ce 100644 --- a/api/CHANGELOG.md +++ b/api/CHANGELOG.md @@ -9,6 +9,7 @@ All notable changes to the **Prowler API** are documented in this file. - Added improvements to `/overviews` endpoints [(#7690)](https://github.com/prowler-cloud/prowler/pull/7690). - Added new queue to perform backfill background tasks [(#7690)](https://github.com/prowler-cloud/prowler/pull/7690). - Added new endpoints to retrieve latest findings and metadata [(#7743)](https://github.com/prowler-cloud/prowler/pull/7743). +- Added export support for Prowler ThreatScore in M365 [(7783)](https://github.com/prowler-cloud/prowler/pull/7783) --- diff --git a/api/src/backend/tasks/jobs/export.py b/api/src/backend/tasks/jobs/export.py index fb405176d5..2bda9d6def 100644 --- a/api/src/backend/tasks/jobs/export.py +++ b/api/src/backend/tasks/jobs/export.py @@ -45,6 +45,9 @@ from prowler.lib.outputs.compliance.prowler_threatscore.prowler_threatscore_azur from prowler.lib.outputs.compliance.prowler_threatscore.prowler_threatscore_gcp import ( ProwlerThreatScoreGCP, ) +from prowler.lib.outputs.compliance.prowler_threatscore.prowler_threatscore_m365 import ( + ProwlerThreatScoreM365, +) from prowler.lib.outputs.csv.csv import CSV from prowler.lib.outputs.html.html import HTML from prowler.lib.outputs.ocsf.ocsf import OCSF @@ -85,6 +88,7 @@ COMPLIANCE_CLASS_MAP = { ], "m365": [ (lambda name: name.startswith("cis_"), M365CIS), + (lambda name: name == "prowler_threatscore_m365", ProwlerThreatScoreM365), ], }