@staticmethod
def _alert_summary(alert_row):
    """Return summarized string of alert properties."""
    if 'TI Risk' in alert_row:
        return (f'{alert_row.StartTimeUtc} - {alert_row.AlertName}' +
            f' - ({alert_row.CompromisedEntity}) ' +
            f' - [id:{alert_row.SystemAlertId}]' +
            f" - TI Risk: {alert_row['TI Risk']}")
    return (f'{alert_row.StartTimeUtc} - {alert_row.AlertName}' +
        f' - ({alert_row.CompromisedEntity}) ' +
        f' - [id:{alert_row.SystemAlertId}]')
