Defined Type: wazuh::integration

Defined in:
manifests/integration.pp

Overview

Copyright © 2015, Wazuh Inc. Define for a specific ossec integration

Parameters:

  • hook_url (Any) (defaults to: '')
  • api_key (Any) (defaults to: '')
  • in_rule_id (Any) (defaults to: '')
  • in_level (Any) (defaults to: 7)
  • in_group (Any) (defaults to: '')
  • in_location (Any) (defaults to: '')
  • in_format (Any) (defaults to: '')
  • in_max_log (Any) (defaults to: '')


3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'manifests/integration.pp', line 3

define wazuh::integration (
  $hook_url = '',
  $api_key = '',
  $in_rule_id = '',
  $in_level = 7,
  $in_group = '',
  $in_location = '',
  $in_format = '',
  $in_max_log = '',
) {
  require wazuh::params_manager

  concat::fragment { $name:
    target  => 'manager_ossec.conf',
    order   => 60,
    content => template('wazuh/fragments/_integration.erb'),
  }
}