feat(aws): add apigateway_domain_name_pqc_tls_enabled check#11316
feat(aws): add apigateway_domain_name_pqc_tls_enabled check#11316pedrooot wants to merge 1 commit into
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
|
✅ All necessary |
Compliance Mapping ReviewThis PR adds new checks. Please verify that they have been mapped to the relevant compliance framework requirements. New checks already mapped in this PR
Use the |
|
✅ Conflict Markers Resolved All conflict markers have been successfully resolved in this pull request. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #11316 +/- ##
===========================================
- Coverage 93.97% 3.66% -90.31%
===========================================
Files 237 858 +621
Lines 34829 25155 -9674
===========================================
- Hits 32729 922 -31807
- Misses 2100 24233 +22133
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
🔒 Container Security ScanImage: 📊 Vulnerability Summary
5 package(s) affected
|
101ebb2 to
48256d8
Compare
Context
To mitigate "harvest now, decrypt later" attacks, API Gateway offers enhanced TLS security policies that add hybrid post-quantum (ML-KEM) key exchange for REST API custom domain names. Prowler had no check surfacing whether a custom domain uses one.
Description
Adds the
apigateway_domain_name_pqc_tls_enabledcheck. It evaluates thesecurityPolicyof every REST API custom domain name against a configurable allowlist (apigateway_pqc_tls_allowed_policies, default:SecurityPolicy_TLS13_1_3_2025_09). Theapigatewayservice is extended to list custom domain names. Severity: low.Note: API Gateway HTTP and WebSocket APIs only support the legacy
TLS_1_2policy today, so they cannot use post-quantum TLS and are out of scope for this check.Steps to review
prowler/providers/aws/services/apigateway/apigateway_domain_name_pqc_tls_enabled/prowler/providers/aws/services/apigateway/apigateway_service.pypoetry run pytest tests/providers/aws/services/apigateway/apigateway_domain_name_pqc_tls_enabled/ tests/providers/aws/services/apigateway/apigateway_service_test.py -vprowler aws --check apigateway_domain_name_pqc_tls_enabledChecklist
Community Checklist
SDK/CLI
apigateway:GETonarn:*:apigateway:*::/domainnames/*to bothpermissions/prowler-additions-policy.jsonand the CloudFormation scan-role template, required to read custom domain names.License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.