keystonemiddleware/keystonemiddleware/audit
Michael Johnson 782729b6e9 Fix audit target service selection
The keystonemiddleware audit code would select the wrong OpenStack service
endpoint for a request if the cloud is not using unique TCP ports for each
service endpoint. As most services are no longer using a port per service,
but instead using unique paths, this caused the audit to select the wrong
target service. This leads to incorrect audit logging due to the wrong
audit map being used.

This patch checks the request to see if a TCP port was present in the request,
and if not, fall back to using the target_endpoint_type configured in the
audit map file.

Change-Id: Ie2e0bf74ecca485d599a4041bb770bd6e296bc99
Closes-bug: 1797584
2018-10-29 11:08:34 -07:00
..
__init__.py Add option to disable using oslo_message notifier 2018-02-20 11:26:22 +01:00
_api.py Fix audit target service selection 2018-10-29 11:08:34 -07:00
_notifier.py Add option to disable using oslo_message notifier 2018-02-20 11:26:22 +01:00