Question 240
At the Valeford retail supply-chain team, a build publishes a private library using an organization-wide administrator personal access token. What continuing safeguard is most appropriate?
Explanation
Correct Answer
After the immediate fix, the priority is to review package token scopes and rotate any retained credentials. This reinforces the control against the original weakness: overprivileged persistent tokens expose package publishing rights beyond the build's responsibility. This directly addresses the reported issue at the Valeford retail supply-chain team.
Incorrect Answers
This routine applies to dependency lock-file integrity, but it does not maintain the specific correction needed for the problem at the Valeford retail supply-chain team.
That practice helps control a different risk: fixed idle execution capacity creates cost without improving build throughput. The recurring control here should be to review package token scopes and rotate any retained credentials. For the Valeford retail supply-chain team, the priority is to use appropriately scoped workflow tokens or application credentials for the permitted package repository.
The alternative suggests that the team update pinned container images through reviewed security and compatibility checks; it would not directly prevent the observed issue from returning. For the Valeford retail supply-chain team, the priority is to use appropriately scoped workflow tokens or application credentials for the permitted package repository.