What is a prerequisite to define a custom pattern for a repository?
A.
Change the repository visibility to Internal
B.
Close other secret scanning alerts
C.
Specify additional match criteria
D.
Enable secret scanning
The Answer Is:
D
This question includes an explanation.
Explanation:
You must enable secret scanning before defining custom patterns. Secret scanning provides the foundational capability for detecting exposed credentials, and custom patterns build upon that by allowing organizations to specify their own regex-based patterns for secrets unique to their environment.
Without enabling secret scanning, GitHub will not process or apply custom patterns.
[: GitHub Docs – Custom patterns in secret scanning, ==========]
GH-500 PDF/Engine
Printable Format
Value of Money
100% Pass Assurance
Verified Answers
Researched by Industry Experts
Based on Real Exams Scenarios
100% Real Questions
Get 65% Discount on All Products,
Use Coupon: "ac4s65"