dcloud git security update-settingsTurn secret push protection or dependency alerts on or off, set the file size limit
IAM git:UpdateRepositoryChanges stateAsks before it deletes (-y skips)
Synopsis
dcloud git security update-settings repoId [flags]Arguments
<repoId>Requiredstring
Also accepted as
--repo-id. Constraints: uuid
Flags
--secret-push-protectionOptionalboolean (--secret-push-protection / --no-secret-push-protection)
Refuse pushes that add a known credential format (on by default)
--dependency-alertsOptionalboolean (--dependency-alerts / --no-dependency-alerts)
Check lockfiles on the default branch against the vulnerability database
--max-file-size-mbOptionalnumber
Largest file a push may add, in MB; null for the platform default of 100
Constraints: integer, 1-2048
May be null.
Example
dcloud git security update-settings repoIdGenerated from the API description, the same one the API checks requests against and the CLI is built from.