Exam GitHub-Advanced-Security Topic 3 Question 28 Discussion
Actual exam question for GitHub's GitHub-Advanced-Security exam
Question #: 28
Topic #: 3
Question #: 28
Topic #: 3
What do you need to do before you can define a custom pattern for a repository?
Suggested Answer: C Vote an answer
Comprehensive and Detailed Explanation:
Before defining a custom pattern for secret scanning in a repository, you must enable secretscanning for that repository. Secret scanning must be active to utilize custom patterns, which allow you to define specific formats (using regular expressions) for secrets unique to your organization.
Once secret scanning is enabled, you can add custom patterns to detect and prevent the exposure of sensitive information tailored to your needs.
Before defining a custom pattern for secret scanning in a repository, you must enable secretscanning for that repository. Secret scanning must be active to utilize custom patterns, which allow you to define specific formats (using regular expressions) for secrets unique to your organization.
Once secret scanning is enabled, you can add custom patterns to detect and prevent the exposure of sensitive information tailored to your needs.
by Adam at Oct 28, 2025, 08:21 AM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).