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

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