audit icon indicating copy to clipboard operation
audit copied to clipboard

Profile Fetcher section of this doc is confusing

Open SteveDelFante opened this issue 7 years ago • 3 comments

I am confused by this.


Fetch profiles from Chef Automate/Chef Compliance via Chef Server

To enable reporting to Chef Automate with profiles from Chef Compliance **or** Chef Automate, you need to have Chef Server integrated with Chef Compliance or Chef Automate. You can then set the fetcher attribute to 'chef-server'. This will allow the audit cookbook to fetch profiles stored in Chef Compliance. For example:

"audit": {
  "fetcher": "chef-server",
  "reporter": "chef-server-automate",
  "profiles": [
    {
      "name": "ssh",
      "compliance": "base/ssh"
    }
  ]
}```


 ```To enable reporting to Chef Automate with profiles from Chef Compliance or Chef Automate```

then it says ` This will allow the audit cookbook to fetch profiles stored in Chef Compliance.`
how does ` "fetcher": "chef-server"` perform an `or` ?

SteveDelFante avatar Jun 16 '17 16:06 SteveDelFante

@SteveDelFante I think the documentation has been updated. Can you see whether it's clear to you now?

iennae avatar Dec 08 '17 05:12 iennae

I think it's clear except for this part....

"This will allow the audit cookbook to fetch profiles stored in Chef Compliance."

For the above sentence to be true, I think the fetcher has to be "fetcher": "chef-server-compliance",


Fetch profiles from Chef Automate/Chef Compliance via Chef Server

To enable reporting to Chef Automate with profiles from Chef Compliance or Chef Automate, you need to have Chef Server integrated with Chef Compliance or Chef Automate. You can then set the fetcher attribute to 'chef-server'. This will allow the audit cookbook to fetch profiles stored in Chef Compliance. For example:

"audit": {
  "fetcher": "chef-server",
  "reporter": "chef-server-automate",
  "profiles": [
    {
      "name": "ssh",
      "compliance": "base/ssh"
    }
  ]
}```

SteveDelFante avatar Dec 08 '17 18:12 SteveDelFante

...or you could change the sentence to this ""This will allow the audit cookbook to fetch profiles stored in Chef Automate." and then set the fetcher to "fetcher": "chef-server-automate",

SteveDelFante avatar Dec 08 '17 18:12 SteveDelFante