    def do_transform(self, request, response, config):
        response += check_update(config)
        misp = get_misp_connection(config, request.parameters)
        if request.entity.tag_name:
            tag_name = request.entity.tag_name
        else:
            tag_name = request.entity.value
        events_json = misp.search(controller='events', tags=tag_name, with_attachments=False)
        for e in events_json:
            response += MISPEvent(e['Event']['id'], uuid=e['Event']['uuid'], info=e['Event']['info'], link_direction=LinkDirection.OutputToInput)
        return response