Merge branch 'master' into pmelse-workaround-#2857
This commit is contained in:
commit
6d06f3ca6f
|
@ -212,7 +212,7 @@ class AWSSourcePlugin(SourcePlugin):
|
||||||
if not regions:
|
if not regions:
|
||||||
regions = ec2.get_regions(account_number=account_number)
|
regions = ec2.get_regions(account_number=account_number)
|
||||||
else:
|
else:
|
||||||
regions = regions.split(",")
|
regions = "".join(regions.split()).split(",")
|
||||||
|
|
||||||
for region in regions:
|
for region in regions:
|
||||||
elbs = elb.get_all_elbs(account_number=account_number, region=region)
|
elbs = elb.get_all_elbs(account_number=account_number, region=region)
|
||||||
|
|
|
@ -171,6 +171,9 @@ def map_cis_fields(options, csr):
|
||||||
"units": [options["organizational_unit"]],
|
"units": [options["organizational_unit"]],
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
# possibility to default to a SIGNING_ALGORITHM for a given profile
|
||||||
|
if current_app.config.get("DIGICERT_CIS_SIGNING_ALGORITHMS", {}).get(options['authority'].name):
|
||||||
|
data["signature_hash"] = current_app.config.get("DIGICERT_CIS_SIGNING_ALGORITHMS", {}).get(options['authority'].name)
|
||||||
|
|
||||||
return data
|
return data
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue