Review security posture in API Portal - Amazon API Gateway
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

Review security posture in API Portal

Each managed API has a Security checklist tab on its detail page (API Portal, Managed APIs, then choose an API). The checklist evaluates the API against a set of security postures. Each row shows a Compliance status of Compliant, Non-compliant, Not applicable, or Insufficient data, a Reason, and a Last evaluated time. Insufficient data means the posture couldn't be evaluated yet.

The postures that apply depend on the source service. Postures that don't describe the resource show Not applicable.

Source servicePostures evaluated
API Gateway Method authentication required, request validation enabled, API key required, stage throttling enabled (rate and burst limits set), stage response caching, stage AWS WAF web ACL associated, stage access logging enabled, private API resource policy configured, TLS 1.2 or later.
Application Load Balancer AWS WAF web ACL associated with the load balancer, listener TLS 1.2 or later.
CloudFront AWS WAF web ACL associated with the distribution, TLS 1.2 or later, no plaintext HTTP, access logging enabled, geo restriction configured.

The Reason column explains the effect of a non-compliant item, for example that callers aren't identified and usage plan limits don't apply when no API key is required. After you change the resource, API Portal re-evaluates the posture when it next processes the resource's configuration; you can't trigger a re-evaluation on demand.

API Portal reports posture; it doesn't enforce it. AWS WAF is the enforcement layer. To protect an API that shows AWS WAF as disabled, associate a web ACL with its stage, load balancer, or distribution. For more information, see the AWS WAF Developer Guide.

Security postures reference

API Portal evaluates the following postures from the AWS Config configuration items of each resource. Each finding has a posture ID, a status, and, when the posture isn't satisfied, a reason code. The AWS CLI and SDKs return these values in GetManagedApi.

StatusMeaning
TRUEThe posture is satisfied (console: Compliant).
FALSEThe posture isn't satisfied (console: Non-compliant). See the reason code.
NOT_APPLICABLEThe posture doesn't apply to this API, for example a caching check on a POST method, so it wasn't evaluated.
INSUFFICIENT_DATANo verdict could be reached, usually because the resource's configuration hasn't been read yet.

API Gateway REST API postures

Posture (console name)Satisfied whenReason codeRemediation
APIGW_METHOD_AUTHENTICATION_REQUIRED (Authentication)The method's authorization type isn't NONE. OPTIONS methods are exempt.AUTHENTICATION_NOT_CONFIGUREDSet an authorization type of AWS_IAM, COGNITO_USER_POOLS, or CUSTOM, or attach an authorizer.
APIGW_REQUEST_VALIDATION_ENABLED (Request validation)A request validator is attached. Evaluated for POST, PUT, PATCH, and DELETE only.REQUEST_VALIDATION_NOT_ENABLEDAttach a request model and validator to methods that accept a body.
APIGW_API_KEY_REQUIRED (API key required)apiKeyRequired is true. OPTIONS methods are exempt.API_KEY_NOT_CONFIGUREDRequire an API key on methods fronted by a usage plan.
APIGW_STAGE_THROTTLING_ENABLED (Throttling)The effective method settings have a rate limit and a burst limit greater than 0.THROTTLING_RATE_LIMIT_NOT_SET, THROTTLING_BURST_LIMIT_NOT_SETSet throttlingRateLimit and throttlingBurstLimit in the stage's method settings.
APIGW_STAGE_CACHING (API caching)Caching is enabled for the method. Evaluated for GET and HEAD only.RESPONSE_CACHING_NOT_ENABLEDEnable caching in the stage's method settings where appropriate.
APIGW_STAGE_WAF_ENABLED (WAF protection)A web ACL is associated with the stage.STAGE_WAF_NOT_ASSOCIATEDAssociate a AWS WAF web ACL with the stage.
APIGW_STAGE_ACCESS_LOGGING (Logging)The stage has an access log destination.STAGE_ACCESS_LOGGING_NOT_ENABLEDConfigure an access log destination on the stage.
APIGW_PRIVATE_RESOURCE_POLICY (Resource policy)A private REST API has a resource policy. Evaluated for private APIs only.PRIVATE_API_RESOURCE_POLICY_MISSINGAttach a resource policy that restricts access to the intended VPC endpoints.
APIGW_REST_API_TLS_1_2_MINIMUM (Commercial-grade TLS)The REST API's security policy is one of: SecurityPolicy_TLS13_1_3_2025_09, SecurityPolicy_TLS13_1_3_FIPS_2025_09, SecurityPolicy_TLS13_1_2_FIPS_PFS_PQ_2025_09, SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09, SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09, SecurityPolicy_TLS13_2025_EDGE, SecurityPolicy_TLS12_PFS_2025_EDGE.REST_API_TLS_BELOW_1_2Change the REST API's security policy to one that meets the Commercial-grade TLS bar.

