A team is defining what its cloud API gateway must log so that investigators can reconstruct an abuse incident without storing secrets. Which three practices meet this need? (Choose three.)
Choose 3 answers
Show the answer
Correct answersB. Forward logs to a central store that regular API users cannot modifyD. Record the authenticated identity and client ID on each requestF. Mask or omit tokens, passwords and API keys from log entries
AWhy not this: full Authorization headers expose live tokens to anyone with log access.
BWhy this is right: central, write-protected storage preserves evidence if a gateway is compromised or replaced.
CWhy not this: instance-local logs are lost when instances are recycled and are easy to tamper with.
DWhy this is right: attribution to an identity and client is essential to reconstruct who did what.
EWhy not this: abuse often produces successful responses, so error-only logging omits it.
FWhy this is right: masking secrets prevents logs from becoming a source of stolen credentials.
Useful API logs name who made each request, exclude secrets, and sit in a protected central store. Logging full Authorization headers writes live credentials into logs, so anyone reading them can take over sessions.