GitHub Copilot — Question 3
By default, where will secret scanning look in a repository in order to execute its job? Each correct answer presents part of the solution. (Choose three.)
Answer options
- A. all files in the repository
- B. dependencies
- C. selected files in the repository
- D. full commit history
- E. all branches
Correct answer: C, D, E
Explanation
The correct answers are C, D, and E because secret scanning targets specifically selected files, examines the entire commit history, and reviews all branches to ensure no secrets are exposed. Options A and B are incorrect as they are not explicitly included in the default scanning process.