Chef Ideas

We believe that the best way to build software is to do it in close collaboration with the people who use it. We invite you to submit your ideas using the form below. Please be sure to include the problem for which you are solving and the benefits of implementing the idea.

We do our best to implement as many Ideas as we can. Our Product team will evaluate all submitted ideas in a timely manner and will disposition each into one of the following categories: will integrate into the product roadmap, further research is needed, unlikely to implement.

Thanks for collaborating with us!

Chef Inspec Intervals Per Profile

I'm still fairly new with Chef and I hope what I'm saying is accurate. Currently When using a wrapper cookbook to call Inspec, there is a single attribute default['audit']['interval']['time'] to set how frequently it should run. I have multiple profiles and some profiles I want to run more often than others. Unfortunately I have no found a way to set the internal per-profile and I think it would be helpful in case I want to run a CPU intensive task less frequently and a security scan more frequently.

A change could look like this. Currently to set profiles it may look like this:

default['audit']['reporter'] = 'chef-server-automate'

default['audit']['fetcher'] = 'chef-server'

default['audit']['profiles']['inspec_test'] = {

'compliance': 'automate/inspec_test',

}

default['audit']['profiles']['inspec_test2'] = {

'compliance': 'automate/inspec_test2',

}
default['audit']['interval']['enabled'] = true

default['audit']['interval']['time'] = 720

I'd like to see it look more like this:

default['audit']['reporter'] = 'chef-server-automate'

default['audit']['fetcher'] = 'chef-server'

default['audit']['profiles']['inspec_test'] = {

'compliance': 'automate/inspec_test',

'interval': 720

}

default['audit']['profiles']['inspec_test2'] = {

'compliance': 'automate/inspec_test2',

'interval': 1440

}
default['audit']['interval']['enabled'] = true


  • Rich
  • Nov 12 2020
  • Under Consideration
  • Attach files