Application Load Balancer postures

Posture (console name)Satisfied whenReason codeRemediation
ALB_INTERNET_FACING_REQUIRES_WAF (WAF protection)An internet-facing load balancer has a web ACL associated. Internal load balancers are exempt.LOAD_BALANCER_WAF_NOT_ASSOCIATEDAssociate a AWS WAF web ACL with the load balancer, or make it internal.
ALB_LISTENER_TLS_1_2_MINIMUM (Commercial-grade TLS)An HTTPS listener uses one of: ELBSecurityPolicy-TLS13-1-3-2021-06, ELBSecurityPolicy-TLS13-1-3-FIPS-2023-04, ELBSecurityPolicy-TLS13-1-3-PQ-2025-09, ELBSecurityPolicy-TLS13-1-3-FIPS-PQ-2025-09, ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09, ELBSecurityPolicy-TLS13-1-2-Res-FIPS-PQ-2025-09, ELBSecurityPolicy-TLS13-1-2-PQ-2025-09, ELBSecurityPolicy-TLS13-1-2-FIPS-PQ-2025-09, ELBSecurityPolicy-TLS13-1-3-RFC9151-FIPS-2023-07, ELBSecurityPolicy-TLS13-1-2-RFC9151-FIPS-2023-07, ELBSecurityPolicy-TLS13-1-2-RFC9151-INTEROP1-FIPS-2023-07, ELBSecurityPolicy-TLS13-1-2-RFC9151-INTEROP2-FIPS-2023-07.LISTENER_TLS_BELOW_1_2Change the listener's SSL policy to one that meets the Commercial-grade TLS bar.

CloudFront postures

Posture (console name)Satisfied whenReason codeRemediation
CLOUDFRONT_TLS_1_2_MINIMUM (Commercial-grade TLS)The viewer certificate's minimum protocol version is TLSv1.2_2025 or TLSv1.3_2025. Distributions using the default CloudFront certificate are exempt, because CloudFront fixes their policy.DISTRIBUTION_TLS_BELOW_1_2Use a custom certificate and set the security policy to TLSv1.2_2025 or TLSv1.3_2025.
CLOUDFRONT_WAF_ENABLED (WAF protection)A web ACL is associated with the distribution.DISTRIBUTION_WAF_NOT_ASSOCIATEDAssociate a AWS WAF web ACL with the distribution.
CLOUDFRONT_HTTPS_ONLY (HTTPS required)The default cache behavior's viewer protocol policy is https-only or redirect-to-https.DISTRIBUTION_SERVES_PLAINTEXT_HTTPSet the viewer protocol policy to https-only or redirect-to-https.
CLOUDFRONT_LOGGING_ENABLED (Logging)Standard logging is enabled.DISTRIBUTION_ACCESS_LOGGING_NOT_ENABLEDEnable standard access logging on the distribution.
CLOUDFRONT_GEO_RESTRICTION (Geo-restriction)A geographic allowlist or blocklist is configured.GEO_RESTRICTION_NOT_CONFIGUREDConfigure a geo-restriction if the service is limited to specific countries.

The Commercial-grade TLS postures require TLS 1.2 or later with forward-secret (ECDHE) key exchange and no SHA-1 or SHA-224 in the handshake, matching the corresponding Security Hub CSPM controls. New reason codes may be added over time; treat any value you don't recognize as UNKNOWN.

AWS WAF API Security findings

When you add the AWS WAF API Security managed rule group to the web ACLs that protect your APIs, API Portal shows the threats that API Security detects for each managed API, so the view that shows an unprotected API also shows the activity against it. Associating a web ACL alone isn't enough; the API Security managed rule group must be enabled on it. API Portal shows events for the individual managed API (method and path); the AWS WAF console shows them for the protected resource as a whole. Each event names the detection and its confidence, for example a caller enumerating object IDs to read other users' records (broken object level authorization), a tampered or unsigned token in the Authorization header, credential stuffing, or reconnaissance such as probing for routes that your API doesn't serve. For more information, see API Security in the AWS WAF Developer Guide.