cookbook 'auditbeat', '~> 0.0.2'
auditbeat (1) Versions 0.0.2 Follow0
Installs/Configures Elastic Auditbeat
cookbook 'auditbeat', '~> 0.0.2', :supermarket
knife supermarket install auditbeat
knife supermarket download auditbeat
auditbeat Cookbook
This is a Chef cookbook to manage auditbeat.
For Production environment, always prefer the most recent release.
Most Recent Release
cookbook 'auditbeat', '~> 0.0.2'
From Git
cookbook 'auditbeat', github: 'vkhatri/chef-auditbeat', tag: 'v0.0.2'
Repository
https://github.com/vkhatri/chef-auditbeat
Supported OS
- CentOS 6, 7
- Ubuntu 14
- Amazon Linux
Supported Chef
Chef 12 (last tested on 12.21.3)
Chef 13 (last tested on 13.2.20)
Major Changes
Cookbook Dependency
- windows
- apt
- yum
- yum-plugin-versionlock
Recipes
auditbeat::attributes
- cookbook derived default attributesauditbeat::config
- configure auditbeatauditbeat::default
- default recipe (use it for run_list)auditbeat::install_package
- install auditbeat package for linux platformauditbeat::install_package_preview
- install auditbeat preview (alpha/beta) package for linux platformauditbeat::install_windows
- install auditbeat for windows platform
Core Attributes
default['auditbeat']['version']
(default:6.0.0-beta1
): auditbeat versiondefault['auditbeat']['ignore_version']
(default:false
): ignore auditbeat version forpackage
installdefault['auditbeat']['setup_repo']
(default:true
): setupapt
oryum
repository if set totrue
default['auditbeat']['release']
(default:1
): auditbeat release for yum packagedefault['auditbeat']['package_url']
(default:auto
): package url for windows installationdefault['auditbeat']['conf_dir']
(default:/etc/auditbeat
): auditbeat yaml configuration file directorydefault['auditbeat']['conf_file']
(default:/etc/auditbeat/auditbeat.yml
): auditbeat configuration filedefault['auditbeat']['notify_restart']
(default:true
): whether to restart auditbeat service on configuration file changedefault['auditbeat']['disable_service']
(default:false
): whether to stop and disable auditbeat service
Configuration File auditbeat.yml Attributes
default['auditbeat']['config']['auditbeat.modules']
(default:[]
): auditbeat modulesdefault['auditbeat']['config']['auditbeat']['registry_file']
(default:/var/lib/auditbeat/registry
): auditbeat registry locationdefault['auditbeat']['config']['output']
(default:{}
): configure elasticsearch. logstash, file etc. output
For more attribute info, visit below links:
https://github.com/elastic/beats/blob/master/auditbeat/auditbeat.reference.yml
https://www.elastic.co/guide/en/beats/auditbeat/current/auditbeat-overview.html
auditbeat YUM/APT Repository Attributes
default['auditbeat']['yum']['description']
(default: ``): beats yum reporitory attributedefault['auditbeat']['yum']['gpgcheck']
(default:true
): beats yum reporitory attributedefault['auditbeat']['yum']['enabled']
(default:true
): beats yum reporitory attributedefault['auditbeat']['yum']['baseurl']
(default:https://packages.elastic.co/beats/yum/el/$basearch
): beats yum reporitory attributedefault['auditbeat']['yum']['gpgkey']
(default:https://packages.elasticsearch.org/GPG-KEY-elasticsearch
): beats yum reporitory attributedefault['auditbeat']['yum']['metadata_expire']
(default:3h
): beats yum reporitory attributedefault['auditbeat']['yum']['action']
(default::create
): beats yum reporitory attributedefault['auditbeat']['apt']['description']
(default:calculated
): beats apt reporitory attributedefault['auditbeat']['apt']['components']
(default:['stable', 'main']
): beats apt reporitory attributedefault['auditbeat']['apt']['uri']
(default:https://packages.elastic.co/beats/apt
): beats apt reporitory attributedefault['auditbeat']['apt']['key']
(default:http://packages.elasticsearch.org/GPG-KEY-elasticsearch
): beats apt reporitory attributedefault['auditbeat']['apt']['action']
(default::add
): auditbeat apt reporitory attribute
Other Attributes
default['auditbeat']['service']['name']
(default:auditbeat
): auditbeat service namedefault['auditbeat']['service']['retries']
(default::0
): auditbeat service resource attributedefault['auditbeat']['service']['retry_delay']
(default::2
): auditbeat service resource attribute
Contributing
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests (
rake & rake knife
), ensuring they all pass - Write new resource/attribute description to
README.md
- Write description about changes to PR
- Submit a Pull Request using Github
Copyright & License
Authors:: Virender Khatri and Contributors
<pre>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
</pre>
Dependent cookbooks
windows >= 0.0.0 |
apt >= 0.0.0 |
yum >= 5.0.1 |
yum-plugin-versionlock >= 0.1.2 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
auditbeat CHANGELOG
This file is used to list changes made in each version of the filebeat cookbook.
0.0.2
- Virender Khatri - first commit
0.0.1
- Unreleased
Collaborator Number Metric
0.0.2 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.0.2 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.0.2 failed this metric
FC109: Use platform-specific package resources instead of provider property: auditbeat/recipes/install_package_preview.rb:39
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.0.2 passed this metric
Testing File Metric
0.0.2 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.0.2 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 include a tag that matches this cookbook version number
0.0.2 failed this metric
0.0.2 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.0.2 failed this metric
FC109: Use platform-specific package resources instead of provider property: auditbeat/recipes/install_package_preview.rb:39
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.0.2 passed this metric
Testing File Metric
0.0.2 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.0.2 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 include a tag that matches this cookbook version number
0.0.2 failed this metric
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.0.2 passed this metric
Testing File Metric
0.0.2 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.0.2 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 include a tag that matches this cookbook version number
0.0.2 failed this metric
0.0.2 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 include a tag that matches this cookbook version number