More Info:

AWS CloudWatch logs should be enabled for all your APIs created with Amazon API Gateway service in order to track and analyze execution behavior at the API stage level.

Risk Level

Low

Address

Operational Maturity, Security

Compliance Standards

HIPAA, SOC2, HITRUST, NISTCSF, PCIDSS

Triage and Remediation

Check Cause

  1. Log in to the AWS Management Console and navigate to the API Gateway service.
  2. In the API Gateway dashboard, select the API for which you want to check the CloudWatch Logs configuration.
  3. In the selected API’s settings, navigate to the “Stages” section.
  4. In the Stages section, select a stage (e.g., prod, dev) and then navigate to the “Logs/Tracing” tab. Here, you can check if CloudWatch Logs are enabled or not. If the “Enable CloudWatch Logs” checkbox is not selected, then CloudWatch Logs are not enabled for that particular API stage. Repeat this process for all stages of the API.

Additional Reading: