Check ID:
Provider: AWS
Service:
Severity: MEDIUM
Categories:
Resource type:
apigatewayv2_api_access_logging_enabledProvider: AWS
Service:
apigatewayv2Severity: MEDIUM
Categories:
loggingResource type:
AwsApiGatewayV2StageWhat this check verifies
API Gateway v2 stages have access logging configured to capture request details and deliver them to a logging destination (e.g., CloudWatch Logs or Firehose). The evaluation looks for logging being enabled at each API stage.Risk
Without access logs, API calls lack traceability, making it hard to spot credential misuse, route abuse, or anomalous traffic. This reduces confidentiality and integrity through undetected data access or manipulation, and impacts availability by slowing incident response.Recommendation
Enable stage-level access logging to a centralized destination and use structured formats. Apply appropriate retention and restrict log access per least privilege. Integrate logs with monitoring and alerts to detect anomalies, and complement with defense in depth controls.Remediation
- CLI
- Terraform
- Native IaC
- Dashboard steps
References
- https://docs.aws.amazon.com/apigateway/latest/developerguide/security-monitoring.html
- https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-logging.html
- https://support.icompaas.com/support/solutions/articles/62000229562-ensure-api-gateway-v2-has-access-logging-enabled
- https://www.trendmicro.com/trendaivisiononecloudriskmanagement/knowledge-base/aws/APIGateway/api-gateway-stage-access-logging.html
Where this check fires
This check runs on every scheduled scan against your AWS account. Findings appear at Cloud Security → Findings filterable byCheck ID = apigatewayv2_api_access_logging_enabled. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to AWS checks