API Testing · Senior · Question 28 of 75

Why check API logs for personal data in tests?

Show the answer

Correct answer: Tokens and personal data in logs are a leak and a compliance risk

Explanation

A test can call an endpoint with a known marker value and search the logs for it, catching unmasked emails or tokens.

Further reading

Problem with a question

API Testing · Senior · question 28

Test yourself

Take the API Testing · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz