mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-19 10:31:51 +00:00
4cf2207d58
The previous behavior fanned out a FAIL finding for every Organization the tenant returned whenever the stale sign-in alert was missing from the API response. That conflates three distinct conditions — no Microsoft Entra ID P2 license, alert disabled, or insufficient permission — into the same verdict, penalizes tenants without PIM, and emits N near-duplicate findings for what is logically a single tenant-level state. Emit a single MANUAL finding pinned to the first organization instead, with a status_extended that lists the actionable causes so the operator can choose what to remediate. MANUAL is the right verdict because the cause may be legitimate (no P2) rather than misconfiguration.