Skip to main content

ggshield sca scan all


This feature is experimental, and only available from GGShield version 1.18.0.


Scans a directory for existing vulnerabilities in open-source dependencies.

ggshield sca scan all [OPTIONS] [DIRECTORY]

Scanning a repository with this command will not trigger any incident on your dashboard.

Only metadata such as call time, request size and scan mode is stored server-side.


  • --ignore-not-fixable: Ignore incidents that cannot be fixed for now.
  • --ignore-fixable: Ignore incidents related to vulnerabilities that have a fix.
  • --json: Use JSON output.
  • --ignore-path, --ipa PATTERN: Do not scan paths that match the specified glob-like patterns.
  • --minimum-severity [LOW|MEDIUM|HIGH|CRITICAL]: Minimum severity of the policies.
  • --exit-zero: Always return a 0 (non-error) status code, even if incidents are found. This option can also be set with the GITGUARDIAN_EXIT_ZERO environment variable.

This command supports all ggshield global options.

How can I help you ?