Question 200
During an operational security assessment at a public-sector technology agency, the team documents this issue: External collaborators can inspect confidential repositories unrelated to their project. The affected delivery process supports citizen applications and reusable infrastructure; accountability and service availability depend on controlled delivery. Which TWO responses form a sound implementation-and-verification pair for this issue? (Select TWO.)
Explanation
Correct Answers
Correct corrective action. Assign GitHub or Azure Repos repository roles at the minimum needed scope, with protected administrators and periodic access review. The action targets the recorded failure (External collaborators can inspect confidential repositories unrelated to their project), and is intended to reduce the corresponding risk: Excessive write permissions let unintended users alter protected code, policies or release workflows.
Correct verification. An external collaborator can propose a PR but cannot modify protection settings or protected branches; review logs match grants. The measurement or controlled test provides evidence for the issue (External collaborators can inspect confidential repositories unrelated to their project) and complements the selected corrective action rather than simply repeating a recommendation.
Incorrect Answers
Create protected signed or otherwise controlled release tags tied to deployed immutable commits and verify tag provenance in pipelines. The paired controls concern repository permissions and least privilege, not that measure.
A published defective commit is reversed by a traceable new commit while other collaborators can pull without repairing history. The repository permissions and least privilege implementation and safeguard are still missing.
Revoke and rotate exposed credentials immediately, then use approved history-rewrite tooling and coordinated cleanup where required. This does not supply the required repository permissions and least privilege action-and-control pair.