autoban-8.x-1.x-dev/config/schema/autoban.schema.yml

config/schema/autoban.schema.yml
autoban.autoban.*:
  type: mapping
  label: 'Autoban'
  mapping:
    id:
      type: string
      label: 'Autoban rule id'
    uuid:
      type: string
      label: 'UUID'
    type:
      type: string
      label: 'Type of log message, for example page not found.'
    message:
      type: string
      label: 'Pattern of log message.'
    referer:
      type: string
      label: 'Pattern of URL of referring page.'
    threshold:
      type: int
      label: 'The threshold number of the log entries.'
    window:
      type: string
      label: 'Relative time window for log entries.'
    provider:
      type: string
      label: 'IP ban provider.'
    user_type:
      type: int
      label: 'User type: anonymous (strict), authenticated (strict) or any.'
    rule_type:
      type: int
      label: 'Rule type: manual or authomatic.'

autoban.settings:
  type: config_object
  label: 'Autoban Settings'
  mapping:
    autoban_thresholds:
      type: string
      label: 'Thresholds set for Autoban rules threshold field.'
    autoban_windows:
      type: string
      label: 'Relative time windows for log entries.'
    autoban_window_default:
      type: string
      label: 'The default relative time window.'
    autoban_query_mode:
      type: string
      label: 'Either LIKE or REGEXP depending on how you want your rules to behave.'
    autoban_use_wildcards:
      type: boolean
      label: 'If FALSE, Autoban will automatically add wildcards to the end of message patterns.'
    autoban_whitelist:
      type: string
      label: 'A list of IP addresses that should never be banned.'
    autoban_dblog_type_exclude:
      type: string
      label: 'Excluded dblog types from analysis.'
    autoban_threshold_analyze:
      type: integer
      label: 'Threshold for analysis.'
    autoban_threshold_last:
      type: integer
      label: 'The last saved rule threshold for analysis.'
    autoban_window_last:
      type: string
      label: 'The last saved rule time window.'
    autoban_provider_last:
      type: string
      label: 'The last saved rule provider.'
    autoban_cron:
      type: boolean
      label: 'Enable processing of rules of cron.'
    force_mode:
      type: boolean
      label: 'Enable processing of rules for every request.'
    autoban_debug:
      type: boolean
      label: 'Enable debug mode.'

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc