Route returns non-sensitive PII without setting Cache-Control HTTP header

Esta página aún no está disponible en español. Estamos trabajando en su traducción.
Si tienes alguna pregunta o comentario sobre nuestro actual proyecto de traducción, no dudes en ponerte en contacto con nosotros.

Description

This publicly exposed API endpoint returns non-sensitive personally identifiable information (PII) without implementing the Cache-Control header. This header instructs browsers how to cache HTTP responses. Without this header, sensitive API responses might be cached inappropriately, potentially exposing confidential information to unintended users through shared browsers.

What are considered non-sensitive personally identifiable information (PII)?

PII is information that can identify a user but, in isolation, cannot cause significant harm to a person if leaked or stolen. This information includes full name, email address, and phone numbers. Note: Datadog is only able to detect certain types of PII.

Remediation

Implement the Cache-Control header in all API responses. Use the ’no-store’ value to prevent caching of sensitive data.

Example header values:

Cache-Control: no-store