New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document new `chef-server-compliance` collector in Readme #190

Closed
chris-rock opened this Issue Jan 4, 2017 · 6 comments

Comments

Projects
None yet
4 participants
@chris-rock
Collaborator

chris-rock commented Jan 4, 2017

No description provided.

@jerrylws

This comment has been minimized.

jerrylws commented Jan 23, 2017

Hi Chris, the collector type "chef-server" seems to be no longer valid?
If that's true, this configuration part in the readme file could be misleading.

"audit": {
  "collector": "chef-server",
  "inspec_version": "1.2.1",
  "profiles": [
    # profile from Chef Compliance
    {
      "name": "linux",
      "compliance": "base/linux"
    },
......

Prolly, it's defined here in the attributes -

# controls where inspec scan reports are sent
# possible values: 'chef-server-visibility', 'chef-server-compliance', 'chef-compliance', 'chef-visibility', 'json-file'
# notes: 'chef-visibility' requires inspec version 0.27.1 or greater
default['audit']['collector'] = 'chef-server-compliance'
@jerrylws

This comment has been minimized.

jerrylws commented Jan 23, 2017

Sorry about the big fonts above for the comments... not sure how they got there.

@spuder

This comment has been minimized.

spuder commented Jan 23, 2017

+1

jerrylws the markdown interpreter is converting # to large type. Wrap everything in code fences

@chris-rock

This comment has been minimized.

Collaborator

chris-rock commented Jan 24, 2017

@jerrylws

This comment has been minimized.

jerrylws commented Jan 25, 2017

Thanks Chris.
That also works by taking the default value of the collector.
Profiles have been defined like below in attributes.

default['audit']['profiles'] =
[
# profile from Chef Compliance
{
"name" => "linux",
"compliance" => "base/linux"
},
{
"name" => "ssh",
"compliance" => "base/ssh"
}
]

@chris-rock

This comment has been minimized.

Collaborator

chris-rock commented Apr 26, 2017

@chris-rock chris-rock closed this Apr 26, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment