dcloud git security scan-secret-history

Scan every reachable commit (branches, tags, pull request heads) for secrets now

IAM git:UpdateSecurityAlertChanges state

Answers 202; the scan runs in the background and `list-secret-alerts` shows its result in `historyScan`. A secret found opens one alert per secret and file, in state `open`. Imports, mirror syncs and pushes start a scan on their own.

Synopsis

dcloud git security scan-secret-history repoId

Arguments

  • <repoId>Required

    string

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

Example

dcloud git security scan-secret-history repoId

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