code: @Override
      public void addAttack(Attack attack) {
          logger.warn("Security attack " + attack.getDetectionPoint().getLabel() + " triggered by user: " + attack.getUser().getUsername());
  
          String json = gson.toJson(attack);
  
          try {
              client.execute(
                      new UpdateSet.Builder(
                              attacks, new SetUpdate().add(json)
                      ).build()
              );
          } catch (ExecutionException e) {
              if (logger != null) {
                  logger.error("Adding attack to RiakDB failed", e);
              }
              e.printStackTrace();
          } catch (InterruptedException e) {
              if (logger != null) {
                  logger.error("Adding attack to RiakDB was interrupted", e);
              }
              e.printStackTrace();
          }
  
          super.notifyListeners(attack);
      }
docs: {@inheritDoc}