As of the Juno release, Keystone emits two types of notifications. A simple kind that is typically used as a callback function, that just has a resource id as the only payload. The other is a CADF styled notification which contains information that is useful for auditing.
There has been more demand for cloud deployers to have the ability to audit everything. This includes tasks such as project creation and deletion, as well as role assignment creation and deletion. As such, we should start to support these deployers by sending a notification with sufficient data to perform a successful audit.
Create CADF notifications upon a create, update, and deleted events for the following resources:
project (i.e. tenant)
trust (immutable resource - no update notification)
Note: We will not be removing the simple notifications as they are useful for callback functions, and there is already some support in Ceilometer for these notifications. Barbican also relies on these as callbacks.
Keep things as-is
More CADF notifications
Other End User Impact¶
Other Deployer Impact¶
Attempt to leverage the existing CADF decorators to create the payload for the notification and send it off.
Possibly refactor the existing CADF decorator to be a bit more flexible.
Update the notifications sections of documentation, possibly create a new section for CADF notifications.