curl --request POST \
--url https://{host}/analysis/azure/analyze \
--header 'Content-Type: application/json' \
--data '
{
"subscriptionId": "cc377154-9605-4cb0-8b41-1b39e1c4ac0f",
"applicationId": "bd6529bf-85d8-410d-a207-ce963b4dd398",
"secretKey": "REDACTED",
"tenantId": "6c9190a7-bca6-4fcd-b35e-36378aadc695",
"connectionName": "AzureEnvTest",
"webHook": {
"uri": "https://example.test/webhook/results",
"authType": "basic",
"authValue": "user:pass"
}
}
'{
"href": "Not available",
"message": "Analysis in progress",
"status": 200
}Azure: Onboard Subscriptions
Onboard Azure Subscription
- Initial run: provide subscription and credentials; schedules nightly collection and analysis.
- Re-run analysis: provide subscription and (optionally) a new webhook; does not collect data.
- Historical audit: set
triggerAdhocAudit=trueand optionallystartDayOffset/endDayOffsetto collect up to 30 days of historical data.
Notes: request is rejected if collection/analysis is in progress or within ~30 minutes of scheduled time.
POST
/
analysis
/
azure
/
analyze
curl --request POST \
--url https://{host}/analysis/azure/analyze \
--header 'Content-Type: application/json' \
--data '
{
"subscriptionId": "cc377154-9605-4cb0-8b41-1b39e1c4ac0f",
"applicationId": "bd6529bf-85d8-410d-a207-ce963b4dd398",
"secretKey": "REDACTED",
"tenantId": "6c9190a7-bca6-4fcd-b35e-36378aadc695",
"connectionName": "AzureEnvTest",
"webHook": {
"uri": "https://example.test/webhook/results",
"authType": "basic",
"authValue": "user:pass"
}
}
'{
"href": "Not available",
"message": "Analysis in progress",
"status": 200
}Body
application/json
Supply subscription and credentials. For historical audit, set triggerAdhocAudit=true and optionally set startDayOffset/endDayOffset. Only one subscription is processed per request.

