cookbook 'chef_wazuh', '= 0.1.1'
chef_wazuh (10) Versions 0.1.1 Follow0
Installs and configures Wazuh on Linux.
cookbook 'chef_wazuh', '= 0.1.1', :supermarket
knife supermarket install chef_wazuh
knife supermarket download chef_wazuh
chef_wazuh
Installs and configures Wazuh on Linux.
OS Support:
- Ubuntu >= 16.04
- Debian >= 7.0
- RedHat >= 7.0
- CentOS >= 7.0
Usage
Server:
Coming soon...
Agent:
chef_wazuh::agent
Just include chef_wazuh::agent
in your node's run_list
:
{ "name":"my_node", "run_list": [ "recipe[chef_wazuh::agent]" ] }
This will install the Wazuh agent and manage it's configuration going forward.
Attributes
Note: see attributes/
for all attributes.
Wazuh Server:
The Wazuh server the agent should connect to.
Default Value:
nil
Ruby usage:
node['chef_wazuh']['agent']['server'] = "wazuh.domain.tld"
JSON usage:
{ "chef_wazuh": { "agent": { "server": "wazuh.domain.tld" } } }
OSSEC Configuration File:
The OSSEC configuration file location.
Default Value:
/var/ossec/etc/ossec.conf
Ruby usage:
node['chef_wazuh']['agent']['ossec_conf_path'] = "/opt/ossec/etc/ossec.conf"
JSON usage:
{ "chef_wazuh": { "agent": { "ossec_conf_path": "/opt/ossec/etc/ossec.conf" } } }
OSSEC Server Address:
The address of the OSSEC server.
Default Value:
nil
Ruby usage:
node['chef_wazuh']['agent']['ossec_config']['client']['server']['address'] = "wazuh.domain.tld"
JSON usage:
{ "chef_wazuh": { "agent": { "ossec_config": { "client": { "server": { "address": "wazuh.domain.tld" } } } } } }
OSSEC Port:
The OSSEC port.
Default Value:
1514
Ruby usage:
node['chef_wazuh']['agent']['ossec_config']['client']['server']['port'] = 1515
JSON usage:
{ "chef_wazuh": { "agent": { "ossec_config": { "client": { "server": { "port": 1515 } } } } } }
OSSEC Protocol:
The OSSEC protocol.
Needs to be "tcp" or "udp", default value is "udp" if omitted.
Default Value:
udp
Ruby usage:
node['chef_wazuh']['agent']['ossec_config']['client']['server']['protocol'] = "tcp"
JSON usage:
{ "chef_wazuh": { "agent": { "ossec_config": { "client": { "server": { "protocol": "tcp" } } } } } }
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.1.1 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.1.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.1.1 passed this metric
License Metric
0.1.1 passed this metric
No Binaries Metric
0.1.1 passed this metric
Testing File Metric
0.1.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.1 passed this metric
0.1.1 failed this metric
0.1.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.1.1 passed this metric
License Metric
0.1.1 passed this metric
No Binaries Metric
0.1.1 passed this metric
Testing File Metric
0.1.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.1 passed this metric
0.1.1 passed this metric
0.1.1 passed this metric
No Binaries Metric
0.1.1 passed this metric
Testing File Metric
0.1.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.1 passed this metric
0.1.1 passed this metric
0.1.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.1 passed this metric
0.1.1 passed this metric