def get_cmdb_detail(cmdb_details):
    """
    Iterate over CMDB details from response and convert them into RiskSense context.

    :param cmdb_details: CMDB details from response
    :return: List of CMDB elements which includes required fields from resp.
    """
    return [{
        'Order': cmdb_detail.get('order', ''),
        'Key': cmdb_detail.get('key', ''),
        'Value': cmdb_detail.get('value', ''),
        'Label': cmdb_detail.get('label', '')
    } for cmdb_detail in cmdb_details]