An organisation owner sets a custom security configuration as the default for all newly created repositories but does not bulk-apply it to the hundreds of repositories that already exist. Three weeks later a team reports that an older repository has none of the new protections active. Assuming nobody changed that repository in the meantime, why is the older repository still unprotected?
- ASetting a configuration as the default for newly created repositories does not attach it to repositories that already existed, which still need an explicit apply action. Correct
- BDefaults apply retroactively only to repositories with recent push activity, and the older repository has been inactive long enough to fall outside the retroactive window.
- CThe configuration failed to attach because a default can cover newly created repositories or existing repositories, but not both, and the owner chose the former.
- DThe older repository inherited an 'enforced' empty configuration at creation that takes precedence over any later default and must be detached first.
Why A is correct: The default for newly created repositories governs only repositories made after it is set, so pre-existing repositories remain unattached. Bringing them under the configuration requires explicitly applying it to existing repositories, which the owner did not do.
Why B is wrong: There is no activity-based retroactive window for default configurations, so this fabricates a rule. Default status concerns when a repository is created, not how recently it has received pushes.
Why C is wrong: Framing this as a forced either-or where choosing new repositories actively excludes existing ones is misleading. The default for new repositories simply does not reach back to existing ones, rather than being blocked by an exclusive toggle.
Why D is wrong: Repositories are not seeded with a hidden enforced empty configuration that pre-empts later defaults, so this invents a blocking artefact. The straightforward reason is that defaults for new repositories never attach to ones created earlier.