Skip to content
Proud to collaborate with Microsoft for Startups

subscription.data-governance.configure ​

Configure org-level audit storage and retention policy

Create or update organization-selected audit storage and retention policy.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-subscription
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—Organization UUID
subscription_uuiduuidNo—Subscription UUID for billing attribution
audit_authorized_read_enabledbooleanNo—Persist successful read/list/data authorization checks
audit_authorized_mutation_enabledbooleanNo—Persist successful mutating authorization checks
audit_authorized_workflow_allowlistlistNo—Workflow names whose successful authorization is always stored
audit_authorized_workflow_denylistlistNo—Workflow names whose successful authorization is never stored
workflow_state_retention_daysintegerNo—Workflow state retention in days
workflow_event_retention_daysintegerNo—Workflow event retention in days
scheduled_transition_retention_daysintegerNo—Completed scheduled transition retention in days
audit_log_retention_daysintegerNo—Audit log retention in days
usage_snapshot_retention_daysintegerNo—Usage snapshot retention in days
max_retained_workflow_storage_bytesintegerNo—Optional workflow storage cap for billing/alerts
max_retained_audit_storage_bytesintegerNo—Optional audit storage cap for billing/alerts

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidNo——
subscription_uuiduuidNo——
policyjsonNo——
warningslistNo——
completed_atstringNo——
failed_atstringNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
pendingfailfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "subscription.data-governance.configure",
  "initial_data": {
    "organization_uuid": "value"
  }
}