Hello @Jaya Prakash Kumar Nalla
Thanks for using Q & A forum.
You may be able to use Microsoft Graph API's alert methods to list, create, get, update, and delete alerts from the security and compliance
The most recent batch of alerts generated by the Microsoft Graph security API. This resource represents potential security issues within a customer's tenant that Microsoft 365 Defender, or a security provider integrated with Microsoft 365 Defender, identified.
Create and Deploy data loss prevention policies
If the Answer is helpful, please click Accept Answer
and Up-Vote, so that it can help others in the community looking for help on similar topics.