Add support for ELBSecurityPolicy-FS-1-2-Res-2020-10 (#4377)
This commit is contained in:
parent
e8e0fd4550
commit
7d660b236f
@ -125,6 +125,16 @@ SSL_POLICIES = [
|
||||
{"name": "DES-CBC3-SHA", "priority": 19},
|
||||
],
|
||||
},
|
||||
{
|
||||
"name": "ELBSecurityPolicy-FS-1-2-Res-2020-10",
|
||||
"ssl_protocols": ["TLSv1.2"],
|
||||
"ciphers": [
|
||||
{"name": "ECDHE-ECDSA-AES128-GCM-SHA256", "priority": 1},
|
||||
{"name": "ECDHE-RSA-AES128-GCM-SHA256", "priority": 2},
|
||||
{"name": "ECDHE-ECDSA-AES256-GCM-SHA384", "priority": 3},
|
||||
{"name": "ECDHE-RSA-AES256-GCM-SHA384", "priority": 4},
|
||||
],
|
||||
},
|
||||
]
|
||||
|
||||
|
||||
|
@ -1311,10 +1311,19 @@ def test_describe_ssl_policies():
|
||||
client = boto3.client("elbv2", region_name="eu-central-1")
|
||||
|
||||
resp = client.describe_ssl_policies()
|
||||
len(resp["SslPolicies"]).should.equal(5)
|
||||
len(resp["SslPolicies"]).should.equal(6)
|
||||
|
||||
resp = client.describe_ssl_policies(
|
||||
Names=["ELBSecurityPolicy-TLS-1-2-2017-01", "ELBSecurityPolicy-2016-08"]
|
||||
Names=["ELBSecurityPolicy-TLS-1-2-2017-01", "ELBSecurityPolicy-2016-08",]
|
||||
)
|
||||
len(resp["SslPolicies"]).should.equal(2)
|
||||
|
||||
resp = client.describe_ssl_policies(
|
||||
Names=[
|
||||
"ELBSecurityPolicy-TLS-1-2-2017-01",
|
||||
"ELBSecurityPolicy-2016-08",
|
||||
"ELBSecurityPolicy-2016-08",
|
||||
]
|
||||
)
|
||||
len(resp["SslPolicies"]).should.equal(2)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user