All checks
Medium APIGateway · regional

API Gateway domain names should use recommended security policies

Checks that the API Gateway custom domain name does not use the legacy TLS_1_0 security policy, which accepts TLS 1.0 with its known weaknesses. TLS_1_2 passes here, but AWS's control passes only enhanced SecurityPolicy_ policies, which a domain mapped to an HTTP API cannot use.

service
APIGateway
severity
Medium
scope
evaluated in every region

How to fix it

  • Can break clients: Clients limited to TLS 1.0 or 1.1, or to cipher suites the new policy drops, can no longer connect, so check $context.tlsVersion in access logs first.

In the console

API Gateway → Custom domain names → the domain name → Custom domain name settings

Security policy
SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09 (Regional) or SecurityPolicy_TLS12_PFS_2025_EDGE; TLS_1_2 if it maps an HTTP API
Endpoint access mode
Basic, then Strict once access logs show no traffic it would reject

With the AWS CLI

aws apigateway update-domain-name --domain-name <domain-name> --patch-operations op=replace,path=/securityPolicy,value=SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09 op=replace,path=/endpointAccessMode,value=BASIC

With Terraform

resource "aws_api_gateway_domain_name" "this" {
  domain_name              = var.domain_name
  regional_certificate_arn = var.certificate_arn
  security_policy          = "SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09"
  endpoint_access_mode     = "BASIC"

  endpoint_configuration {
    types = ["REGIONAL"]
  }
}

See which of your accounts this check is failing on.

Book a live scan