Hi @Milan Pandya , what are you not able to replicate? Are you receiving any errors or warnings?
The following steps should work for you. Please let me know if they don't:
- Obtain the API URL and generate an API token from your Microsoft Defender for Cloud portal. You can find the API URL in the Defender for Cloud settings under the "Cloud Apps" section.
- Configure Postman:
- Open Postman and create a new request.
- Set the request type to
GET
. - Enter the API URL in the request URL field. For example,
https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Security/regulatoryComplianceStandards?api-version=2019-01-01-preview
.
- In the Headers tab, add the following headers:
-
Authorization: Bearer <your_token_key>
-
Content-Type: application/json
-
- Assign the appropriate roles to your application: "To access all compliance data in your tenant, you need to have at least a Reader level of permissions on the applicable scope of your tenant, or all relevant subscriptions. The minimum set of roles for accessing the dashboard and managing standards is Resource Policy Contributor and Security Admin."
- Send the Request.
Please let me know if you have any questions and I can help you further.
If this answer helps you please mark "Accept Answer" so other users can reference it.
Thank you,
James