dcloud iam audit-logs update-settingsSet how long entries are kept, 90 to 3650 days
IAM iam:UpdateAuditLogSettingsChanges stateAsks before it deletes (-y skips)
A daily sweep deletes older entries, never past the newest signed digest. Export to S3 for longer archives.
Synopsis
dcloud iam audit-logs update-settings --days daysFlags
--daysRequirednumber
Days an audit log entry is kept (400 until changed)
Constraints: integer, 90-3650
Example
dcloud iam audit-logs update-settings --days 1Generated from the API description, the same one the API checks requests against and the CLI is built from.