JavaScript integration
curl \ -H "Authorization: Bearer $ACCESS_TOKEN" \ /{scope}/providers/Microsoft.PolicyInsights/policyEvents/$metadata