def make_analysis_status_request(analysis_id, analysis_type):
    analysis_endpoint = ('endpoint-analyses/' if (analysis_type == 'Endpoint') else 'analyses/')
    result_url = f'{BASE_URL}/{analysis_endpoint}{analysis_id}'
    return SESSION.get(result_url, verify=USE_SSL)
def make_analysis_status_request(analysis_id, analysis_type):
    analysis_endpoint = ('endpoint-analyses/' if (analysis_type == 'Endpoint') else 'analyses/')
    result_url = f'{BASE_URL}/{analysis_endpoint}{analysis_id}'
    return SESSION.get(result_url, verify=USE_SSL)