Medium APIGateway Regional

API Gateway REST and WebSocket API execution logging should be enabled

NISTISO 27001HIPAA

Description

Ensures all stages of an API Gateway REST or WebSocket API have logging enabled at the ERROR or INFO level for all methods.


Remediation

To enable logging for REST and WebSocket API operations, see Set up CloudWatch API logging using the API Gateway console in the API Gateway Developer Guide.

Steps

  1. Navigate to the API Gateway console.
  2. Select the API and stage you want to enable logging for.
  3. Configure the logging settings to either ERROR or INFO level.

Compliance

NISTISO 27001HIPAA