Question 330
For the case “A new application stores reset tokens in plaintext logs visible to all support analysts.”, the team selected “Remove secrets from logs, protect token storage, and invalidate tokens exposed in historical records.”. Which measured result most directly confirms the intended security outcome?
Explanation
Correct Answer
“Test logs contain redacted tokens and previously exposed tokens no longer authorize password resets.” is direct acceptance evidence for the response “Remove secrets from logs, protect token storage, and invalidate tokens exposed in historical records.”. It resolves the uncertainty introduced by “A new application stores reset tokens in plaintext logs visible to all support analysts.” using an observable test or record.
Incorrect Answers
This finding concerns enforcing invoice-level authorization per authenticated API request rather than trusting numeric IDs. It cannot establish redacting reset tokens from support logs and invalidating already exposed tokens.
The measured result “Guest requests to the function are denied and do not change privileged resources.” does not match the outcome of “Remove secrets from logs, protect token storage, and invalidate tokens exposed in historical records.” for “A new application stores reset tokens in plaintext logs visible to all support analysts.” and instead belongs to the alternate problem “A privileged web admin function is accessible when a guest modifies a client-side feature flag.”.
Even if “Injection test strings are treated as data and do not change query structure or return unauthorized records.” is correctly observed in “A login form passes user-controlled text directly into a database query string.”, it would not demonstrate the required “Test logs contain redacted tokens and previously exposed tokens no longer authorize password resets.” for the present response to “A new application stores reset tokens in plaintext logs visible to all support analysts.”.