Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

auditbeat (1) Versions 0.0.2

Installs/Configures Elastic Auditbeat

Policyfile
Berkshelf
Knife
cookbook 'auditbeat', '~> 0.0.2', :supermarket
cookbook 'auditbeat', '~> 0.0.2'
knife supermarket install auditbeat
knife supermarket download auditbeat
README
Dependencies
Changelog
Quality 17%

auditbeat Cookbook

Cookbook Build Status

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 attributes

  • auditbeat::config - configure auditbeat

  • auditbeat::default - default recipe (use it for run_list)

  • auditbeat::install_package - install auditbeat package for linux platform

  • auditbeat::install_package_preview - install auditbeat preview (alpha/beta) package for linux platform

  • auditbeat::install_windows - install auditbeat for windows platform

Core Attributes

  • default['auditbeat']['version'] (default: 6.0.0-beta1): auditbeat version

  • default['auditbeat']['ignore_version'] (default: false): ignore auditbeat version for package install

  • default['auditbeat']['setup_repo'] (default: true): setup apt or yum repository if set to true

  • default['auditbeat']['release'] (default: 1): auditbeat release for yum package

  • default['auditbeat']['package_url'] (default: auto): package url for windows installation

  • default['auditbeat']['conf_dir'] (default: /etc/auditbeat): auditbeat yaml configuration file directory

  • default['auditbeat']['conf_file'] (default: /etc/auditbeat/auditbeat.yml): auditbeat configuration file

  • default['auditbeat']['notify_restart'] (default: true): whether to restart auditbeat service on configuration file change

  • default['auditbeat']['disable_service'] (default: false): whether to stop and disable auditbeat service

Configuration File auditbeat.yml Attributes

  • default['auditbeat']['config']['auditbeat.modules'] (default: []): auditbeat modules

  • default['auditbeat']['config']['auditbeat']['registry_file'] (default: /var/lib/auditbeat/registry): auditbeat registry location

  • default['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 attribute

  • default['auditbeat']['yum']['gpgcheck'] (default: true): beats yum reporitory attribute

  • default['auditbeat']['yum']['enabled'] (default: true): beats yum reporitory attribute

  • default['auditbeat']['yum']['baseurl'] (default: https://packages.elastic.co/beats/yum/el/$basearch): beats yum reporitory attribute

  • default['auditbeat']['yum']['gpgkey'] (default: https://packages.elasticsearch.org/GPG-KEY-elasticsearch): beats yum reporitory attribute

  • default['auditbeat']['yum']['metadata_expire'] (default: 3h): beats yum reporitory attribute

  • default['auditbeat']['yum']['action'] (default: :create): beats yum reporitory attribute

  • default['auditbeat']['apt']['description'] (default: calculated): beats apt reporitory attribute

  • default['auditbeat']['apt']['components'] (default: ['stable', 'main']): beats apt reporitory attribute

  • default['auditbeat']['apt']['uri'] (default: https://packages.elastic.co/beats/apt): beats apt reporitory attribute

  • default['auditbeat']['apt']['key'] (default: http://packages.elasticsearch.org/GPG-KEY-elasticsearch): beats apt reporitory attribute

  • default['auditbeat']['apt']['action'] (default: :add): auditbeat apt reporitory attribute

Other Attributes

  • default['auditbeat']['service']['name'] (default: auditbeat): auditbeat service name

  • default['auditbeat']['service']['retries'] (default: :0): auditbeat service resource attribute

  • default['auditbeat']['service']['retry_delay'] (default: :2): auditbeat service resource attribute

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests (rake & rake knife), ensuring they all pass
  6. Write new resource/attribute description to README.md
  7. Write description about changes to PR
  8. Submit a Pull Request using Github

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