API Gateway without security policy 이 페이지는 아직 한국어로 제공되지 않습니다. 번역 작업 중입니다.
현재 번역 프로젝트에 대한 질문이나 피드백이 있으신 경우
언제든지 연락주시기 바랍니다. Id: cloudformation-aws-api-gateway-without-security-policy
Provider: AWS
Platform: CloudFormation
Severity: Medium
Category: Insecure Configurations
Learn More Description API Gateway custom domain names must enforce TLS 1.2 to avoid allowing older TLS/SSL versions that are susceptible to downgrade attacks and weak ciphers, thereby protecting confidentiality and integrity of client-server connections. In CloudFormation, the AWS::ApiGateway::DomainName resource must include the SecurityPolicy property set to TLS_1_2. Resources missing SecurityPolicy or with any value other than TLS_1_2 will be flagged.
Secure CloudFormation example:
MyDomainName :
Type : AWS::ApiGateway::DomainName
Properties :
DomainName : api.example.com
SecurityPolicy : TLS_1_2
RegionalCertificateArn : arn:aws:acm:us-east-1:123456789012:certificate/abcd-ef01-2345
Compliant Code Examples AWSTemplateFormatVersion : "2010-09-09"
Description : "Router53"
Parameters :
cfnDomainName :
Type : String
certificateArn :
Type : String
type :
Type : String
Resources :
myDomainName :
Type : AWS::ApiGateway::DomainName
Properties :
CertificateArn : !Ref certificateArn
DomainName : !Ref cfnDomainName
EndpointConfiguration :
Types :
- !Ref type
RegionalCertificateArn : !Ref certificateArn
SecurityPolicy : "TLS_1_2"
Outputs :
DomainName :
Value : !Ref myDomainName
Non-Compliant Code Examples AWSTemplateFormatVersion : "2010-09-09"
Description : "Router53"
Parameters :
cfnDomainName :
Type : String
certificateArn :
Type : String
type :
Type : String
Resources :
myDomainName :
Type : AWS::ApiGateway::DomainName
Properties :
CertificateArn : !Ref certificateArn
DomainName : !Ref cfnDomainName
EndpointConfiguration :
Types :
- !Ref type
RegionalCertificateArn : !Ref certificateArn
SecurityPolicy : "TLS_1_0"
Outputs :
DomainName :
Value : !Ref myDomainName
AWSTemplateFormatVersion : "2010-09-09"
Description : "Router53"
Parameters :
cfnDomainName :
Type : String
certificateArn :
Type : String
type :
Type : String
Resources :
myDomainName1 :
Type : AWS::ApiGateway::DomainName
Properties :
CertificateArn : !Ref certificateArn
DomainName : !Ref cfnDomainName
EndpointConfiguration :
Types :
- !Ref type
RegionalCertificateArn : !Ref certificateArn
Outputs :
DomainName :
Value : !Ref myDomainName