def BuildApprovalUrn(self):
    event = flow.AuditEvent(user=self.token.username,
                            action="CLIENT_APPROVAL_REQUEST",
                            client=self.client_id,
                            description=self.args.reason)
    flow.Events.PublishEvent("Audit", event, token=self.token)

    return self.ApprovalUrnBuilder(self.client_id.Path(), self.token.username,
                                   self.args.reason)
Builds approval object urn.
dataset/ETHPy150Open google/grr/grr/lib/aff4_objects/security.py/RequestClientApprovalFlow.BuildApprovalUrn