enable_audit
Enable SQL auditing on a warehouse with optional log retention period (0-3650 days, default 0 for unlimited).
Instructions
Enable SQL auditing on a warehouse.
Args: workspace: Workspace name or GUID. warehouse: Warehouse name or GUID. retention_days: Log retention in days (0-3650; 0 = unlimited). Default 0.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | Yes | ||
| warehouse | Yes | ||
| retention_days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||