dcloud git security update-settings

Turn 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>Required

    string

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

Flags

  • --secret-push-protectionOptional

    boolean (--secret-push-protection / --no-secret-push-protection)

    Refuse pushes that add a known credential format (on by default)

  • --dependency-alertsOptional

    boolean (--dependency-alerts / --no-dependency-alerts)

    Check lockfiles on the default branch against the vulnerability database

  • --max-file-size-mbOptional

    number

    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 repoId

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