dcloud git security set-dependency-alertDismiss a dependency alert with a reason, or reopen it
IAM git:UpdateSecurityAlertChanges state
Synopsis
dcloud git security set-dependency-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: false positive, not exploitable, accepted risk, fix later, or your own words
Constraints: max 2000 chars
--commentOptionalstring
Your own words beside the reason
Constraints: max 2000 chars
Example
dcloud git security set-dependency-alert repoId alertId --state openGenerated from the API description, the same one the API checks requests against and the CLI is built from.