Make sure audit can handle API requests which does not require a token
Some service APIs such as Swift list public containers does not require
a token. Therefore, there will be no identity or service catalog information
available. In these cases, audit should fill in the default
(i.e. taxonomy.UNKNOWN) for both initiator and target instead of raising an
exception.
Reviewed: https:/ /review. openstack. org/320725 /git.openstack. org/cgit/ openstack/ keystonemiddlew are/commit/ ?id=d8cb5a3e933 9a67aab13c2af31 bfbff39b14fbc6
Committed: https:/
Submitter: Jenkins
Branch: master
commit d8cb5a3e9339a67 aab13c2af31bfbf f39b14fbc6
Author: Guang Yee <email address hidden>
Date: Tue May 24 17:24:47 2016 -0700
Make sure audit can handle API requests which does not require a token
Some service APIs such as Swift list public containers does not require
a token. Therefore, there will be no identity or service catalog information
available. In these cases, audit should fill in the default
(i.e. taxonomy.UNKNOWN) for both initiator and target instead of raising an
exception.
Change-Id: I3f3c12d5e8c0fa 176fb7f0218c368 971e0a9d0b5
Closes-Bug: 1583699