dcloud git security set-code-scanning-alertDismiss a code scanning alert with a reason, or reopen it
IAM git:UpdateSecurityAlertChanges state
Synopsis
dcloud git security set-code-scanning-alert repoId alertId --state state [flags]Arguments
<repoId>Requiredstring
Also accepted as
--repo-id. Constraints: uuid<alertId>Requiredstring
Also accepted as
--alert-id. Constraints: uuid
Flags
--stateRequiredenum
`dismissed` closes the alert, `open` reopens it
One of:
open,dismissed--reasonOptionalstring
Why it is dismissed
Constraints: max 2000 chars
Example
dcloud git security set-code-scanning-alert repoId alertId --state openGenerated from the API description, the same one the API checks requests against and the CLI is built from.