def report_item_value(report_item, report_item_name):
    """
    Function returns value of given report item e.g. pluginName
    :param report_item: particular report item for scanned host
    :param report_item_name: exact report item name for scanned host
    :return: value of given report item
    """
    report_item_content_value = report_item.get(report_item_name)
    if report_item_content_value is None:
        report_item_content = report_item.find(report_item_name)
        if report_item_content is not None:
            report_item_content_value = report_item_content.text
    return report_item_content_value
