A dairy's pipeline log printed a cloud key during a debug run. The source scan is clean, images are signed, and two people approve promotions. Which step is next?
Select an answer to reveal the explanation.
Short Explanation
The suitcase was sealed and the secret was written on the luggage tag. You scrub the job log, you stop the debug print, and you rotate the cloud key. A storage-plan gate, another image signature, or a third approver leaves that printed key usable.
Full Explanation
The git diff is clean and the image is signed, so those checks already did their jobs. The hole in front of the team is a key printed in the job log, and anyone who can read that log can use it. Scrub the log, stop the debug print, and rotate the key, while a storage-plan gate, another signature, and a third approver leave that exposed key usable. Revoke or rotate the exposed credential, stop printing secrets in debug output, and restrict or scrub the affected logs and archives is the design that meets this requirement. A policy gate that reviews a storage plan this pipeline is not applying is the wrong fit because a storage-plan gate checks infrastructure text this pipeline is not changing in the current job. Another signature check on the container image the build system already signs is the wrong fit because the container image is already signed, and another signature does not remove the key from the job log. A third approver click on the same promotion that two people already approved is the wrong fit because a third approval of the same promotion does not rotate the cloud key the job log already showed. Exam caveat: Rotate any other environment that received the same debug output, including the retained log archive, or an old copy of the key remains valid. Operational check: Update legitimate consumers to use the replacement and verify the exposed credential is rejected.