dcloud iam audit-destinations update

Rename, pause, resume, change the filter, or replay from the start or skip to now

IAM iam:UpdateAuditDestinationChanges stateAsks before it deletes (-y skips)

Synopsis

dcloud iam audit-destinations update id [flags]

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: uuid

Flags

  • --nameOptional

    string

    A new name, unique in the organization

    Constraints: 1-64 chars, /^[A-Za-z0-9 ._-]+$/

  • --enabledOptional

    boolean (--enabled / --no-enabled)

    false pauses delivery; true resumes it where it stopped

  • --filter-actionsOptional

    array of string

    Replaces the action patterns, e.g. iam:*; an empty list sends every action

    Constraints: /^[a-z0-9*-]+:[A-Za-z0-9*]+$/

  • --filter-outcomeOptional

    enum

    Send only entries with this outcome: success (Succeeded), error (Failed) or failure (Denied); null sends every outcome

    One of: success, error, failure

    May be null.

  • --resume-fromOptional

    enum

    now skips every entry not yet delivered; start replays every entry still stored; omitted: delivery carries on where it stands

    One of: now, start

Example

dcloud iam audit-destinations update id

Generated from the API description, the same one the API checks requests against and the CLI is built from.