def get_ticket_detail_hr(tickets):
    """
    Iterate over tickets list for human readable in 'risksense-get-host-detail' and 'risksense-get-app-detail' commands.
    if only one record found it will add blank dictionary to list to display horizontally in table.

    :param tickets: ticket details from the response.
    :return: List of ticket details which include required fields from resp.
    """
    ticket_list = [{
        'Ticket Number': ticket.get('ticketNumber', ''),
        'Ticket Status': ticket.get('ticketStatus', ''),
        'Deep Link': ticket.get('deepLink', ''),
        'Type': ticket.get('type', ''),
        'Connector Name': ticket.get('connectorName', ''),
        'Detailed Status': ticket.get('detailedStatus', '')
    } for ticket in tickets]

    # To present human readable horizontally
    if len(tickets) == 1:
        ticket_list.append({})

    return ticket_list