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.
Azure Subscription ID.
Azure AD application (client) ID.
Client secret for the application.
Azure AD tenant ID.
Credentials provided as a JSON file, supplied here as a string (implementation-specific).
Optional display name (<= 32 chars) for this connection. Must be unique within Azure connections.
Maximum string length:
32Show child attributes
Show child attributes
Trigger a one-time historical audit (requires an existing connection).
Offset from 30 days in the past to set the start of the historical range.
Offset from yesterday to set the end of the historical range.

