How to add Audit middleware in placement-api

Pureewat Kaewpoi pureewat.k at bangmod.co.th
Fri Aug 4 06:51:40 UTC 2023


Dear Community !

According to this document (https://docs.openstack.org/keystonemiddleware/yoga/audit.html)
It say, I have to add "audit" middleware into api-paste.ini file.

But placement api It not have api-paste.ini and It looks like placement calling middleware in this file (https://opendev.org/openstack/placement/src/branch/master/placement/deploy.py#L108)

As I understand I have to change some code to use audit middleware ?
Or Just create api-paste.ini for placement-api and config wsgi to use this paste ?

Best Regards,
Pureewat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20230804/26c122bd/attachment.htm>


More information about the openstack-discuss mailing list