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.
Body
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.
32Trigger 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.

