Git Product home page Git Product logo

audit-wrapper-example's Introduction

audit-wrapper-example

An example of how you might use a single audit cookbook wrapper to apply to your entire fleet, regardless of operating system. This cookbook depends on the Audit Cookbook

NOTE

The cookbook only has examples for RHEL 6 and 7, but has the scaffolding in place for Ubuntu and Windows. You will need to fill these out as appropriate for your infrastructure.

This cookbook assumes that you already have a Chef Server, and Automate Server and that node data is being sent from Chef Server to Automate.

TODO: Validate that this next line is still needed

On your Chef Server, edit /etc/opscode/chef-server.rb and add the following line:

profiles['root_url'] = 'https://my-automate-server.mycompany.com'

Then run chef-server-ctl reconfigure

On your Automate server, under the Compliance -> Profile Store tab, you will need to 'Get' any profiles you are interested in using. Take note of the Identifier column, as you will need to modify the profiles attribute to match. Ex:

node.default['audit']['profiles'] = [{
  name: 'Human readable name',
  compliance: 'value_from/identifier_column'
}]

Next, upload this cookbook to your Chef Server with berks install && berks upload

This will upload the latest audit cookbook to your Chef Server. If you have environments consuming an older version without pinning, you may encounter issues.

Finally, add this cookbook to Roles or run lists of systems you are interested in auditing.

audit-wrapper-example's People

Contributors

smacfarlane avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.