Question 800
At the Birchhaven customer support provider, after a change in service ownership, a contractor needs to review one private repository but is granted access to every repository in an organization. Which maintenance practice best addresses the continuing risk?
Explanation
Correct Answer
The continuing risk is that organization-wide membership is unnecessary when participation concerns only one project. To sustain the correction, remove contractor access when the work finishes. This directly addresses the reported issue at the Birchhaven customer support provider.
Incorrect Answers
That practice helps control a different risk: unrestricted connection authority can allow a build to control unrelated Azure resources. The recurring control here should be to remove contractor access when the work finishes. For the Birchhaven customer support provider, the priority is to grant outside collaborator access to the specific repository with appropriate role restrictions.
The alternative suggests that the team exercise secret refresh after application or authentication library changes; it would not directly prevent the observed issue from returning. For the Birchhaven customer support provider, the priority is to grant outside collaborator access to the specific repository with appropriate role restrictions.
This maintenance work is reasonable for codeql pipeline gate. The continuing exposure described here is that organization-wide membership is unnecessary when participation concerns only one project. For the Birchhaven customer support provider, the priority is to grant outside collaborator access to the specific repository with appropriate role restrictions.