dcloud git security update-settingsTurn secret push protection or dependency alerts on or off, set the file size limit
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.
--auto-fixOptionalenum
Open a fix pull request automatically: for npm alerts on CISA KEV (exploited), or those and critical ones with a fix (critical). Runs as you; off when you lose access
One of:
off,exploited,critical--auto-fix-mergeOptionalboolean (--auto-fix-merge / --no-auto-fix-merge)
Also merge that pull request automatically once the required checks pass. Needs a protection rule on the default branch that requires status checks; never for a major-version bump
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.