Ensure Keystone sets check-max-request-body-size
Change-Id: I580669d82c3f37adceb75d5d6f368b09ea41b9da Closes-Bug: #1819134 Func-Test-PR: https://github.com/openstack-charmers/zaza/pull/198
This commit is contained in:
parent
e363626820
commit
d8c406e405
|
@ -42,7 +42,8 @@ def uses_sha256_for_hashing_tokens(audit_options):
|
|||
algorithm)
|
||||
|
||||
|
||||
@audits.audit(audits.is_audit_type(audits.AuditType.OpenStackSecurityGuide),)
|
||||
@audits.audit(audits.is_audit_type(audits.AuditType.OpenStackSecurityGuide),
|
||||
audits.since_openstack_release('keystone', 'juno'))
|
||||
def check_max_request_body_size(audit_options):
|
||||
"""Validate that a sane max_request_body_size is set.
|
||||
|
||||
|
|
|
@ -115,3 +115,7 @@ group_allow_update = False
|
|||
group_allow_delete = False
|
||||
{% endif -%}
|
||||
{% endif -%}
|
||||
|
||||
[oslo_middleware]
|
||||
# Bug #1819134
|
||||
max_request_body_size = 114688
|
|
@ -111,3 +111,6 @@ admin_project_name = admin
|
|||
{% endif -%}
|
||||
|
||||
{% include "section-oslo-middleware" %}
|
||||
# This goes in the section above, selectively
|
||||
# Bug #1819134
|
||||
max_request_body_size = 114688
|
|
@ -126,3 +126,6 @@ admin_project_name = admin
|
|||
{% include "parts/section-federation" %}
|
||||
|
||||
{% include "section-oslo-middleware" %}
|
||||
# This goes in the section above, selectively
|
||||
# Bug #1819134
|
||||
max_request_body_size = 114688
|
|
@ -107,3 +107,6 @@ admin_project_name = admin
|
|||
{% include "parts/section-federation" %}
|
||||
|
||||
{% include "section-oslo-middleware" %}
|
||||
# This goes in the section above, selectively
|
||||
# Bug #1819134
|
||||
max_request_body_size = 114688
|
Loading…
Reference in New Issue