nerdexam
Microsoft

GH-500 · Question #101

Secret scanning will ignore a secret_scanning.yml file that

The correct answer is C. is 1 MB or larger. GitHub enforces a 1 MB size limit on the secret_scanning.yml configuration file. If the file reaches or exceeds 1 MB in size, GitHub will silently ignore it entirely - meaning no exclusions or customizations defined in that file will be applied. This limit is a safeguard…

Configure and use secret scanning

Question

Secret scanning will ignore a secret_scanning.yml file that

Options

  • Acontains 1,000 or more entries.
  • Bhas 1,000 or more directories
  • Cis 1 MB or larger
  • Dis 100 KB or larger.

How the community answered

(23 responses)
  • A
    4% (1)
  • C
    87% (20)
  • D
    9% (2)

Explanation

GitHub enforces a 1 MB size limit on the secret_scanning.yml configuration file. If the file reaches or exceeds 1 MB in size, GitHub will silently ignore it entirely - meaning no exclusions or customizations defined in that file will be applied. This limit is a safeguard against oversized configuration files impacting platform performance. Administrators should keep the file well below this threshold to ensure their configurations are honored.

Topics

#Secret scanning#Configuration limits#secret_scanning.yml#GHAS limitations

Community Discussion

No community discussion yet for this question.

Full GH-500 Practice