dcloud git security resolve-secret-alert

Say what was done about a bypassed secret (revoked, false positive, …)

IAM git:UpdateSecurityAlertChanges state

Synopsis

dcloud git security resolve-secret-alert repoId alertId --resolution resolution [flags]

Arguments

  • <repoId>Required

    string

    Also accepted as --repo-id. Constraints: uuid

  • <alertId>Required

    string

    Also accepted as --alert-id. Constraints: uuid

Flags

  • --resolutionRequired

    enum

    What was done about the secret that was pushed

    One of: revoked, false_positive, used_in_tests, wont_fix

  • --commentOptional

    string

    A note on the resolution, in your own words

    Constraints: max 2000 chars

Example

dcloud git security resolve-secret-alert repoId alertId --resolution revoked

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