def get_source_detail(sources):
    """
    Iterate over source details from response and prepare RiskSense context.

    :param sources: source details from response.
    :return: List of source details which includes required fields from resp.
    """
    return [{
        'Name': source.get('name', ''),
        'UuID': source.get('uuid', ''),
        'ScannerType': source.get('scannerType', '')
    } for source in sources]