GH-500 · Question #107
How many alerts are created when two instances of the same secret value are in the same repository?
The correct answer is D. 1. GitHub secret scanning deduplicates alerts by secret value, not by the number of occurrences. If the exact same secret value appears multiple times within the same repository-whether in different files, commits, or branches-GitHub creates only one alert for that unique secret…
Question
How many alerts are created when two instances of the same secret value are in the same repository?
Options
- A4
- B2
- C3
- D1
How the community answered
(31 responses)- A3% (1)
- C3% (1)
- D94% (29)
Explanation
GitHub secret scanning deduplicates alerts by secret value, not by the number of occurrences. If the exact same secret value appears multiple times within the same repository-whether in different files, commits, or branches-GitHub creates only one alert for that unique secret value. This prevents alert fatigue and keeps the alert list manageable.
Topics
Community Discussion
No community discussion yet for this question.