#include "ntop_includes.h"

class CountriesContactsAlert : public HostAlert {
 private:
  u_int8_t countries_contacts, countries_contacts_threshold;

  ndpi_serializer* getAlertJSON(ndpi_serializer* serializer);

 public:
  CountriesContactsAlert(HostCheck* c, Host* f, risk_percentage cli_pctg,
                         u_int8_t _countries_contacts,
                         u_int8_t _countries_contacts_threshold);
  ~CountriesContactsAlert() {}

  static HostAlertType getClassType() {
    return {host_alert_countries_contacts, alert_category_security};
  }
  HostAlertType getAlertType() const { return getClassType(); }
  u_int8_t getAlertScore() const { return SCORE_LEVEL_NOTICE; };
};