code: void setPluginPassiveScannerAlertThreshold(int pluginId, Plugin.AlertThreshold alertThreshold) {
          PluginPassiveScanner scanner = getPluginPassiveScanner(pluginId);
          if (scanner != null) {
              scanner.setAlertThreshold(alertThreshold);
              scanner.setEnabled(!Plugin.AlertThreshold.OFF.equals(alertThreshold));
              scanner.save();
          }
      }
docs: Sets the value of {@code alertThreshold} of the plug-in passive scanner with the given {@code pluginId}.
  <p>
  If the {@code alertThreshold} is {@code OFF} the scanner is also disabled. The call to this method has no effect if no
  scanner with the given {@code pluginId} exist.
  
  @param pluginId the ID of the plug-in passive scanner
  @param alertThreshold the alert threshold that will be set
  @see org.parosproxy.paros.core.scanner.Plugin.AlertThreshold