Hello, the graph api gets data from Microsoft XDR (formally Defender 365) alerts, you need to use the Sentinel API for the ones you need.
https://learn.microsoft.com/en-us/graph/api/resources/security-alert?view=graph-rest-1.0
This resource corresponds to the latest generation of alerts in the Microsoft Graph security API, representing potential security issues within a customer's tenant that Microsoft 365 Defender, or a security provider integrated with Microsoft 365 Defender, has identified.