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…
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)- A4% (1)
- C87% (20)
- D9% (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
Community Discussion
No community discussion yet for this question.