cookbook 'winlogbeats', '= 0.0.1'
winlogbeats (2) Versions 0.0.1 Follow0
Installs Winlogbeat Agent
cookbook 'winlogbeats', '= 0.0.1', :supermarket
knife supermarket install winlogbeats
knife supermarket download winlogbeats
chef-winlogbeats
WinLogBeats
This cookbook:
- Installs the WinLogBeats Agent
- Reads the config file on disk to configure the client. An example can be found in recipes/default.rb
It does not:
- Configure the agent
Requirements
Chef
- Chef 12.5+
Platform
- Windows
Custom Resource
winlogbeats_agent '5' do
logbeat_config 'C:/ProgramData/winlogbeat/winlogbeat.yml'
end
Change the value of logbeat_config
to the file you put on disk.
Recipes
default
Installs the client & puts a default config on disk pointing to a local elasticsearch host
Dependent cookbooks
windows >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
winlogbeats Changelog
0.0.1
Initial relase
Collaborator Number Metric
0.0.1 passed this metric
Contributing File Metric
0.0.1 passed this metric
Cookstyle Metric
0.0.1 failed this metric
Chef/Deprecations/ResourceUsesOnlyResourceName: Starting with Chef Infra Client 16, using `resource_name` without also using `provides` will result in resource failures. Make sure to use both `resource_name` and `provides` to change the name of the resource. You can also omit `resource_name` entirely if the value set matches the name Chef Infra Client automatically assigns based on COOKBOOKNAME_FILENAME. (https://docs.chef.io/workstation/cookstyle/chef_deprecations_resourceusesonlyresourcename): winlogbeats/resources/logbeats_agent.rb: 18
Chef/Deprecations/ResourceWithoutUnifiedTrue: Set `unified_mode true` in Chef Infra Client 15.3+ custom resources to ensure they work correctly in Chef Infra Client 18 (April 2022) when Unified Mode becomes the default. (https://docs.chef.io/workstation/cookstyle/chef_deprecations_resourcewithoutunifiedtrue): winlogbeats/resources/logbeats_agent.rb: 1
Chef/Modernize/PowerShellGuardInterpreter: PowerShell is already set as the default guard interpreter for `powershell_script` and `batch` resources in Chef Infra Client 13 and later and does not need to be specified. (https://docs.chef.io/workstation/cookstyle/chef_modernize_powershellguardinterpreter): winlogbeats/resources/logbeats_agent.rb: 51
Chef/Modernize/WindowsZipfileUsage: Use the archive_file resource built into Chef Infra Client 15+ instead of the windows_zipfile from the Windows cookbook (https://docs.chef.io/workstation/cookstyle/chef_modernize_windowszipfileusage): winlogbeats/resources/logbeats_agent.rb: 29
Run with Cookstyle Version 7.32.1 with cops Chef/Deprecations,Chef/Correctness,Chef/Sharing,Chef/RedundantCode,Chef/Modernize,Chef/Security,InSpec/Deprecations
No Binaries Metric
0.0.1 passed this metric
Testing File Metric
0.0.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.0.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 include a tag that matches this cookbook version number
0.0.1 passed this metric
0.0.1 passed this metric
Cookstyle Metric
0.0.1 failed this metric
Chef/Deprecations/ResourceUsesOnlyResourceName: Starting with Chef Infra Client 16, using `resource_name` without also using `provides` will result in resource failures. Make sure to use both `resource_name` and `provides` to change the name of the resource. You can also omit `resource_name` entirely if the value set matches the name Chef Infra Client automatically assigns based on COOKBOOKNAME_FILENAME. (https://docs.chef.io/workstation/cookstyle/chef_deprecations_resourceusesonlyresourcename): winlogbeats/resources/logbeats_agent.rb: 18
Chef/Deprecations/ResourceWithoutUnifiedTrue: Set `unified_mode true` in Chef Infra Client 15.3+ custom resources to ensure they work correctly in Chef Infra Client 18 (April 2022) when Unified Mode becomes the default. (https://docs.chef.io/workstation/cookstyle/chef_deprecations_resourcewithoutunifiedtrue): winlogbeats/resources/logbeats_agent.rb: 1
Chef/Modernize/PowerShellGuardInterpreter: PowerShell is already set as the default guard interpreter for `powershell_script` and `batch` resources in Chef Infra Client 13 and later and does not need to be specified. (https://docs.chef.io/workstation/cookstyle/chef_modernize_powershellguardinterpreter): winlogbeats/resources/logbeats_agent.rb: 51
Chef/Modernize/WindowsZipfileUsage: Use the archive_file resource built into Chef Infra Client 15+ instead of the windows_zipfile from the Windows cookbook (https://docs.chef.io/workstation/cookstyle/chef_modernize_windowszipfileusage): winlogbeats/resources/logbeats_agent.rb: 29
Run with Cookstyle Version 7.32.1 with cops Chef/Deprecations,Chef/Correctness,Chef/Sharing,Chef/RedundantCode,Chef/Modernize,Chef/Security,InSpec/Deprecations
No Binaries Metric
0.0.1 passed this metric
Testing File Metric
0.0.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.0.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 include a tag that matches this cookbook version number
0.0.1 failed this metric
Chef/Deprecations/ResourceWithoutUnifiedTrue: Set `unified_mode true` in Chef Infra Client 15.3+ custom resources to ensure they work correctly in Chef Infra Client 18 (April 2022) when Unified Mode becomes the default. (https://docs.chef.io/workstation/cookstyle/chef_deprecations_resourcewithoutunifiedtrue): winlogbeats/resources/logbeats_agent.rb: 1
Chef/Modernize/PowerShellGuardInterpreter: PowerShell is already set as the default guard interpreter for `powershell_script` and `batch` resources in Chef Infra Client 13 and later and does not need to be specified. (https://docs.chef.io/workstation/cookstyle/chef_modernize_powershellguardinterpreter): winlogbeats/resources/logbeats_agent.rb: 51
Chef/Modernize/WindowsZipfileUsage: Use the archive_file resource built into Chef Infra Client 15+ instead of the windows_zipfile from the Windows cookbook (https://docs.chef.io/workstation/cookstyle/chef_modernize_windowszipfileusage): winlogbeats/resources/logbeats_agent.rb: 29
Run with Cookstyle Version 7.32.1 with cops Chef/Deprecations,Chef/Correctness,Chef/Sharing,Chef/RedundantCode,Chef/Modernize,Chef/Security,InSpec/Deprecations
0.0.1 passed this metric
Testing File Metric
0.0.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.0.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 include a tag that matches this cookbook version number
0.0.1 failed this metric
0.0.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 include a tag that matches this cookbook version number