chef-inframetadatadevopschef-recipecookbook

how to find the author who uploaded cookbook to chef server?


how to find the author who uploaded the cookbook to the chef server? Also how to find out the versions mapping to the author of the cookbook upload in chef-server?


Solution

  • How to find the author who uploaded the cookbook to the chef server?

    It should not be possible to get users who uploaded cookbooks from Chef Server dashboard or even with API. However you can analyze logs. Specifically every action performed over Chef Server is logged in /var/log/chef/server.log. If you identify the log pattern for cookbook upload you can also setup a notification system using ELK stack.

    Also how to find out the versions mapping to the author of the cookbook upload in chef-server?

    Also here. It can be done analyzing results of specific search performed on logs.