nerdexam
Microsoft

GH-100 · Question #18

What additional capability does secret scanning offer for private repositories on GitHub Enterprise Cloud?

The correct answer is A. Allows custom pattern definitions for internal secret formats. GitHub Enterprise Cloud's secret scanning extends beyond detecting publicly-known token formats by allowing organizations to define custom patterns that match their internal or proprietary secret formats - things like internal API keys, database connection strings, or custom…

Enable secure software development and ensure compliance

Question

What additional capability does secret scanning offer for private repositories on GitHub Enterprise Cloud?

Options

  • AAllows custom pattern definitions for internal secret formats.
  • BDisables any code that contains a secret.
  • CRewrites history to remove secrets.
  • DRevokes GitHub access tokens automatically.

How the community answered

(23 responses)
  • A
    83% (19)
  • B
    4% (1)
  • C
    4% (1)
  • D
    9% (2)

Explanation

GitHub Enterprise Cloud's secret scanning extends beyond detecting publicly-known token formats by allowing organizations to define custom patterns that match their internal or proprietary secret formats - things like internal API keys, database connection strings, or custom token schemas that GitHub wouldn't know about by default. This is the key differentiator for private repos on Enterprise Cloud, giving teams control over what counts as a "secret" in their specific context.

Why the distractors are wrong:

  • B - Secret scanning alerts on secrets; it doesn't disable or block code execution.
  • C - Rewriting git history is a separate manual process (e.g., git filter-repo); secret scanning has no such capability.
  • D - GitHub does automatically revoke some exposed tokens (like GitHub PATs) via its partner program, but this applies broadly, not as a private-repo-only Enterprise Cloud feature.

Memory tip: Think "private = proprietary." Private repositories in enterprises often have private/internal secret formats, so the extra capability is defining custom (private) patterns - matching the "private" theme of the question.

Topics

#secret scanning#custom patterns#repository security#GitHub Enterprise Cloud

Community Discussion

No community discussion yet for this question.

Full GH-100 Practice