'A pyCADF initiator describing the current authenticated context.'

@property
def audit_initiator(self):

    pycadf_host = host.Host(address=self.remote_addr, agent=self.user_agent)
    initiator = resource.Resource(typeURI=taxonomy.ACCOUNT_USER, host=pycadf_host)
    if self.context.user_id:
        initiator.id = utils.resource_uuid(self.context.user_id)
        initiator.user_id = self.context.user_id
    if self.context.project_id:
        initiator.project_id = self.context.project_id
    if self.context.domain_id:
        initiator.domain_id = self.context.domain_id
    return initiator
