Where can you find a deleted line of code that contained a secret value?
A.
Insights
B.
Issues
C.
Commits
D.
Dependency graph
The Answer Is:
C
This question includes an explanation.
Explanation:
Secrets committed and then deleted are still accessible in the repository’s Git history . To locate them, navigate to the Commits tab. GitHub's secret scanning can detect secrets in both current and historical commits, which is why remediation should also include revoking the secret , not just removing it from the latest code.